* breakpoint.c (print_one_breakpoint_location): Make sure to print

the breakpoint address only once.
This commit is contained in:
Joel Brobecker
2008-04-17 22:43:17 +00:00
parent 100906b03a
commit e9bbd7c5e4
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-04-17 Joel Brobecker <brobecker@adacore.com>
* breakpoint.c (print_one_breakpoint_location): Make sure to print
the breakpoint address only once.
2008-04-17 Dennis Roberts <dennis.roberts@sunquestinfo.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,

View File

@@ -3607,7 +3607,7 @@ print_one_breakpoint_location (struct breakpoint *b,
annotate_field (4);
if (header_of_multiple)
ui_out_field_string (uiout, "addr", "<MULTIPLE>");
if (b->loc == NULL || loc->shlib_disabled)
else if (b->loc == NULL || loc->shlib_disabled)
ui_out_field_string (uiout, "addr", "<PENDING>");
else
ui_out_field_core_addr (uiout, "addr", loc->address);