This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Why does ui_out_field_core_addr pad with leading zeroes?
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Mar 2010 10:52:24 -0700
- Subject: Re: [RFC] Why does ui_out_field_core_addr pad with leading zeroes?
- References: <20100318173015.6765784413@ruffy.mtv.corp.google.com>
> I couldn't find an explanation of *why* ui_out_field_core_addr pads
> the address with leading zeroes.
>
> Does anyone know?
I don't (it was probably even before my time). But this raised an
interesting question: Initially, I thought that the current behavior
is much nicer. But then I looked at both outputs again, and asked
myself: which one is easier/faster to read? FWIW, I'm leaning towards
your suggestion...
--
Joel