summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.threads/linux-dp.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2d8b3ac83d9..2fe7580770b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2002-02-23 Michael Chastain <mec@shout.net>
+ * gdb.threads/linux-dp.c (philosopher): Add a return statement
+ to placate gcc.
+
+2002-02-23 Michael Chastain <mec@shout.net>
+
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
diff --git a/gdb/testsuite/gdb.threads/linux-dp.c b/gdb/testsuite/gdb.threads/linux-dp.c
index b66649b6411..c3775bd62ae 100644
--- a/gdb/testsuite/gdb.threads/linux-dp.c
+++ b/gdb/testsuite/gdb.threads/linux-dp.c
@@ -153,6 +153,8 @@ philosopher (void *data)
pthread_mutex_unlock (&fork_mutex[(n + 1) % num_philosophers]);
random_delay ();
}
+
+ return (void *) 0;
}
int