aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/funcargs.c2
-rw-r--r--gdb/testsuite/gdb.trace/gdb_c_test.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index cdcdeca..90b95e9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-06 Fred Fish <fnf@redhat.com>
+
+ * gdb.base/funcargs.c: Remove extraneous ';' character.
+ * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
+
2002-03-04 Michael Chastain <mec@shout.net>
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
diff --git a/gdb/testsuite/gdb.base/funcargs.c b/gdb/testsuite/gdb.base/funcargs.c
index 31c5eec..f7dfc64 100644
--- a/gdb/testsuite/gdb.base/funcargs.c
+++ b/gdb/testsuite/gdb.base/funcargs.c
@@ -747,7 +747,7 @@ int main ()
call2f (f, l, d, c, f, s, d, i);
call2g (l, d, c, f, s, d, i, f);
call2h (d, c, f, s, d, i, f, l);
- call2i (c, f, c, c, d, c, c, c, f, s, c, d);;
+ call2i (c, f, c, c, d, c, c, c, f, s, c, d);
/* Test dereferencing pointers to various integral and floating types */
diff --git a/gdb/testsuite/gdb.trace/gdb_c_test.c b/gdb/testsuite/gdb.trace/gdb_c_test.c
index 7477590..03382c2 100644
--- a/gdb/testsuite/gdb.trace/gdb_c_test.c
+++ b/gdb/testsuite/gdb.trace/gdb_c_test.c
@@ -2542,7 +2542,7 @@ find_memory(unsigned char *mem, long count,
mem, mem_block, mem_addr, mem_size, mem_stamp);
#endif
*location = mem_block + (mem - mem_addr);
- length = mem_size - (mem - mem_addr);;
+ length = mem_size - (mem - mem_addr);
if (length < count)
*incr = length;