PERFORCE change 102892 for review
Marcel Moolenaar
marcel at FreeBSD.org
Tue Aug 1 05:33:10 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=102892
Change 102892 by marcel at marcel_nfs on 2006/08/01 05:30:06
Core/NG note types.
Affected files ...
.. //depot/projects/gdb/sys/sys/elf_common.h#4 edit
Differences ...
==== //depot/projects/gdb/sys/sys/elf_common.h#4 (text+ko) ====
@@ -325,11 +325,18 @@
executable contains code using a static
thread-local storage scheme. */
-/* Values for n_type. Used in core files. */
+/* Values for n_type. Used by 6.x and older core files. */
#define NT_PRSTATUS 1 /* Process status. */
#define NT_FPREGSET 2 /* Floating point registers. */
#define NT_PRPSINFO 3 /* Process state info. */
+/* Note types used by Core/NG (7.x and up). */
+#define _NT_CORE(x) ((ET_CORE << 16) | ((x) & 0xffff))
+#define NT_CORE_PROC _NT_CORE(0x0000)
+#define NT_CORE_THREAD _NT_CORE(0x0001)
+#define NT_CORE_KERNEL _NT_CORE(0x0100)
+#define NT_CORE_CPU _NT_CORE(0x0101)
+
/* Symbol Binding - ELFNN_ST_BIND - st_info */
#define STB_LOCAL 0 /* Local symbol */
#define STB_GLOBAL 1 /* Global symbol */
More information about the p4-projects
mailing list