diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-inferior.c | 2 | ||||
-rw-r--r-- | gdb/python/py-signalevent.c | 4 | ||||
-rw-r--r-- | gdb/python/py-stopevent.c | 2 | ||||
-rw-r--r-- | gdb/python/py-stopevent.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 86b478d..0ea4f55 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -81,7 +81,7 @@ static void python_on_normal_stop (struct bpstats *bs, int print_frame) { struct cleanup *cleanup; - enum target_signal stop_signal; + enum gdb_signal stop_signal; if (!find_thread_ptid (inferior_ptid)) return; diff --git a/gdb/python/py-signalevent.c b/gdb/python/py-signalevent.c index 323d6f6..304b847 100644 --- a/gdb/python/py-signalevent.c +++ b/gdb/python/py-signalevent.c @@ -22,7 +22,7 @@ static PyTypeObject signal_event_object_type; PyObject * -create_signal_event_object (enum target_signal stop_signal) +create_signal_event_object (enum gdb_signal stop_signal) { const char *signal_name; PyObject *signal_event_obj = @@ -31,7 +31,7 @@ create_signal_event_object (enum target_signal stop_signal) if (!signal_event_obj) goto fail; - signal_name = target_signal_to_name (stop_signal); + signal_name = gdb_signal_to_name (stop_signal); if (evpy_add_attribute (signal_event_obj, "stop_signal", diff --git a/gdb/python/py-stopevent.c b/gdb/python/py-stopevent.c index 1df4ae9..7660dd2 100644 --- a/gdb/python/py-stopevent.c +++ b/gdb/python/py-stopevent.c @@ -42,7 +42,7 @@ create_stop_event_object (PyTypeObject *py_type) 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; diff --git a/gdb/python/py-stopevent.h b/gdb/python/py-stopevent.h index df64286..69e688a 100644 --- a/gdb/python/py-stopevent.h +++ b/gdb/python/py-stopevent.h @@ -26,11 +26,11 @@ extern PyObject *create_stop_event_object (PyTypeObject *py_type); extern void stop_evpy_dealloc (PyObject *self); extern int emit_stop_event (struct bpstats *bs, - enum target_signal stop_signal); + enum gdb_signal stop_signal); extern PyObject *create_breakpoint_event_object (PyObject *breakpoint_list, PyObject *first_bp); -extern PyObject *create_signal_event_object (enum target_signal stop_signal); +extern PyObject *create_signal_event_object (enum gdb_signal stop_signal); #endif /* GDB_PY_STOPEVENT_H */ |