diff options
author | Michael Chastain <mec@google.com> | 2002-02-24 00:42:39 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2002-02-24 00:42:39 +0000 |
commit | 04c3b3d429374ed08a16c7d3e3952cd2403a81fb (patch) | |
tree | 4e5ad2164edafa55f40a300ec9212cdb7eb8141f /gdb | |
parent | 3912137081abf0e9a1843804fc6f077918cac8a6 (diff) | |
download | gdb-04c3b3d429374ed08a16c7d3e3952cd2403a81fb.zip gdb-04c3b3d429374ed08a16c7d3e3952cd2403a81fb.tar.gz gdb-04c3b3d429374ed08a16c7d3e3952cd2403a81fb.tar.bz2 |
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/linux-dp.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2d8b3ac..2fe7580 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 b66649b..c3775bd 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 |