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: Lars Ingebrigtsen
Subject: bug#9441: in GUD, gdb mode, src buffer wont show with gdb's file command
Date: Mon, 07 Oct 2019 07:18:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Sorry, I just typed wrong up here -- I tried the `M-x gud-gdb' command
in the examples.

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

Yes, when I say "start", Emacs pops up the emacs.c buffer.  Nice.  :-)

But this also works when I start without a file name, and then say "file
src/emacs" after gdb has started.

So I guess this bug has been fixed?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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