projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
From Peter Schauer: Define Solaris/x86 MERGEPID.
[deliverable/binutils-gdb.git]
/
gdb
/
config
/
i386
/
tm-i386sol2.h
diff --git
a/gdb/config/i386/tm-i386sol2.h
b/gdb/config/i386/tm-i386sol2.h
index 5de68cc84864c62e082afea4903c484bdbcc3341..0967ba53aed4ad5270a6df726afe05f4abdee51d 100644
(file)
--- 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 */
This page took
0.023183 seconds
and
4
git commands to generate.