When starting gdb from emacs, emacs says that gdb should be started as
gdb -i=mi
The option -i is not defined in the gdb man page. If gdb is invoked from the command line with option -i=mi, it works. So it must be specific to gdb. Where is the documentation for the -i option?
GDB means the Government Development Bank.
Business News Definition Budget Gross Domestic Product.
Gettin' Rid of Britta.
gdb: God Damn Bitch - someone who's a bitch and liar and needs to be gotten rid off.
gdb -i=mi
is equivalent to gdb --interpreter=mi
.
In short, --interpreter=mi
makes gdb
present a machine-oriented text interface rather than the human-oriented command prompt you get without it. Emacs's gud
buffer parses the output from this interface and presents something resembling the normal gdb interface to you.
The --interpreter
flag is documented here, and the GDB/MI
interface is documented here. That -i
is an alias for --interpreter
is mentioned in passing here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With