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?
On Thu, Mar 18, 2010 at 12:47 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> Did you try grepping for other uses of ui_out_field_core_addr?
> Would other places need adjustment as well?
Before submitting the patch RFA I would indeed check for other uses.
I wasn't ready to go that far yet.
> And what about posting the before-with-no-patch-what-soever
> vs after-patch-that-aligns-right examples of "info break",
> instead of just leftalign-after-patch vs leftalign-after-patch?
As you wish.
Before, without patch:
(gdb) i b
Num Type Disp Enb Address What
2 breakpoint keep y 0x000000000040049c in main at hello.c:6
3 breakpoint keep y 0x00007ffff7acbe40 <printf>
After patch:
(gdb) i b
Num Type Disp Enb Address What
2 breakpoint keep y 0x40049c in main at hello.c:6
3 breakpoint keep y 0x7ffff7acbe40 <printf>