[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb says that "disassemble /m" is not a valid command
From: |
Thomas Schwinge |
Subject: |
Re: gdb says that "disassemble /m" is not a valid command |
Date: |
Fri, 14 Aug 2009 10:22:39 +0200 |
User-agent: |
Mutt/1.5.11 |
Hello!
On Wed, Aug 12, 2009 at 07:44:35PM +0300, Nikos Chantziaras wrote:
> (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.
Your version of GDB is too old, or this feature is too new: it is
available since 2008-05-05 only, whereas GDB 6.8 has been released on
2008-03-27 already.
What you can use, outside of the debugger, is ``objdump -S''.
Regards,
Thomas
signature.asc
Description: Digital signature