/* Python interface to inferior stop events.
- Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2009-2012 Free Software Foundation, Inc.
This file is part of GDB.
returns -1. */
int
-emit_stop_event (struct bpstats *bs, enum target_signal stop_signal)
+emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal)
{
PyObject *stop_event_obj = NULL; /* Appease GCC warning. */
PyObject *list = NULL;
}
/* 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);