This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]