gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb says that "disassemble /m" is not a valid command


From: Nikos Chantziaras
Subject: gdb says that "disassemble /m" is not a valid command
Date: Wed, 12 Aug 2009 19:44:35 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090730 Thunderbird/3.0b3

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]