Fix ``show remotewritesize'' was doing a set.
authorAndrew Cagney <cagney@redhat.com>
Tue, 14 Nov 2000 13:45:38 +0000 (13:45 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 14 Nov 2000 13:45:38 +0000 (13:45 +0000)
gdb/ChangeLog
gdb/remote.c

index b82cc1f..67b1fcd 100644 (file)
@@ -1,3 +1,10 @@
+Wed Nov 15 00:29:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Klaus Espenlaub <espenlaub@informatik.uni-ulm.de>
+       * remote.c (_initialize_remote): Call
+       show_memory_write_packet_size when ``show remotewritesize''
+       command.
+
 2000-11-13  Eli Zaretskii <eliz@is.elta.co.il>
 
        * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
index 2cd3089..9764e58 100644 (file)
@@ -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,