diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-15 21:07:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-15 21:07:59 +0000 |
commit | e707bbc264cdc57ff14c3058637ac6a20e8db8bd (patch) | |
tree | 72bc0dbbfa8a636db985e01ebb7492209f18ddb9 /gdb/maint.c | |
parent | 93924b6b9955c51cd5a6d8444c9eaa818e2a6545 (diff) | |
download | fsf-binutils-gdb-e707bbc264cdc57ff14c3058637ac6a20e8db8bd.zip fsf-binutils-gdb-e707bbc264cdc57ff14c3058637ac6a20e8db8bd.tar.gz fsf-binutils-gdb-e707bbc264cdc57ff14c3058637ac6a20e8db8bd.tar.bz2 |
* cli/cli-decode.c (add_setshow_boolean_cmd): Replace
add_set_boolean_cmd.
(add_setshow_cmd): New function.
* command.h (add_setshow_boolean_cmd): Replace
add_set_boolean_cmd.
* remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat''
and ``set rdiromatzero''.
* maint.c (_initialize_maint_cmds): Update commented out code.
* cli/cli-decode.h (add_set_boolean_cmd): Delete declaration.
* target.c (initialize_targets): Update `set
trust-readonly-sections'.
* remote.c (_initialize_remote): Update `set remotebreak'.
Diffstat (limited to 'gdb/maint.c')
-rw-r--r-- | gdb/maint.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gdb/maint.c b/gdb/maint.c index ddaa390..f09703f 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -783,16 +783,15 @@ passes without a response from the target, an error occurs.", &setlist), #ifdef NOTYET - /* FIXME: cagney/2001-09-24: A patch introducing a - add_set_boolean_cmd() is pending, the below should probably use - it. A patch implementing profiling is pending, this just sets up - the framework. */ - tmpcmd = add_set_cmd ("profile", class_maintenance, - var_boolean, &maintenance_profile_p, - "Set internal profiling.\n\ -When enabled GDB is profiled.", - &maintenance_set_cmdlist); - set_cmd_sfunc (tmpcmd, maintenance_set_profile_cmd); - add_show_from_set (tmpcmd, &maintenance_show_cmdlist); + /* FIXME: cagney/2002-06-15: A patch implementing profiling is + pending, this just sets up the framework. */ + tmpcmd = add_setshow_boolean_cmd ("profile", class_maintenance, + var_boolean, &maintenance_profile_p, "\ +Set internal profiling.\n\ +When enabled GDB is profiled.", "\ +Show internal profiling.\n", + maintenance_set_profile_cmd, NULL, + &maintenance_set_cmdlist, + &maintenance_show_cmdlist); #endif } |