2004-02-23 Jeff Johnston <jjohnstn@redhat.com>

* breakpoint.c (print_one_breakpoint): Do not output spaces
        after printing <PENDING> for a pending breakpoint.
This commit is contained in:
Jeff Johnston 2004-02-23 20:30:16 +00:00
parent 177b729b44
commit d547918807
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}