bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB IRIX 6.5 Multithread Problem


From: Alex Martin
Subject: GDB IRIX 6.5 Multithread Problem
Date: Fri, 26 Oct 2001 17:53:35 +0200
User-agent: Mozilla/5.0 (compatible; MSIE5.5; Winners use OpenSource;

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]