GNU bug report logs - #14597
24.3.50; Can't stop the program being debugged with gdb-mi

Previous Next

Package: emacs;

Reported by: daimrod <at> gmail.com (Grégoire Jadi)

Date: Wed, 12 Jun 2013 07:57:01 UTC

Severity: normal

Merged with 16745

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: daimrod <at> gmail.com, 14597 <at> debbugs.gnu.org
Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
Date: Wed, 09 Sep 2020 18:12:22 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Wed, 09 Sep 2020 15:47:29 +0200
> Cc: 14597 <at> debbugs.gnu.org
> 
> Daimrod <daimrod <at> gmail.com> writes:
> 
> > -  (stop-process
> > -   (get-buffer-process gud-comint-buffer) comint-ptyp))
> > +  (process-send-string (get-buffer-process
> > +                        (gdb-get-buffer-create 'gdb-inferior-io))
> > +                       (kbd "C-z")))
> 
> There were unfortunately no comments at the time (seven years ago), but
> the code in gdb-mi essentially looks the same to this day.
> 
> I'm not very familiar with gdb-mi, though -- does anybody have an
> opinion here?

Can you try this with a recent GDB?  AFAIR, it nowadays better
separates the command file descriptor from the program's I/O
descriptors, so perhaps the problem is fixed.

Note that you need to type C-z/C-c C-z into the buffer where the
program's I/O is redirected.




This bug report was last modified 4 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.