aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-05-05 22:52:10 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-05-05 22:52:10 +0000
commita9634178ec86f946598bd78836513c621afd4954 (patch)
treebe8e3cca28494c6bdfb2fce1820e4e2947ae422a /opcodes
parent85161e9e44c84e4318a76edf40a70bd7664a16d2 (diff)
downloadgdb-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')
0 files changed, 0 insertions, 0 deletions