aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-16 03:03:13 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-16 03:03:13 +0000
commit1ed2a1352d4af2d840b285a741bc02d4584c24f1 (patch)
tree9020ef74aa86fd491e1932344e76a0a6f429769d /gdb/i386-tdep.c
parentdfb0df6c344642319f4301abb78ac015a0e558f0 (diff)
downloadgdb-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/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 39990db..03c4cf3 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -938,7 +938,7 @@ _initialize_i386_tdep ()
new_cmd = add_set_enum_cmd ("disassembly-flavor", no_class,
valid_flavors,
- (char *) &disassembly_flavor,
+ &disassembly_flavor,
"Set the disassembly flavor, the valid values are \"att\" and \"intel\", \
and the default value is \"att\".",
&setlist);