aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 30dfd72..30ab100 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -725,7 +725,9 @@ wait_for_inferior ()
/* Handle cases caused by hitting a breakpoint. */
{
CORE_ADDR jmp_buf_pc;
- struct bpstat_what what = bpstat_what (stop_bpstat);
+ struct bpstat_what what;
+
+ what = bpstat_what (stop_bpstat);
switch (what.main_action)
{