* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
authorDoug Evans <dje@google.com>
Thu, 26 Feb 2009 01:14:03 +0000 (01:14 +0000)
committerDoug Evans <dje@google.com>
Thu, 26 Feb 2009 01:14:03 +0000 (01:14 +0000)
error message.

gdb/ChangeLog
gdb/breakpoint.c

index 1ba81f4c8a580bc33a35968a5c577cf799d4c62b..705802ddc4541824c0fba34a188bb548b2ef5cf1 100644 (file)
@@ -1,5 +1,8 @@
 2009-02-25  Doug Evans  <dje@google.com>
 
+       * breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
+       error message.
+
        * breakpoint.c (disable_breakpoints_in_shlibs): Delete local
        disabled_shlib_breaks, unused.
 
index 46beea645a05ee3c0222170bd09a45fef6ac968a..b23b294bbf6c9c7f477a57d08b05546bc10a3c01 100644 (file)
@@ -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);
                }
            }