bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command


From: Eli Zaretskii
Subject: bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command
Date: Mon, 07 Oct 2019 08:15:02 +0300
User-agent: K-9 Mail for Android

On October 7, 2019 6:35:22 AM GMT+03:00, Lars Ingebrigtsen <larsi@gnus.org> 
wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > He was using "M-x gud-gdb", which works slightly differently.
> 
> I tried with
> 
> `M-x gdb --fullname src/emacs RET'
> 
> and
> 
> `M-x gdb --fullname RET'
> file src/emacs
> 
> and...  The results aren't identical, but I'm not quite sure what's
> meant by "then src file wont open".  I don't get a source file in any
> case anywhere.

I meant to invoke "M-x gud-gdb" literally.  It's a different command, and the 
difference is not just in switches passed to GDB.

If the source file is not displayed immediately, try starting the program, with 
the "start" command typed at the GDB prompt.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]