diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-09-30 16:16:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-09-30 16:16:16 +0000 |
commit | f892cc7753952a795743e218c2b5e105b8f88eba (patch) | |
tree | 0b62a47eedaa5839f8dad01a6a4b4d0986e0f473 /gdb/remote.c | |
parent | fbeb090c65b6890afec5502d4abbc4cb823e10b0 (diff) | |
download | gdb-f892cc7753952a795743e218c2b5e105b8f88eba.tar.gz |
* 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.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index ecf9afcfea9..0555088bdf4 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. */ |