diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/python.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index c16305b..8fbce78 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -987,10 +987,9 @@ gdbpy_run_events (int error, gdb_client_data client_data) if (gdbpy_event_list == NULL) gdbpy_event_list_end = &gdbpy_event_list; - /* Ignore errors. */ gdbpy_ref<> call_result (PyObject_CallObject (item->event, NULL)); if (call_result == NULL) - PyErr_Clear (); + gdbpy_print_stack (); Py_DECREF (item->event); xfree (item); |