gdb says that "disassemble /m" is not a valid command
Nikos Chantziaras <[email protected]> Wed, 12 Aug 2009 19:44:35 +0300
| Newsgroups | gmane.comp.gdb.general |
|---|---|
| Organization | Lucas Barks |
| Message-ID | <[email protected]> |
I'm trying to disassemble a C++ function with gdb 6.8. I've in the manual at: http://sourceware.org/gdb/current/onlinedocs/gdb_9.html#SEC64 that "disassemble /m" should also print the source line together with the assembly dump. However, when actually trying it out I get: (gdb) disassemble /m A syntax error in expression, near `/m'. Is the documentation out of date? How do I get source and assembly at the same time? "help disassemble" doesn't say anything about "/m" and neither the gdb info pages.