This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Mixed mode disassembly listing -- impossible?
- From: Timo Finnilä <huoneusto at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 22 Apr 2009 10:05:11 +0300
- Subject: Mixed mode disassembly listing -- impossible?
Hi,
In the section 8.6 of "GDB User Manual"
(http://sourceware.org/gdb/current/onlinedocs/gdb_9.html#SEC64)
is said that it is possible to get mixed mode (both source and machine
code) listing from
the "disassemble" command by using the "/m" option. However, when I
try this (e.g. by saying
"disassemble /m someFunction" with GDB 8.6, i only get "A syntax error
in expression,
near '/m'." complaint. What am I missing here? Or doing wrong?
BR,
Timo F.