aboutsummaryrefslogtreecommitdiff
path: root/gold/dwp.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-10-28 18:34:37 +0000
committerPedro Alves <palves@redhat.com>2013-10-28 18:34:37 +0000
commit3c4797ba74e0b7db0db3e34b606ba9c1d0f2baf7 (patch)
treec95a2cf50e696712b6fd29459e01599bb9dd6d05 /gold/dwp.h
parent71193121ff7a6ee95fff5eb9d8ae378390ecdf45 (diff)
downloadgdb-3c4797ba74e0b7db0db3e34b606ba9c1d0f2baf7.zip
gdb-3c4797ba74e0b7db0db3e34b606ba9c1d0f2baf7.tar.gz
gdb-3c4797ba74e0b7db0db3e34b606ba9c1d0f2baf7.tar.bz2
breakpoint.c:watchpoints_triggered: simplify a tiny bit.
I was reading this, checking the the possible returns, and this particular path confused a tiny little. Above we do: if (!stopped_by_watchpoint) { ... return 0; } so any return after that always return true. Tested on x86_64 Fedora 17. gdb/ 2013-10-28 Pedro Alves <palves@redhat.com> * breakpoint.c (watchpoints_triggered) <!target_stopped_data_address>: Hardcode return 1.
Diffstat (limited to 'gold/dwp.h')
0 files changed, 0 insertions, 0 deletions