aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-11-14 13:45:38 +0000
committerAndrew Cagney <cagney@redhat.com>2000-11-14 13:45:38 +0000
commit4ad5b0f7164ad77f26cce121fc78fd8a55591147 (patch)
tree358d6986120f67193a4f27428c2232d06f37a211
parent39124deab4dd6d459c530a6febc5efc5f0c98faf (diff)
downloadgdb-4ad5b0f7164ad77f26cce121fc78fd8a55591147.zip
gdb-4ad5b0f7164ad77f26cce121fc78fd8a55591147.tar.gz
gdb-4ad5b0f7164ad77f26cce121fc78fd8a55591147.tar.bz2
Fix ``show remotewritesize'' was doing a set.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/remote.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b82cc1f..67b1fcd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/remote.c b/gdb/remote.c
index 2cd3089..9764e58 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,