aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.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/infrun.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/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 75cdf73..0e84a6d 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4267,7 +4267,7 @@ to the user would be loading/unloading of a new library.\n",
c = add_set_enum_cmd ("follow-fork-mode",
class_run,
follow_fork_mode_kind_names,
- (char *) &follow_fork_mode_string,
+ &follow_fork_mode_string,
/* ??rehrauer: The "both" option is broken, by what may be a 10.20
kernel problem. It's also not terribly useful without a GUI to
help the user drive two debuggers. So for now, I'm disabling
@@ -4302,7 +4302,7 @@ By default, the debugger will follow the parent process.",
c = add_set_enum_cmd ("scheduler-locking", class_run,
scheduler_enums, /* array of string names */
- (char *) &scheduler_mode, /* current mode */
+ &scheduler_mode, /* current mode */
"Set mode for locking scheduler during execution.\n\
off == no locking (threads may preempt at any time)\n\
on == full locking (no thread except the current thread may run)\n\