This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] typo in valops.c
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Date: 08 May 2003 15:04:39 -0700
- Subject: [patch] typo in valops.c
I've committed the following as obvious; tested by verifying that,
with it, valops.c compiles.
David Carlton
carlton@math.stanford.edu
2003-05-08 David Carlton <carlton@math.stanford.edu>
* valops.c (push_word): Fix typo.
Index: valops.c
===================================================================
RCS file: /cvs/src/src/gdb/valops.c,v
retrieving revision 1.107
diff -u -p -r1.107 valops.c
--- valops.c 8 May 2003 20:52:49 -0000 1.107
+++ valops.c 8 May 2003 22:02:27 -0000
@@ -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))