aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-02-26 01:14:03 +0000
committerDoug Evans <dje@google.com>2009-02-26 01:14:03 +0000
commit99361f52ebb3fdaa8869991480579bb089c19d1e (patch)
treebc769008099c17b3d473977d5ad1e036952f217b /gdb
parenta798e270c7dd8b7714175161dcbcbd5ed5a124ec (diff)
downloadgdb-99361f52ebb3fdaa8869991480579bb089c19d1e.zip
gdb-99361f52ebb3fdaa8869991480579bb089c19d1e.tar.gz
gdb-99361f52ebb3fdaa8869991480579bb089c19d1e.tar.bz2
* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
error message.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/breakpoint.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1ba81f4..705802d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 46beea6..b23b294 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);
}
}