summaryrefslogtreecommitdiff
path: root/open_issues/thread_numbering_of_ps_and_gdb.mdwn
blob: 7058cfe21935aa8202a4ece2e56af4567295e87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

It appears to [[me|tschwinge]] that `ps -T` enumerates thread IDs starting with
zero, and GDB starting with one.  This should be unified.

Or instead of manually allocating numbers, some other handle should be used,
that has a global meaning for the running GNU Mach kernel, or a process-wide
meaning, for example a port number.

[[!tag open_issue_hurd open_issue_gdb]]


Also see [[GDB thread IDs]].