This is the mail archive of the
mailing list for the GDB project.
Re: What about add a interface to output the assembly codes follow inferior execution
> Date: Wed, 4 Mar 2009 09:15:30 -0800
> From: Doug Evans <firstname.lastname@example.org>
> Cc: Eli Zaretskii <email@example.com>, firstname.lastname@example.org, email@example.com
> Having another word for "disassembly" seems clumsy though. ["apropos
> opcodes" doesn't print anything today]
"apropos" searches the first lines of the doc strings, not only the
command names. So if we document the new commands like this:
show-opcodes -- display disassembly of next line with each prompt
"apropos disassembly" will find that as well. Does that solve your
problem with the name I suggested?
> Plus to a new user the intent of the option is a bit vague.
> "disassemble-next-line" ? [that has a lot to type to become
Right, I thought about something that begins with "disassemble", but
didn't want to shoot our completion habits in the foot, since
currently typing just "disas TAB" is all I need to get disassembly.