diff options
Diffstat (limited to 'gdb/extension.c')
-rw-r--r-- | gdb/extension.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/extension.c b/gdb/extension.c index f9418de..947e440 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -934,8 +934,9 @@ ext_lang_before_prompt (const char *current_gdb_prompt) } } +void _initialize_extension (); void -_initialize_extension (void) +_initialize_extension () { gdb::observers::before_prompt.attach (ext_lang_before_prompt); } |