GNU bug report logs - #10285
gdb-mi should accept some process I/O before GDB actually starts

Previous Next

Package: emacs;

Reported by: Phillip Susi <psusi <at> cfl.rr.com>

Date: Mon, 12 Dec 2011 21:06:02 UTC

Severity: normal

Found in versions 24.1, 23.3

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10285 <at> debbugs.gnu.org, Phillip Susi <psusi <at> 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
Stefan Monnier <monnier <at> 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




This bug report was last modified 3 years and 99 days ago.

Previous Next


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