all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GDB doesn't respond BREAK etc commands
@ 2013-04-26 13:27 thorn101
  2013-04-26 15:44 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: thorn101 @ 2013-04-26 13:27 UTC (permalink / raw)
  To: Help-gnu-emacs

Hi,

While using gdb under emacs C-c C-c (BREAK) or C-c C-z (STOP) don't seem to
work.
The application that I'm debugging keeps running, only thing that partially
works is using KILL from the menu, but then I can't get the gud prompt back.

When using any of the commands (other than KILL), they just get echoed back
to the gud.

So every time I have to stop the debugged application from running I'm
forced to kill the entire gdb buffer and restart it again with /M-x gdb/.

I'm using emacs 24.3 and gdb 7.5 and issuing the /M-x gdb -i=mi myApp/

How can I fix this.

Thanks,
Alex



--
View this message in context: http://emacs.1067599.n5.nabble.com/GDB-doesn-t-respond-BREAK-etc-commands-tp284560.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GDB doesn't respond BREAK etc commands
  2013-04-26 13:27 GDB doesn't respond BREAK etc commands thorn101
@ 2013-04-26 15:44 ` Eli Zaretskii
  2013-04-26 16:38   ` thorn101
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2013-04-26 15:44 UTC (permalink / raw)
  To: Help-gnu-emacs

> Date: Fri, 26 Apr 2013 06:27:42 -0700 (PDT)
> From: thorn101 <enterprise@zonnet.nl>
> 
> While using gdb under emacs C-c C-c (BREAK) or C-c C-z (STOP) don't seem to
> work.
> The application that I'm debugging keeps running, only thing that partially
> works is using KILL from the menu, but then I can't get the gud prompt back.
> 
> When using any of the commands (other than KILL), they just get echoed back
> to the gud.
> 
> So every time I have to stop the debugged application from running I'm
> forced to kill the entire gdb buffer and restart it again with /M-x gdb/.
> 
> I'm using emacs 24.3 and gdb 7.5 and issuing the /M-x gdb -i=mi myApp/
> 
> How can I fix this.

Try "M-x gud-gdb RET" instead.  (You will loose the pretty GUI, if you
use gdb-many-windows.)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GDB doesn't respond BREAK etc commands
  2013-04-26 15:44 ` Eli Zaretskii
@ 2013-04-26 16:38   ` thorn101
  2013-04-26 17:38     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: thorn101 @ 2013-04-26 16:38 UTC (permalink / raw)
  To: Help-gnu-emacs

Eli Zaretskii wrote
> Try "M-x gud-gdb RET" instead.  (You will loose the pretty GUI, if you
> use gdb-many-windows.)

Thanks it works now, but why?.
Is it a bug?





--
View this message in context: http://emacs.1067599.n5.nabble.com/GDB-doesn-t-respond-BREAK-etc-commands-tp284560p284574.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GDB doesn't respond BREAK etc commands
  2013-04-26 16:38   ` thorn101
@ 2013-04-26 17:38     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-04-26 17:38 UTC (permalink / raw)
  To: Help-gnu-emacs

> Date: Fri, 26 Apr 2013 09:38:25 -0700 (PDT)
> From: thorn101 <enterprise@zonnet.nl>
> 
> Eli Zaretskii wrote
> > Try "M-x gud-gdb RET" instead.  (You will loose the pretty GUI, if you
> > use gdb-many-windows.)
> 
> Thanks it works now, but why?.

gud-gdb invokes a different interface, not the MI interface you used.

> Is it a bug?

Probably.  Better report this with "M-x report-emacs-bug RET".



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-26 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 13:27 GDB doesn't respond BREAK etc commands thorn101
2013-04-26 15:44 ` Eli Zaretskii
2013-04-26 16:38   ` thorn101
2013-04-26 17:38     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.