aboutsummaryrefslogtreecommitdiff
path: root/gdb/demangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r--gdb/demangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c
index 0104d8f..1fd69be 100644
--- a/gdb/demangle.c
+++ b/gdb/demangle.c
@@ -200,7 +200,7 @@ _initialize_demangler (void)
Use `set demangle-style' without arguments for a list of demangling styles.",
&setlist);
show = add_show_from_set (set, &showlist);
- set->function.sfunc = set_demangling_command;
+ set_cmd_sfunc (set, set_demangling_command);
/* Set the default demangling style chosen at compilation time. */
set_demangling_style (DEFAULT_DEMANGLING_STYLE);