aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-09-30 16:16:16 +0000
committerAndrew Cagney <cagney@redhat.com>2001-09-30 16:16:16 +0000
commitf3796e26572d9c543bde60af67a4c43311098526 (patch)
tree7614c52cf58fde9f058585b98375aaefc38a9e73 /gdb/remote.c
parent528a2d4a4bf4b27fe865db5c2fd19864c483b438 (diff)
downloadbinutils-f3796e26572d9c543bde60af67a4c43311098526.zip
binutils-f3796e26572d9c543bde60af67a4c43311098526.tar.gz
binutils-f3796e26572d9c543bde60af67a4c43311098526.tar.bz2
* cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare. * command.h (add_set_boolean_cmd): Ditto. * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set remotebreak"
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index ecf9afc..0555088 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -5877,10 +5877,9 @@ terminating `#' character and checksum.",
&maintenancelist);
add_show_from_set
- (add_set_cmd ("remotebreak", no_class,
- var_boolean, (char *) &remote_break,
- "Set whether to send break if interrupted.\n",
- &setlist),
+ (add_set_boolean_cmd ("remotebreak", no_class, &remote_break,
+ "Set whether to send break if interrupted.\n",
+ &setlist),
&showlist);
/* Install commands for configuring memory read/write packets. */