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