diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-02-23 20:30:16 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-02-23 20:30:16 +0000 |
commit | d547918807c8e9e177cf8959fec198b4c700c362 (patch) | |
tree | 5e847b177ae4de5345edcb4fe172bfdd4350c960 /gdb | |
parent | 177b729b44e2d65d66f6de14196f145ca8c8244a (diff) | |
download | gdb-d547918807c8e9e177cf8959fec198b4c700c362.zip gdb-d547918807c8e9e177cf8959fec198b4c700c362.tar.gz gdb-d547918807c8e9e177cf8959fec198b4c700c362.tar.bz2 |
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
* breakpoint.c (print_one_breakpoint): Do not output spaces
after printing <PENDING> for a pending breakpoint.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/breakpoint.c | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24bf4da..b8450fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> + * breakpoint.c (print_one_breakpoint): Do not output spaces + after printing <PENDING> for a pending breakpoint. + +2004-02-23 Jeff Johnston <jjohnstn@redhat.com> + * printcmd.c (print_scalar_formatted): Initialize val_long to remove compiler warning message. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ca5aff5..9cafc6d 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3471,13 +3471,7 @@ print_one_breakpoint (struct breakpoint *b, { annotate_field (4); if (b->pending) - { - ui_out_field_string (uiout, "addr", "<PENDING>"); - if (TARGET_ADDR_BIT <= 32) - ui_out_spaces (uiout, 2); - else - ui_out_spaces (uiout, 8); - } + ui_out_field_string (uiout, "addr", "<PENDING>"); else ui_out_field_core_addr (uiout, "addr", b->loc->address); } |