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/target.c | |
parent | 93924b6b9955c51cd5a6d8444c9eaa818e2a6545 (diff) | |
download | gdb-e707bbc264cdc57ff14c3058637ac6a20e8db8bd.zip gdb-e707bbc264cdc57ff14c3058637ac6a20e8db8bd.tar.gz 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/target.c')
-rw-r--r-- | gdb/target.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/target.c b/gdb/target.c index 2cd4928..69f0345 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -2299,16 +2299,15 @@ initialize_targets (void) When non-zero, target debugging is enabled.", &setdebuglist), &showdebuglist); - add_show_from_set - (add_set_boolean_cmd - ("trust-readonly-sections", class_support, - &trust_readonly, - "Set mode for reading from readonly sections.\n\ + add_setshow_boolean_cmd ("trust-readonly-sections", class_support, + &trust_readonly, "\ +Set mode for reading from readonly sections.\n\ When this mode is on, memory reads from readonly sections (such as .text)\n\ will be read from the object file instead of from the target. This will\n\ -result in significant performance improvement for remote targets.", - &setlist), - &showlist); +result in significant performance improvement for remote targets.", "\ +Set mode for reading from readonly sections.\n", + NULL, NULL, + &setlist, &showlist); add_com ("monitor", class_obscure, do_monitor_command, "Send a command to the remote monitor (remote targets only)."); |