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] Why does ui_out_field_core_addr pad with leading zeroes?


On Thu, Mar 18, 2010 at 12:38:09PM -0700, Doug Evans wrote:
> 2010-03-18  Doug Evans  <dje@google.com>
> 
>         * ui-out.c (ui_out_field_core_addr): Don't pad address with leading
>         zeroes.
>         * breakpoint.c (breakpoint_1): Right align breakpoint addresses.

Does this right align the header, or just the contents?

I may be alone, and at risk of bikeshedding, but I think this looks
weird:

Num         Address
1            0x4414
2      0x1231230000

I'm more a fan of:

Num  Address
1               0x4414
2         0x1231230000

[They both look a bit weird to me though.  My ideal UI for this stuff
resizes based on contents...]

-- 
Daniel Jacobowitz
CodeSourcery


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