From 04c12f60f9e0b1ce4d75b0c7454998413e12ff0e Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 7 Mar 2002 04:18:55 +0000 Subject: [PATCH] Checked in under the "obvious fix/typo rule". 2002-03-06 Fred Fish * gdb.base/funcargs.c: Remove extraneous ';' character. * gdb.trace/gdb_c_test.c: Remove extraneous ';' character. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/funcargs.c | 2 +- gdb/testsuite/gdb.trace/gdb_c_test.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cdcdeca95e..90b95e9b9b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-03-06 Fred Fish + + * gdb.base/funcargs.c: Remove extraneous ';' character. + * gdb.trace/gdb_c_test.c: Remove extraneous ';' character. + 2002-03-04 Michael Chastain * 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 31c5eec89b..f7dfc64967 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 747759011a..03382c27d7 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;