Hi.

I am running 
RH 6.1 on
Linux green4 2.2.12-42smp #1 SMP Fri Nov 12 12:33:56 EST 1999 sparc64
unknown

and can't get gdb 4.18 to debug multithreaded progs

pthread_create() results in     
        

GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "sparc-redhat-linux"...
(gdb) r
Starting program: /home/issaakia/src/ramdb/main 
start

Program received signal ?, Unknown signal.
0x7010d71c in __syscall_rt_sigsuspend () at soinit.c:59
59      soinit.c: No such file or directory.
Current language:  auto; currently c
(gdb) 
Continuing.
warning: Signal ? does not exist on this system.


and afterwards gdb is just hanging.

Compiling gdb from SRPMS fails with

./configure sparc64-redhat-linux-gnu
make
sparc-tdep.c: At top level:
sparc-tdep.c:1333: parse error before `prgregset_t'
sparc-tdep.c:1333: warning: type defaults to `int' in declaration of
`gregsetp'
sparc-tdep.c:1333: warning: data definition has no type or storage class
sparc-tdep.c:1334: parse error before `{'
sparc-tdep.c:1336: parse error before `*'
sparc-tdep.c:1336: warning: type defaults to `int' in declaration of
`regp'
sparc-tdep.c:1336: `prgreg_t' undeclared here (not in a function)

Anybody knows if there is a patch for gdb + threads on linux + sparc ?
----
K.

Reply via email to