This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb breakpoint.c remote.c
- From: wrighton at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Sep 2012 20:01:11 -0000
- Subject: src/gdb breakpoint.c remote.c
CVSROOT: /cvs/src
Module name: src
Changes by: wrighton@sourceware.org 2012-09-12 20:01:11
Modified files:
gdb : breakpoint.c remote.c
Log message:
* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
there is an error inserting hardware breakpoints and use the
error message from the target.
* gdb/breakpoint.c (insert_bp_location, insert_breakpoint_locations):
Catch this exception and print the error message contained within. Do not
print the default hardware error breakpoint message in this case.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.702&r2=1.703
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.509&r2=1.510