This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Rewrite mixed source/assembler disassembly
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Jul 2015 10:20:40 -0700
- Subject: Re: [PATCH] Rewrite mixed source/assembler disassembly
- Authentication-results: sourceware.org; auth=none
- References: <m3h9oz1k4m dot fsf at seba dot sebabeach dot org>
> This is a patch I've wanted to write for a very long time.
> The current mixed source/assembler disassembly is not very usable.
> In the presence of multiple source files (inlined functions, etc.)
> it doesn't print usable output.
> In the presence of optimized code, trying to be source centric
> just doesn't work IMO. And with no optimization the before/after
> should be identical.
FWIW, I agree this is a more useful output.
> The other change I've made is to remove the blank line between
> assembly and the next source line. I'm ambivalent, what do you think?
Not sure either say, so going with your call on that one...
Thanks for doing this!
--
Joel