diff options
author | Pedro Alves <palves@redhat.com> | 2010-03-10 13:25:40 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-03-10 13:25:40 +0000 |
commit | 60e1c644b75b371c61367bc4abf0b7ad93b2d236 (patch) | |
tree | 47a2b14c785d0b72ddea5beb22dac2292b90268a /bfd/cpu-h8300.c | |
parent | a23c851aa413353ae86cc83009ad7766fd371a2d (diff) | |
download | gdb-60e1c644b75b371c61367bc4abf0b7ad93b2d236.zip gdb-60e1c644b75b371c61367bc4abf0b7ad93b2d236.tar.gz gdb-60e1c644b75b371c61367bc4abf0b7ad93b2d236.tar.bz2 |
gdb/
* breakpoint.c (condition_command): Handle watchpoint conditions.
(is_hardware_watchpoint): Add comment.
(is_watchpoint): New.
(update_watchpoint): Don't reparse the watchpoint's condition
unless necessary.
(WP_IGNORE): New.
(watchpoint_check): Use it.
(bpstat_check_watchpoint): Handle it.
(bpstat_check_breakpoint_conditions): Evaluate watchpoint local
conditions in a frame where it makes sense.
(watch_command_1): Store the innermost block of the condition
expression.
(delete_breakpoint): Delete the watchpoint condition expression.
* breakpoint.h (struct bp_location) <cond>: Update comment.
(struct breakpoint): New fields `cond_exp' and
`cond_exp_valid_block'.
gdb/testsuite/
* gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
Diffstat (limited to 'bfd/cpu-h8300.c')
0 files changed, 0 insertions, 0 deletions