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 b82cc1f5a4ac73bbdfac78df0c20cdd048208320..67b1fcd272337e75670c8c21e8321c7205ac0a5c 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 2cd3089b601a7a45d10b487d316644dcc32a1b46..9764e583ff2bf23ee682a7057f965558fd760609 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,