aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2002-03-07 04:18:55 +0000
committerFred Fish <fnf@specifix.com>2002-03-07 04:18:55 +0000
commit04c12f60f9e0b1ce4d75b0c7454998413e12ff0e (patch)
tree2ca1b8e817c156ecdcf98b3de79fb3d8add58afe
parent3ddbd84c49e7b450704e5d88d96da2ded31a5b01 (diff)
downloadfsf-binutils-gdb-04c12f60f9e0b1ce4d75b0c7454998413e12ff0e.zip
fsf-binutils-gdb-04c12f60f9e0b1ce4d75b0c7454998413e12ff0e.tar.gz
fsf-binutils-gdb-04c12f60f9e0b1ce4d75b0c7454998413e12ff0e.tar.bz2
Checked in under the "obvious fix/typo rule".
2002-03-06 Fred Fish <fnf@redhat.com> * gdb.base/funcargs.c: Remove extraneous ';' character. * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
-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;