aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-15 21:07:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-15 21:07:59 +0000
commite707bbc264cdc57ff14c3058637ac6a20e8db8bd (patch)
tree72bc0dbbfa8a636db985e01ebb7492209f18ddb9 /gdb/remote.c
parent93924b6b9955c51cd5a6d8444c9eaa818e2a6545 (diff)
downloadfsf-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/remote.c')
-rw-r--r--gdb/remote.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 9b3a4a8..c6bfc66 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6069,11 +6069,11 @@ response packet. GDB supplies the initial `$' character, and the\n\
terminating `#' character and checksum.",
&maintenancelist);
- add_show_from_set
- (add_set_boolean_cmd ("remotebreak", no_class, &remote_break,
- "Set whether to send break if interrupted.\n",
- &setlist),
- &showlist);
+ add_setshow_boolean_cmd ("remotebreak", no_class, &remote_break,
+ "Set whether to send break if interrupted.\n",
+ "Show whether to send break if interrupted.\n",
+ NULL, NULL,
+ &setlist, &showlist);
/* Install commands for configuring memory read/write packets. */