summaryrefslogtreecommitdiff
path: root/gdb
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
commit671381701b79b112127f511a7ac059cfdea8388b (patch)
tree8356bcb905b5fa326d3128e9fa9453aa1a183aff /gdb
parent013dbf93cb62dc9c50ea3eef80bb064d1bb6795d (diff)
downloadgdb-671381701b79b112127f511a7ac059cfdea8388b.tar.gz
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.
Diffstat (limited to 'gdb')
-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 cdcdeca95ef..90b95e9b9b5 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 31c5eec89b3..f7dfc649676 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 a76484c1cd4..a5fdd9f4e8d 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;