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

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

Re: Executing Emacs commands when a gdb breakpoint is hit


From: Eli Zaretskii
Subject: Re: Executing Emacs commands when a gdb breakpoint is hit
Date: Tue, 21 Jan 2020 20:39:44 +0200

> From: Skip Montanaro <skip.montanaro@gmail.com>
> Date: Tue, 21 Jan 2020 12:02:49 -0600
> 
> On a more basic topic, I actually seem unable to cleanly terminate the
> series of commands to execute upon hitting a breakpoint. For example, this
> is what I see now (within an Emacs *gud-python* buffer):
> 
> (gdb) comm 2
> Type commands for breakpoint(s) 2, one per line.
> End with a line saying just "end".
> >p c->c_filename
> >p c->u->u_lineno
> >end
> >
> >end
> >  C-c C-cQuit
> 
> That is, I do what it says, end with a line saying just "end", but it
> doesn't terminate. After trying that a second time, I gave up and I broke
> back to the (gdb) prompt with C-c C-c. Seems like a bug to me. I'm using
> 25.2.2 on Ubuntu 18.04.

Upgrade to a newer Emacs.  This problem was fixed in Emacs 26.2.  A
workaround is to use "commands" instead of its short form "comm".



reply via email to

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