$ gdb --version
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.

However, since this is linux, threads = processes, unlike Solaris.

Sanju.

-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Dossy
Sent: Sunday, October 21, 2001 5:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Trying to debug a C module?


On 2001.10.21, Sanjivendra Nath <[EMAIL PROTECTED]> wrote:
> I do notice that there's 5 threads/processes running (RedHat 7.1 Linux) -
so
> perhaps its being serviced through another thread.  Can I limit nsd8x
> startup process to 1 thread, so that I can trap the call within gdb?

What version of gdb are you running?  Only the more recent versions
can handle threaded processes (correctly).  This is what I'm running:

$ gdb --version
GNU gdb 19990928

(Yes, 09/28/1999 is "newer" ... scary.)

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)

Reply via email to