aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-base.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-09-04 15:07:46 +0100
committerGary Benson <gbenson@redhat.com>2014-09-04 15:23:21 +0100
commit5ee44bfa6bdb8eaf7f30eccb4fbdc989cb9bb7ca (patch)
treef1269225386579e506a14aba282fba94b4d65523 /gdb/frame-base.c
parent4875ffdbdaf7793524464c99baea1d8eb0cb7e34 (diff)
downloadgdb-5ee44bfa6bdb8eaf7f30eccb4fbdc989cb9bb7ca.zip
gdb-5ee44bfa6bdb8eaf7f30eccb4fbdc989cb9bb7ca.tar.gz
gdb-5ee44bfa6bdb8eaf7f30eccb4fbdc989cb9bb7ca.tar.bz2
Remove code to cope with LWPs wrapped as PIDs
Historically the Linux x86 watchpoint code did not cope with multi- threaded processes and LWP IDs were passed to it wrapped as PIDs. Not all entry points were converted when the Linux x86 watchpoint code was made multi-thread-aware, so a handler was left in place to cope with wrapped LWPs. Since then all such entry points have been converted to pass regular LWPs and the handler is now redundant. This commit removes the handler and adds assertions to ensure no wrapped LWPs are passed in future. gdb/ChangeLog: * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): Remove code to cope with LWPs wrapped as PIDs. Add assertions to ensure no wrapped LWPs are passed.
Diffstat (limited to 'gdb/frame-base.c')
0 files changed, 0 insertions, 0 deletions