From: Andrew Cagney Date: Tue, 14 Nov 2000 13:45:38 +0000 (+0000) Subject: Fix ``show remotewritesize'' was doing a set. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ad5b0f7164ad77f26cce121fc78fd8a55591147;p=binutils-gdb.git Fix ``show remotewritesize'' was doing a set. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b82cc1f5a4a..67b1fcd2723 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Wed Nov 15 00:29:46 2000 Andrew Cagney + + From Klaus Espenlaub + * remote.c (_initialize_remote): Call + show_memory_write_packet_size when ``show remotewritesize'' + command. + 2000-11-13 Eli Zaretskii * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle diff --git a/gdb/remote.c b/gdb/remote.c index 2cd3089b601..9764e583ff2 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5577,7 +5577,7 @@ terminating `#' character and checksum.", add_cmd ("remotewritesize", no_class, set_memory_write_packet_size, "Set the maximum number of bytes per memory write packet (deprecated).\n", &setlist); - add_cmd ("remotewritesize", no_class, set_memory_write_packet_size, + add_cmd ("remotewritesize", no_class, show_memory_write_packet_size, "Show the maximum number of bytes per memory write packet (deprecated).\n", &showlist); add_cmd ("memory-write-packet-size", no_class,