Re: "disassemble" shows code, but not with /m

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Wed, 19 Mar 2014 18:50:22 +0100, Eli Zaretskii wrote:
> IOW, the /m switch somehow inhibits the disassembly.

The /m switch is broken for -O2 -g code even if it prints something:
	disassemble/m should be PC-driven, not source line driven
	http://sourceware.org/bugzilla/show_bug.cgi?id=11833

Use objdump -dS in these cases - that one works
(although I prefer rather objdump -dl for -O2 -g cases).

/m is dependent on .debug_line which I guess is not right in your inferior.


Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.