diff options
| author | Pedro Alves <palves@redhat.com> | 2009-11-21 21:17:17 +0000 |
|---|---|---|
| committer | Pedro Alves <palves@redhat.com> | 2009-11-21 21:17:17 +0000 |
| commit | f6bc20088048522ffb945254f59f824f5cbdaebd (patch) | |
| tree | 88a4983875865ce7d3659f85c5628703923eb225 /libiberty/pex-unix.c | |
| parent | 8c2fb5deb3f40d81b448d54d7eaa02cde2c6e014 (diff) | |
| download | gdb-f6bc20088048522ffb945254f59f824f5cbdaebd.zip gdb-f6bc20088048522ffb945254f59f824f5cbdaebd.tar.gz gdb-f6bc20088048522ffb945254f59f824f5cbdaebd.tar.bz2 | |
gdb/
* breakpoint.h (struct breakpoint) <watchpoint_thread>: New field.
* breakpoint.c (watchpoint_in_thread_scope): New.
(update_watchpoint): Skip if the local watchpoint's thread doesn't
match the current thread, or if the current thread is running.
(watchpoint_check): Ditto.
(watch_command_1): Set the watchpoint's watchpoint_thread field.
gdb/testsuite/
* gdb.threads/local-watch-wrong-thread.c,
gdb.threads/local-watch-wrong-thread.exp: New files.
Diffstat (limited to 'libiberty/pex-unix.c')
0 files changed, 0 insertions, 0 deletions
