unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Phillip Susi <psusi@cfl.rr.com>
Cc: 10285@debbugs.gnu.org
Subject: bug#10285: 23.3; Gud hangs terminal when not running gdb --annotate=3
Date: Tue, 13 Dec 2011 09:21:29 -0500	[thread overview]
Message-ID: <jwvfwgoftkd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4EE676D1.5030508@cfl.rr.com> (Phillip Susi's message of "Mon, 12 Dec 2011 16:49:05 -0500")

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





  parent reply	other threads:[~2011-12-13 14:21 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 [this message]
2021-07-16 13:04       ` bug#10285: gdb-mi should accept some process I/O before GDB actually starts Lars Ingebrigtsen
2022-05-06 19:38         ` 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=jwvfwgoftkd.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10285@debbugs.gnu.org \
    --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).