diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-01 18:05:09 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-01 18:05:09 +0000 |
commit | fa5281d02b823b7a847bea43a39d6bcc7b75580a (patch) | |
tree | de40515eab996e6c8ae2cdcc9cfdfaf7a197f4e2 /gdb/infrun.c | |
parent | c47cebdbd2d971feefd839a61213a0ec643c46bf (diff) | |
download | gdb-fa5281d02b823b7a847bea43a39d6bcc7b75580a.zip gdb-fa5281d02b823b7a847bea43a39d6bcc7b75580a.tar.gz gdb-fa5281d02b823b7a847bea43a39d6bcc7b75580a.tar.bz2 |
* breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
and check the specified thread for each breakpoint.
* breakpoint.h (bpstat_stop_status): Update prototype.
* infrun.c (handle_inferior_event): Update calls to
bpstat_stop_status.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 5ab604c..f16f423 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1589,7 +1589,7 @@ handle_inferior_event (struct execution_control_state *ecs) stop_pc = read_pc (); - stop_bpstat = bpstat_stop_status (stop_pc); + stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid); ecs->random_signal = !bpstat_explains_signal (stop_bpstat); @@ -1638,7 +1638,7 @@ handle_inferior_event (struct execution_control_state *ecs) ecs->saved_inferior_ptid = inferior_ptid; inferior_ptid = ecs->ptid; - stop_bpstat = bpstat_stop_status (stop_pc); + stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid); ecs->random_signal = !bpstat_explains_signal (stop_bpstat); inferior_ptid = ecs->saved_inferior_ptid; @@ -2028,7 +2028,7 @@ handle_inferior_event (struct execution_control_state *ecs) else { /* See if there is a breakpoint at the current PC. */ - stop_bpstat = bpstat_stop_status (stop_pc); + stop_bpstat = bpstat_stop_status (stop_pc, ecs->ptid); /* Following in case break condition called a function. */ |