GNU bug report logs - #25760
25.1; Emacs GDB command doesn't honor the "-p" flag

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Thu, 16 Feb 2017 17:24:01 UTC

Severity: minor

Tags: notabug

Found in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Live System User <nyc4bos <at> aol.com>
Cc: 25760 <at> debbugs.gnu.org
Subject: bug#25760: 25.1; Emacs GDB command doesn't honor the "-p" flag
Date: Wed, 22 Feb 2017 21:59:16 -0500
Live System User wrote:

> 1. M-x gdb
> Run gdb (like this): gdb -p 2660
> [...]
> (gdb) Undefined command: "1-inferior-tty-set".  Try "help".
[...]
>       You can, of course use gdb by doing instead:
>
> Run gdb (like this): gdb -i=mi -p 2660


I'm confused as to why you think this is an Emacs bug.
Emacs M-x gdb *requires* the -i=mi option.
That's why it's there by default, and why Emacs complains if you take it
out:

Error: you did not specify -i=mi on s command line!




This bug report was last modified 8 years and 86 days ago.

Previous Next


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