unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: 10285@debbugs.gnu.org
Subject: bug#10285: 23.3; Gud hangs terminal when not running gdb --annotate=3
Date: Mon, 12 Dec 2011 16:04:24 -0500	[thread overview]
Message-ID: <4EE66C58.6000303@cfl.rr.com> (raw)

Ever since upgrading to emacs23 I have been unable to run gdb with sudo 
under emacs gud mode ( it never gets my password ).  I have recently 
studied the issue in depth and found that the problem is more broad than 
sudo.  When starting gud mode with M-x gdb, it prompts you for what to 
run, and if you don't run gdb --annotate=3, then gud mode hangs and 
nothing you type is sent to the inferior process.  It seems --annotate=3 
generates some magic output that gud mode is waiting on and until it 
sees it, will not forward anything you type to the inferior process.






             reply	other threads:[~2011-12-12 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 21:04 Phillip Susi [this message]
2011-12-12 21:40 ` bug#10285: 23.3; Gud hangs terminal when not running gdb --annotate=3 Stefan Monnier
     [not found]   ` <4EE676D1.5030508@cfl.rr.com>
2011-12-13 14:21     ` Stefan Monnier
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=4EE66C58.6000303@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=10285@debbugs.gnu.org \
    /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).