From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: daimrod@gmail.com, 14597@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 [thread overview]
Message-ID: <831rjbkmqx.fsf@gnu.org> (raw)
In-Reply-To: <87zh5z83ke.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 09 Sep 2020 15:47:29 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 09 Sep 2020 15:47:29 +0200
> Cc: 14597@debbugs.gnu.org
>
> Daimrod <daimrod@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.
next prev parent reply other threads:[~2020-09-09 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 7:59 bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Grégoire Jadi
2013-06-25 16:53 ` Daimrod
2020-09-09 13:47 ` Lars Ingebrigtsen
2020-09-09 15:12 ` Eli Zaretskii [this message]
2020-09-10 13:43 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831rjbkmqx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=14597@debbugs.gnu.org \
--cc=daimrod@gmail.com \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.