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 | 4feb1296e35584661d22d2db3b44239201565372 (patch) | |
tree | f44af2364282f156c283e8c560445d6953aecc38 /gdb/i386-tdep.c | |
parent | ec2e1033ef406a1d6be3e69c4f106884be4aea0f (diff) | |
download | gdb-4feb1296e35584661d22d2db3b44239201565372.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 39990db0688..03c4cf3bd5f 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); |