This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch v4 01/13] disas: add precise instructions flag
On Tue, 27 Nov 2012 17:49:18 +0100, Pedro Alves wrote:
> On 11/27/2012 10:48 AM, markus.t.metzger@intel.com wrote:
> > From: Markus Metzger <markus.t.metzger@intel.com>
> >
> > When disassembling an address range with interleaved sources,
>
> What you mean by interleaved? "disasm /m" ?
>
> > the addresses that
> > are being disassembled may not exactly match the specified range.
>
> Is this another symptom of the issue that "disasm /m" sorts by
> line number, rather than the much more reasonable sort-by-address,
> which is IIRC what objdump does too?
objdump does it differently (IMO corrently) than GDB:
Tracked at:
disassemble/m should be PC-driven, not source line driven
http://sourceware.org/bugzilla/show_bug.cgi?id=11833
Jan