From Peter Schauer: Define Solaris/x86 MERGEPID.
[deliverable/binutils-gdb.git] / gdb / config / i386 / tm-i386sol2.h
index 5de68cc84864c62e082afea4903c484bdbcc3341..0967ba53aed4ad5270a6df726afe05f4abdee51d 100644 (file)
@@ -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 */
This page took 0.023183 seconds and 4 git commands to generate.