* [ob] Clean up output of overlay bkpt insertion error message
@ 2009-02-26 17:59 Doug Evans
0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-02-26 17:59 UTC (permalink / raw)
To: gdb-patches
Hi.
I checked this in under the obvious rule.
Without the patch I was getting:
Warning:
Overlay breakpoint 1 failed: in ROM?Cannot insert breakpoint 1.
Error accessing memory address 0x102e0: Input/output error.
Both the line I changed and the preceding line had a trailing space,
so I removed that too.
2009-02-25 Doug Evans <dje@google.com>
* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
error message.
diff -u -p -u -p -r1.379 breakpoint.c
--- breakpoint.c 25 Feb 2009 21:43:04 -0000 1.379
+++ breakpoint.c 26 Feb 2009 01:12:37 -0000
@@ -1135,8 +1135,8 @@ Note: automatically using hardware break
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);
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-26 1:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26 17:59 [ob] Clean up output of overlay bkpt insertion error message Doug Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox