* 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.
This commit is contained in:
Mike Wrighton 2012-09-12 20:01:10 +00:00
parent 5e99ba945a
commit d9eaa4f603
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2012-09-12 Mike Wrighton <wrighton@codesourcery.com>
* 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.
2012-08-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4970