[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10285: gdb-mi should accept some process I/O before GDB actually sta
From: |
Lars Ingebrigtsen |
Subject: |
bug#10285: gdb-mi should accept some process I/O before GDB actually starts |
Date: |
Fri, 16 Jul 2021 15:04:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#10285: gdb-mi should accept some process I/O before GDB actually starts,
Lars Ingebrigtsen <=