From owner-p4-projects@FreeBSD.ORG Tue Aug 1 05:33:10 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B969D16D6A7; Tue, 1 Aug 2006 05:32:00 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8743F16C619 for ; Tue, 1 Aug 2006 05:30:30 +0000 (UTC) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4853043D49 for ; Tue, 1 Aug 2006 05:30:30 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k715UUfT034973 for ; Tue, 1 Aug 2006 05:30:30 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k715UTw0034970 for perforce@freebsd.org; Tue, 1 Aug 2006 05:30:29 GMT (envelope-from marcel@freebsd.org) Date: Tue, 1 Aug 2006 05:30:29 GMT Message-Id: <200608010530.k715UTw0034970@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 102892 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 05:33:10 -0000 http://perforce.freebsd.org/chv.cgi?CH=102892 Change 102892 by marcel@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 */