diff options
author | Doug Evans <dje@google.com> | 2009-05-11 16:24:14 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-05-11 16:24:14 +0000 |
commit | e2009e9879336fcf86f6f11b4c22d273e3ab2717 (patch) | |
tree | 8868061eb8bea46203ea0e69a169a0c60b4152da /gdb/testsuite/gdb.mi/nsintrall.c | |
parent | 0090345643feb25a5214871384c4cccf55f2e991 (diff) | |
download | binutils-gdb-e2009e9879336fcf86f6f11b4c22d273e3ab2717.tar.gz |
* gdb.mi/nsintrall.c (main): Fix off-by-one error.
* gdb.threads/pending-step.c (main): Fix off-by-one error.
* gdb.threads/schedlock.c (main): Fix off-by-one error.
Diffstat (limited to 'gdb/testsuite/gdb.mi/nsintrall.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/nsintrall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/nsintrall.c b/gdb/testsuite/gdb.mi/nsintrall.c index 031497a3773..410075fe144 100644 --- a/gdb/testsuite/gdb.mi/nsintrall.c +++ b/gdb/testsuite/gdb.mi/nsintrall.c @@ -35,7 +35,7 @@ int main() { for (i = 1; i <= NUM; i++) { args[i] = 1; - res = pthread_create(&threads[i], + res = pthread_create(&threads[i - 1], NULL, thread_function, (void *) i); |