diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-05-05 22:52:10 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-05-05 22:52:10 +0000 |
commit | a9634178ec86f946598bd78836513c621afd4954 (patch) | |
tree | be8e3cca28494c6bdfb2fce1820e4e2947ae422a /opcodes/cgen-dis.in | |
parent | 85161e9e44c84e4318a76edf40a70bd7664a16d2 (diff) | |
download | gdb-a9634178ec86f946598bd78836513c621afd4954.zip gdb-a9634178ec86f946598bd78836513c621afd4954.tar.gz gdb-a9634178ec86f946598bd78836513c621afd4954.tar.bz2 |
Demote to sw watchpoint only in update_watchpoint.
* breakpoint.c (update_watchpoint): Change between software and
hardware watchpoint for all kinds of watchpoints, not just
read/write ones. Determine b->exact value here instead of
in watch_command_1. Error out if there are not enough resources
for a read or access hardware watchpoint.
(watch_command_1): Remove logic of checking whether there are
enough resources available, since update_watchpoint will do that
work now. Don't set b->exact here. Catch exceptions thrown by
update_watchpoint and delete the watchpoint.
(can_use_hardware_watchpoint): Remove exact_watchpoints argument.
Use target_exact_watchpoints instead.
(delete_breakpoint): Notify observers only if deleted watchpoint
has a breakpoint number assigned to it.
Diffstat (limited to 'opcodes/cgen-dis.in')
0 files changed, 0 insertions, 0 deletions