Marcel Moolenaar 1f7a1baa37 After maintaining previous behaviour in writing out the core notes, it's
time now to break with the past: do not write the PID in the first note.
Rationale:
1.  [impact of the breakage] Process IDs in core files serve no immediate
    purpose to the debugger itself. They are only useful to relate a core
    file to a process. This can provide context to the person looking at
    the core file, provided one keeps track of this. Overall, not having
    the PID in the core file is only in very rare occasions unfortunate.
2.  [reason of the breakage] Having one PRSTATUS note contain the PID,
    while all others contain the LWPID of the corresponding kernel thread
    creates an irregularity for the debugger that cannot easily be worked
    around. This is caused by libthread_db correlating user thread IDs to
    kernel thread (aka LWP) IDs and thus aware of the actual LWPIDs.

Update comments accordingly.
2004-07-18 20:28:07 +00:00
..
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-06-17 17:16:53 +00:00
2004-07-10 21:36:01 +00:00
2004-07-13 16:33:38 +00:00
2003-06-11 00:56:59 +00:00
2004-07-10 21:36:01 +00:00
2004-07-15 08:01:00 +00:00
2004-07-16 21:01:52 +00:00
2004-06-21 22:34:57 +00:00
2004-06-11 11:16:26 +00:00
2004-07-13 19:36:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-07-10 21:43:23 +00:00
2004-07-10 21:42:16 +00:00
2004-07-17 23:15:41 +00:00
2004-07-13 19:36:59 +00:00
2003-06-11 00:56:59 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-07-10 21:43:23 +00:00
2004-06-17 17:16:53 +00:00
2004-05-30 20:34:58 +00:00
2004-07-15 08:01:00 +00:00
2004-07-10 21:47:53 +00:00