Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "John Hughes" <john@Calva.COM>
To: "Kevin Buettner" <kevinb@cygnus.com>, <gdb@sourceware.cygnus.com>
Cc: "Michael Snyder" <msnyder@cygnus.com>
Subject: RE: When is a tid a lwp and vice versa?
Date: Sun, 08 Jul 2001 02:22:00 -0000	[thread overview]
Message-ID: <CDENKKMHIFMALMCCKPCFKEEPCAAA.john@Calva.COM> (raw)
In-Reply-To: <1010706155030.ZM32038@ocotillo.lan>

>>
>> The lwpid is 1, not zero, of course.
>
> Is 1 a reasonable value for pi->prstatus.pr_lwp.pr_lwpid ?  (It looks
> rather fishy to me.)

The first lwpid is 1, like the first pid is 1.

$  ps -fLp 1,$$
     UID   PID  PPID   LWP  NLWP  CLS PRI  C    STIME TTY     LTIME COMD
    root     1     0     1     1   TS  70  0   Jun 25 ?        5:26
/sbin/init
    john  1576  1574     1     1   TS  70  0   Jul 06 pts/19   0:00 -bash


  parent reply	other threads:[~2001-07-08  2:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1010703175044.ZM25944@ocotillo.lan>
2001-07-04  1:54 ` John Hughes
2001-07-06  8:50   ` Kevin Buettner
2001-07-06 14:23     ` Michael Snyder
2001-07-08  2:22     ` John Hughes [this message]
2001-06-29  1:52 John Hughes
2001-06-29  3:33 ` John Hughes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CDENKKMHIFMALMCCKPCFKEEPCAAA.john@Calva.COM \
    --to=john@calva.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=kevinb@cygnus.com \
    --cc=msnyder@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox