diff options
Diffstat (limited to 'gdb/python/py-evts.c')
-rw-r--r-- | gdb/python/py-evts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/python/py-evts.c b/gdb/python/py-evts.c index dc7117f..4766bd6 100644 --- a/gdb/python/py-evts.c +++ b/gdb/python/py-evts.c @@ -100,6 +100,9 @@ gdbpy_initialize_py_events (void) "breakpoint_modified") < 0) return -1; + if (add_new_registry (&gdb_py_events.before_prompt, "before_prompt") < 0) + return -1; + if (gdb_pymodule_addobject (gdb_module, "events", (PyObject *) gdb_py_events.module) < 0) |