diff options
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 6e3d091..af6b0a3 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -5075,13 +5075,14 @@ _initialize_gdbarch (void) { struct cmd_list_element *c; - add_show_from_set (add_set_cmd ("arch", - class_maintenance, - var_zinteger, - (char *)&gdbarch_debug, - "Set architecture debugging.\n\ + deprecated_add_show_from_set + (add_set_cmd ("arch", + class_maintenance, + var_zinteger, + (char *)&gdbarch_debug, + "Set architecture debugging.\n\ When non-zero, architecture debugging is enabled.", &setdebuglist), - &showdebuglist); + &showdebuglist); c = add_set_cmd ("archdebug", class_maintenance, var_zinteger, @@ -5090,5 +5091,5 @@ When non-zero, architecture debugging is enabled.", &setdebuglist), When non-zero, architecture debugging is enabled.", &setlist); deprecate_cmd (c, "set debug arch"); - deprecate_cmd (add_show_from_set (c, &showlist), "show debug arch"); + deprecate_cmd (deprecated_add_show_from_set (c, &showlist), "show debug arch"); } |