This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about gdb


> 
> Mr. Lu!
> 
> I hope I can get some help from you - or maybe you know where I can get s=
> ome help
> about gdb. I'm running RedHat 5.1 linux kernel 2.0.36, binutils-2.9.1.0.1=
> 5 and
> latest egcs-snapshot. However - gdb doesn't work on my multithread progra=
> ms.
> 
> I did try to get the latest snapshot from gdb-4.17 from www.cygnus.com/gd=
> b but
> that version didn't work. it core-dumped during startup, however I manage=
> d to fix
> those bugs by modifying some maybe bogus code in libiberty/cplus-dem.c an=
> d then
> gdb started. The problem is now that gdb sends my s SIGUSR1 signal per th=
> read beeing
> started and I have no way to put breakpoints in the code. There gotta be =
> some way
> to get gdb work with threaded applications! :-/
> 

I heard there was a patch for gdb to handle thread. But I don't know
where it is.

-- 
H.J. Lu (hjl@gnu.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]