diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-29 13:38:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-29 13:38:55 +0000 |
commit | b241ba8eab18119f11a6c95f7e577045e535ad39 (patch) | |
tree | 84002cf7fac82f2e9a2b63851bef4a7b55571224 /gdb/config | |
parent | 1211c4e429f8a2e8e70558160e94d6af6490c51f (diff) | |
download | gdb-b241ba8eab18119f11a6c95f7e577045e535ad39.zip gdb-b241ba8eab18119f11a6c95f7e577045e535ad39.tar.gz gdb-b241ba8eab18119f11a6c95f7e577045e535ad39.tar.bz2 |
From Peter Schauer: Define Solaris/x86 MERGEPID.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-i386sol2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h index 5de68cc..0967ba5 100644 --- a/gdb/config/i386/tm-i386sol2.h +++ b/gdb/config/i386/tm-i386sol2.h @@ -45,5 +45,6 @@ extern char *sunpro_static_transform_name PARAMS ((char *)); /* Macros to extract process id and thread id from a composite pid/tid */ #define PIDGET(pid) ((pid) & 0xffff) #define TIDGET(pid) (((pid) >> 16) & 0xffff) +#define MERGEPID(pid, tid) (((tid) << 16) | (pid)) #endif /* ifndef TM_I386SOL2_H */ |