GNU bug report logs - #11279
24.0.95; GDB scripting doesn't work in "M-x gdb"

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Thu, 19 Apr 2012 16:05:01 UTC

Severity: normal

Found in version 24.0.95

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 11279 <at> debbugs.gnu.org
Subject: bug#11279: 24.0.95; GDB scripting doesn't work in "M-x gdb"
Date: Thu, 19 Apr 2012 19:55:38 +0300
> Date: Thu, 19 Apr 2012 19:03:59 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> After applying this patch, there's still one annoyance, which only
> shows on Posix hosts (not on Windows): the ">" prompts for more
> commands don't show.  This happens because that's how GDB/MI seems to
> behave: when its standard output is a console, it does not respond
> with the ">" prompts.  In fact, it doesn't respond at all until it
> sees "end".

As pointed out to me on the GDB list, this can be fixed by sending
"set interactive-mode off" to GDB at session start.




This bug report was last modified 13 years and 35 days ago.

Previous Next


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