From 2ea286498fd2ddceaf074bfbc9a2986777ea0396 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 24 May 2012 16:39:15 +0000 Subject: gdb/ 2012-05-24 Pedro Alves PR gdb/7205 Replace target_signal with gdb_signal throughout. gdb/gdbserver/ 2012-05-24 Pedro Alves PR gdb/7205 Replace target_signal with gdb_signal throughout. include/gdb/ 2012-05-24 Pedro Alves PR gdb/7205 Replace target_signal with gdb_signal throughout. sim/common/ 2012-05-24 Pedro Alves PR gdb/7205 Replace target_signal with gdb_signal throughout. --- gdb/python/py-inferior.c | 2 +- gdb/python/py-signalevent.c | 4 ++-- gdb/python/py-stopevent.c | 2 +- gdb/python/py-stopevent.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/python') 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 */ -- cgit v1.1