From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5821 invoked by alias); 18 Jan 2002 17:56:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5779 invoked from network); 18 Jan 2002 17:56:17 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 18 Jan 2002 17:56:17 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id 345809869; Fri, 18 Jan 2002 09:56:17 -0800 (PST) Date: Fri, 18 Jan 2002 09:56:00 -0000 From: Jason R Thorpe To: gdb-patches@sources.redhat.com Subject: [RFA] Remove KERNEL_U_ADDR from config/nm-nbsd.h Message-ID: <20020118095617.F28259@dr-evil.shagadelic.org> Reply-To: thorpej@wasabisystems.com Mail-Followup-To: Jason R Thorpe , gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Wasabi Systems, Inc. X-SW-Source: 2002-01/txt/msg00515.txt.bz2 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 638 The following patch removes the definition of KERNEL_U_ADDR from the NetBSD native configs. The reason for doing so: the definition is completely bogus. NetBSD has not used the U-area for process or core file debugging for many many years, and the U-area isn't even double-mapped at a fixed address anymore (i.e. there is no "u."). In addition, pulling in (for the USRSTACK definition) on some targets causes a compilation error, since this file is not meant to be included directly (or by userland at all!). * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. -- -- Jason R. Thorpe --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Description: nbsd-u-patch Content-Disposition: attachment; filename=foo Content-length: 669 Index: config/nm-nbsd.h =================================================================== RCS file: /cvs/src/src/gdb/config/nm-nbsd.h,v retrieving revision 1.1.1.3 diff -c -r1.1.1.3 nm-nbsd.h *** nm-nbsd.h 1999/12/14 01:05:40 1.1.1.3 --- nm-nbsd.h 2002/01/18 17:49:25 *************** *** 18,30 **** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - /* This is the amount to subtract from u.u_ar0 - to get the offset in the core file of the register values. */ - - #include - - #define KERNEL_U_ADDR USRSTACK - #define PTRACE_ARG3_TYPE char* #define FETCH_INFERIOR_REGISTERS --- 18,23 ---- --W/nzBZO5zC0uMSeA--