summaryrefslogtreecommitdiff
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
commite958055526a30940310d8a52973b7ee565429331 (patch)
tree5081d843608312a1b5339d44f6d8d775080ce781
parent1b3341daa51ba4e78a0eef777a174ce89da84d7b (diff)
downloadgdb-e958055526a30940310d8a52973b7ee565429331.tar.gz
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 7f439cdc479..12ec09b70f4 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 eae2dc857f9..e54969c3743 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))