[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25760: 25.1; Emacs GDB command doesn't honor the "-p" flag
From: |
Glenn Morris |
Subject: |
bug#25760: 25.1; Emacs GDB command doesn't honor the "-p" flag |
Date: |
Wed, 22 Feb 2017 21:59:16 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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!