unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 10285@debbugs.gnu.org, Phillip Susi <psusi@cfl.rr.com>
Subject: bug#10285: gdb-mi should accept some process I/O before GDB actually starts
Date: Fri, 16 Jul 2021 15:04:17 +0200	[thread overview]
Message-ID: <87fswe8l66.fsf_-_@gnus.org> (raw)
In-Reply-To: <jwvfwgoftkd.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 13 Dec 2011 09:21:29 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> Presumably now that you know you need to add the magic argument, you are
>>> able to fix the command to make your gdb+sudo case work, right?
>> No, because sudo runs before gdb and prompts for your password, which
>> it never gets, so gdb never runs and spits out whatever Emacs is
>> waiting to see.
>
> Ah, and indeed the code in the pretest won't help.
> We need further changes to gdb-mi.el to accommodate your use case, but
> those changes would be too intrusive to add at this stage, so it'll have
> to wait for after 24.1.

I tried reproducing this in Emacs 28, but the instructions were
unclear.  What command is issued after saying `M-x gdb'?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-16 13:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 21:04 bug#10285: 23.3; Gud hangs terminal when not running gdb --annotate=3 Phillip Susi
2011-12-12 21:40 ` Stefan Monnier
     [not found]   ` <4EE676D1.5030508@cfl.rr.com>
2011-12-13 14:21     ` Stefan Monnier
2021-07-16 13:04       ` Lars Ingebrigtsen [this message]
2022-05-06 19:38         ` bug#10285: gdb-mi should accept some process I/O before GDB actually starts 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fswe8l66.fsf_-_@gnus.org \
    --to=larsi@gnus.org \
    --cc=10285@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=psusi@cfl.rr.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).