GNU bug report logs -
#4375
23.1.50; can't kill killed gud buffer
Previous Next
Full log
Message #10 received at 4375 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Maybe associated with the other gdb error I have just reported.
> If I run gud with --annotate=3
> I get lots of pre-prompt and post-prompt output
> (perhaps this is to be expected), I kill the process with a signals KILL
> - off the pulldown menu) and if I then attempt to kill the *gud ...*
> buffer I get the message
>
> gdb-input: Buffer *gud-ipsa-scripted* has no process
>
> and the buffer is not killed :-(
That does seem to be a bug, I have a look at it. However, Emacs 23.1.50
should run GDB using GDB/MI (gdb -i=mi) not annotations (gdb --annotate=3)
so you shouldn't see any pre-prompt and post-prompt output. I don't know
if you've customized gud-gdb-command-name or if your're manually editing
in the mini-buffer but you need to start with something like:
Run gdb (like this): gdb -i=mi yourprog
and you shouldn't need to kill the debugger. Note that to stop the inferior
(program being debugged) you use C-c C-c (comint-interrupt-subjob) which
is signals BREAK on the pulldown menu.
> ...
> In GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
> of 2009-09-08 on robert-laptop
--
Nick http://www.inet.net.nz/~nickrob
This bug report was last modified 15 years and 339 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.