From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4235 invoked by alias); 29 Jul 2004 21:37:55 -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 4228 invoked from network); 29 Jul 2004 21:37:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 29 Jul 2004 21:37:54 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6TLbse3019800 for ; Thu, 29 Jul 2004 17:37:54 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6TLbsa26404; Thu, 29 Jul 2004 17:37:54 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CCF812B9D; Thu, 29 Jul 2004 17:37:49 -0400 (EDT) Message-ID: <41096E2D.9040302@gnu.org> Date: Thu, 29 Jul 2004 21:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [commit] Move REGISTER_U_ADDR to nm file Content-Type: multipart/mixed; boundary="------------070007040100070807080902" X-SW-Source: 2004-07/txt/msg00461.txt.bz2 This is a multi-part message in MIME format. --------------070007040100070807080902 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 39 Just one this time, committed. Andrew --------------070007040100070807080902 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1746 2004-07-29 Andrew Cagney * config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ... * config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here. Index: config/mips/nm-irix5.h =================================================================== RCS file: /cvs/src/src/gdb/config/mips/nm-irix5.h,v retrieving revision 1.8 diff -p -u -r1.8 nm-irix5.h --- config/mips/nm-irix5.h 4 Sep 2003 18:04:25 -0000 1.8 +++ config/mips/nm-irix5.h 29 Jul 2004 21:35:55 -0000 @@ -45,3 +45,10 @@ extern int procfs_stopped_by_watchpoint extern int procfs_set_watchpoint (ptid_t, CORE_ADDR, int, int, int); #define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1 + +/* Override register locations in upage for SGI machines */ +#define REGISTER_U_ADDR(addr, blockend, regno) \ + if (regno < PC_REGNUM) \ + addr = regno; \ + else \ + addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ Index: config/mips/xm-irix5.h =================================================================== RCS file: /cvs/src/src/gdb/config/mips/xm-irix5.h,v retrieving revision 1.4 diff -p -u -r1.4 xm-irix5.h --- config/mips/xm-irix5.h 5 Jun 2002 19:18:25 -0000 1.4 +++ config/mips/xm-irix5.h 29 Jul 2004 21:35:55 -0000 @@ -21,14 +21,6 @@ #include "config/xm-sysv4.h" -/* Override register locations in upage for SGI machines */ -#undef REGISTER_U_ADDR -#define REGISTER_U_ADDR(addr, blockend, regno) \ - if (regno < PC_REGNUM) \ - addr = regno; \ - else \ - addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ - /* This enables reliable signals (and the associated setjmp/longjmp), and gives bsdish prototypes for getpgrp/setpgrg/setgroups and initgroups. */ #define _BSD_COMPAT --------------070007040100070807080902--