mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user