* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
authorMike Wrighton <wrighton@codesourcery.com>
Wed, 12 Sep 2012 20:01:10 +0000 (20:01 +0000)
committerMike Wrighton <wrighton@codesourcery.com>
Wed, 12 Sep 2012 20:01:10 +0000 (20:01 +0000)
commitdd61ec5cb3bcb866519cfce804693d5bc6a56b21
tree370945c442ecc1cdcd71ba337393cd47ca876468
parenta1b64ce14eb2871983290c5cddaaa565ccbb6749
* 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.
ChangeLog
gdb/breakpoint.c
gdb/remote.c