diff options
author | Michael Chastain <mec@google.com> | 2002-02-24 20:37:56 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2002-02-24 20:37:56 +0000 |
commit | 258ad32d2b6191f1c9db2b20249d174c5f980f3d (patch) | |
tree | 5101ac63488049a0f548eac820261b8e2933dfcb | |
parent | aab4e0ec4bbfa89b2e61952d7907ecfcc28afc09 (diff) | |
download | gdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.zip gdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.tar.gz gdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.tar.bz2 |
2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/pthreads.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2fe7580..9cf5135 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-02-24 Michael Chastain <mec@shout.net> + + * gdb.threads/pthreads.c (thread1): Add a return statement. + (thread2): Likewise. + (foo): Likewise. + 2002-02-23 Michael Chastain <mec@shout.net> * gdb.threads/linux-dp.c (philosopher): Add a return statement diff --git a/gdb/testsuite/gdb.threads/pthreads.c b/gdb/testsuite/gdb.threads/pthreads.c index 1fe1ae9..3df4c35 100644 --- a/gdb/testsuite/gdb.threads/pthreads.c +++ b/gdb/testsuite/gdb.threads/pthreads.c @@ -79,6 +79,7 @@ thread1 (void *arg) common_routine (1); sleep(1); } + return (void *) 0; } static void * @@ -96,9 +97,10 @@ thread2 (void * arg) sleep(1); } sleep(100); + return (void *) 0; } -int +void foo (a, b, c) int a, b, c; { |