This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc 6/8] record disas: omit function names by default


On Thu, 14 Feb 2013 17:29:10 +0100, markus.t.metzger@intel.com wrote:
> Omit function names in the disassembly of the "record disassemble" command
> unless the "/f" modifier is specified.
> 
> This helps align the disassembly output across functions.  The branch
> destination is already obvious from the instruction order.

FYI from the user point of view I find the output more readable with /f.
But I do not have practical experience with it, I am fine with it as you wrote
it if you think so.


Just now when playing with the branch the commands record disassemble vs. list
vs. backtrace should have some better short description in the help text.
Particularly record backtrace I had some difficult to understand first.

record disassemble:
Print disassembled instructions as stored in the execution log.

record backtrace:
Print function names from which instruction in the execution log ran.

recost list:
<it is currently not implemented in archer-mmetzger-btrace and I did not dig
out the former patches>


This is just a suggestion, maybe Eli could also suggest some better
formulation.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]