GNU bug report logs -
#10285
gdb-mi should accept some process I/O before GDB actually starts
Previous Next
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
Message #13 received at control <at> debbugs.gnu.org (full text, mbox):
retitle 10285 gdb-mi should accept some process I/O before GDB actually starts
found 10285 24.1
thanks
>> Could you check the Emacs-24 pretest to see if it addresses the problem?
> Where can I find that? I don't see it on the main web site.
Since it's a pretest it's not advertised there.
You can find it at http://alpha.gnu.org/gnu/emacs/pretest/
>> 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.
In the mean time, I suggest you use M-x gud-gdb RET which uses the old
(Emacs-22) simpler GUD interaction and just requires a "--fullname"
argument (and whose absence won't be as problematic, tho it'll prevent
Emacs from jumping to the source code for you).
Stefan
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.