From 99361f52ebb3fdaa8869991480579bb089c19d1e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 26 Feb 2009 01:14:03 +0000 Subject: [PATCH] * breakpoint.c (insert_bp_location): Add \n to overlay breakpoint error message. --- gdb/ChangeLog | 3 +++ gdb/breakpoint.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1ba81f4c8a5..705802ddc45 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2009-02-25 Doug Evans + * breakpoint.c (insert_bp_location): Add \n to overlay breakpoint + error message. + * breakpoint.c (disable_breakpoints_in_shlibs): Delete local disabled_shlib_breaks, unused. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 46beea645a0..b23b294bbf6 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1135,8 +1135,8 @@ Note: automatically using hardware breakpoints for read-only addresses.\n")); bpt->overlay_target_info.placed_address = addr; val = target_insert_breakpoint (&bpt->overlay_target_info); if (val != 0) - fprintf_unfiltered (tmp_error_stream, - "Overlay breakpoint %d failed: in ROM?", + fprintf_unfiltered (tmp_error_stream, + "Overlay breakpoint %d failed: in ROM?\n", bpt->owner->number); } } -- 2.30.2