Hi all,
Firstable apologies for my english.
I'm having problems to debug my multithread program :( on my IRIX 6.5 box.
I have written this simple example and linked to -lpthread and I got the
same problem.
#include <stdio.h>
int main () {
printf ("Hello World\n");
return 0;
}
$ gcc hello.c -lpthread
$ gdb a.out
(gdb) run
Starting program: /usr/people/alex/a.out
warning: Signal ? does not exist on this system.
^C
procfs: target_wait (wait_for_stop) line 3677, /proc/364068: Interrupted
function call.
(gdb) backtrace
#0 __start () at
/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s:101
If I didn't link to pthread library it runs fine.
GCC 3.0
GDB Version 5.0
IRIX 6.5
Any help will be appreciated.
All best,
Alex Martin
_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb