aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-29 13:38:55 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-29 13:38:55 +0000
commitb241ba8eab18119f11a6c95f7e577045e535ad39 (patch)
tree84002cf7fac82f2e9a2b63851bef4a7b55571224 /gdb
parent1211c4e429f8a2e8e70558160e94d6af6490c51f (diff)
downloadgdb-b241ba8eab18119f11a6c95f7e577045e535ad39.zip
gdb-b241ba8eab18119f11a6c95f7e577045e535ad39.tar.gz
gdb-b241ba8eab18119f11a6c95f7e577045e535ad39.tar.bz2
From Peter Schauer: Define Solaris/x86 MERGEPID.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/i386/tm-i386sol2.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 451cffa..420316a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+ * config/i386/tm-i386sol2.h (MERGEPID): Define.
+
Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 1999-08-13 J.T. Conklin <jtc@redback.com>:
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 */