diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-09-23 11:55:32 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-02 10:02:34 -0500 |
commit | 7b065306be39502cd2e6b60696280ac720c67e66 (patch) | |
tree | e93a12e6bc8620f3f1e4368c53478437abba31c8 /libctf/ctf-hash.c | |
parent | b82d4ec99e3347b62a16cf5456628a37a128a99b (diff) | |
download | gdb-7b065306be39502cd2e6b60696280ac720c67e66.zip gdb-7b065306be39502cd2e6b60696280ac720c67e66.tar.gz gdb-7b065306be39502cd2e6b60696280ac720c67e66.tar.bz2 |
gdbsupport: add type definitions for pid, lwp and tid
A following patch will want to declare variables of the same type as
some ptid_t components. To make that easy (and avoid harcoding those
types everywhere), define some type definitions in the ptid_t struct for
each of them. Use them throughout ptid.h.
I initially used pid_t, lwp_t and tid_t, but there is the risk of some
system defining the pid_t type using a macro instead of a typedef, which
would break things. So, use the _type suffix instead.
Change-Id: I820b0bea9dafcb4914f1c9ba4bb96b5c666c8dec
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'libctf/ctf-hash.c')
0 files changed, 0 insertions, 0 deletions