From 6504d35a535288b4baa9687a16faa005c261583e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 23 Feb 2004 20:30:16 +0000 Subject: [PATCH] 2004-02-23 Jeff Johnston * breakpoint.c (print_one_breakpoint): Do not output spaces after printing for a pending breakpoint. --- gdb/ChangeLog | 5 +++++ gdb/breakpoint.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24bf4da1e9..b8450fc56f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-02-23 Jeff Johnston + * breakpoint.c (print_one_breakpoint): Do not output spaces + after printing for a pending breakpoint. + +2004-02-23 Jeff Johnston + * printcmd.c (print_scalar_formatted): Initialize val_long to remove compiler warning message. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ca5aff52b9..9cafc6d7b8 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", ""); - if (TARGET_ADDR_BIT <= 32) - ui_out_spaces (uiout, 2); - else - ui_out_spaces (uiout, 8); - } + ui_out_field_string (uiout, "addr", ""); else ui_out_field_core_addr (uiout, "addr", b->loc->address); } -- 2.11.0