Re: debugging a multi-threaded program on linux.
From: Scott Lacy Smith (scott_at_bugfree.salley.net)
Date: 05/10/03
- Next message: Sean Burke: "Re: Disturbing truss output"
- Previous message: RAM VERMA: "finding # of file descriptor used in a process"
- In reply to: hagai yaffe: "debugging a multi-threaded program on linux."
- Next in thread: nitin_panj: "Re: debugging a multi-threaded program on linux."
- Reply: nitin_panj: "Re: debugging a multi-threaded program on linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 10 May 2003 05:36:59 GMT
On 9 May 2003 07:44:39 -0700, hagai yaffe <hagaiy@yahoo.com> wrote:
> hello.
>
> i have got a multi-threaded c program that uses the pthread library,
> it works fine on solaris & aix. on ret-hat linux 7.2 i have got
> strange problems, it seems like i am getting into code areas that i
Make sure your program uses a dynamically linked version of pthread.
That is the only way to debug a multi-threaded process on my machine.
I don't remember if that is the only requirement, but gdb can handle
threads on Linux.
-- Scott Lacy Smith <scottlacysmith@qwest.net> "Nullus Anxietas"
- Next message: Sean Burke: "Re: Disturbing truss output"
- Previous message: RAM VERMA: "finding # of file descriptor used in a process"
- In reply to: hagai yaffe: "debugging a multi-threaded program on linux."
- Next in thread: nitin_panj: "Re: debugging a multi-threaded program on linux."
- Reply: nitin_panj: "Re: debugging a multi-threaded program on linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|