aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-01 18:05:09 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-01 18:05:09 +0000
commitfa5281d02b823b7a847bea43a39d6bcc7b75580a (patch)
treede40515eab996e6c8ae2cdcc9cfdfaf7a197f4e2 /gdb/infrun.c
parentc47cebdbd2d971feefd839a61213a0ec643c46bf (diff)
downloadgdb-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.c6
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. */