aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-05-08 22:03:35 +0000
committerDavid Carlton <carlton@bactrian.org>2003-05-08 22:03:35 +0000
commiteb294659eb81c6e37c4efb5a3f9d6c3f94857b2e (patch)
tree20b9e0898184564a351a1bea26f4bb5d3b13fbbb
parentdf5215a60c30bf8c931afd2328081d5ec20d21bc (diff)
downloadgdb-eb294659eb81c6e37c4efb5a3f9d6c3f94857b2e.zip
gdb-eb294659eb81c6e37c4efb5a3f9d6c3f94857b2e.tar.gz
gdb-eb294659eb81c6e37c4efb5a3f9d6c3f94857b2e.tar.bz2
2003-05-08 David Carlton <carlton@math.stanford.edu>
* valops.c (push_word): Fix typo.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/valops.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7f439cd..12ec09b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-08 David Carlton <carlton@math.stanford.edu>
+
+ * valops.c (push_word): Fix typo.
+
2003-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
diff --git a/gdb/valops.c b/gdb/valops.c
index eae2dc8..e54969c 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -962,7 +962,7 @@ CORE_ADDR
push_word (CORE_ADDR sp, ULONGEST word)
{
register int len = DEPRECATED_REGISTER_SIZE;
- char buffer[MAX_REGISTER_SIZE]);
+ char buffer[MAX_REGISTER_SIZE];
store_unsigned_integer (buffer, len, word);
if (INNER_THAN (1, 2))