aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-stopevent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-stopevent.c b/gdb/python/py-stopevent.c
index 7660dd2..7e00948 100644
--- a/gdb/python/py-stopevent.c
+++ b/gdb/python/py-stopevent.c
@@ -84,8 +84,8 @@ emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal)
}
/* Check if the signal is "Signal 0" or "Trace/breakpoint trap". */
- if (stop_signal != TARGET_SIGNAL_0
- && stop_signal != TARGET_SIGNAL_TRAP)
+ if (stop_signal != GDB_SIGNAL_0
+ && stop_signal != GDB_SIGNAL_TRAP)
{
stop_event_obj =
create_signal_event_object (stop_signal);