diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-16 03:03:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-16 03:03:13 +0000 |
commit | 1ed2a1352d4af2d840b285a741bc02d4584c24f1 (patch) | |
tree | 9020ef74aa86fd491e1932344e76a0a6f429769d /gdb/mips-tdep.c | |
parent | dfb0df6c344642319f4301abb78ac015a0e558f0 (diff) | |
download | gdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.zip gdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.tar.gz gdb-1ed2a1352d4af2d840b285a741bc02d4584c24f1.tar.bz2 |
Fix signature of add_set_enum_cmd. Change VAR parameter to char**.
Cleanup signature of add_set_cmd. Change VAR parameter to void*.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index cb790b2..964b366 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -4153,9 +4153,9 @@ _initialize_mips_tdep () /* Allow the user to override the saved register size. */ add_show_from_set (add_set_enum_cmd ("saved-gpreg-size", - class_obscure, - size_enums, - (char *) &mips_saved_regsize_string, "\ + class_obscure, + size_enums, + &mips_saved_regsize_string, "\ Set size of general purpose registers saved on the stack.\n\ This option can be set to one of:\n\ 32 - Force GDB to treat saved GP registers as 32-bit\n\ @@ -4163,14 +4163,14 @@ This option can be set to one of:\n\ auto - Allow GDB to use the target's default setting or autodetect the\n\ saved GP register size from information contained in the executable.\n\ (default: auto)", - &setmipscmdlist), + &setmipscmdlist), &showmipscmdlist); /* Allow the user to override the argument stack size. */ add_show_from_set (add_set_enum_cmd ("stack-arg-size", class_obscure, size_enums, - (char *) &mips_stack_argsize_string, "\ + &mips_stack_argsize_string, "\ Set the amount of stack space reserved for each argument.\n\ This option can be set to one of:\n\ 32 - Force GDB to allocate 32-bit chunks per argument\n\ |