summaryrefslogtreecommitdiff
path: root/gdb/extension.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/extension.c')
-rw-r--r--gdb/extension.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/extension.c b/gdb/extension.c
index 0e0d42685fc..85d410e8a7a 100644
--- a/gdb/extension.c
+++ b/gdb/extension.c
@@ -900,5 +900,5 @@ void _initialize_extension ();
void
_initialize_extension ()
{
- gdb::observers::before_prompt.attach (ext_lang_before_prompt);
+ gdb::observers::before_prompt.attach (ext_lang_before_prompt, "extension");
}