aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r--gdb/python/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 61c5420..df8e3d5 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1257,6 +1257,7 @@ Enables or disables printing of Python stack traces."),
gdbpy_initialize_continue_event ();
gdbpy_initialize_exited_event ();
gdbpy_initialize_thread_event ();
+ gdbpy_initialize_new_objfile_event () ;
observer_attach_before_prompt (before_prompt_hook);