From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6888 invoked by alias); 28 Apr 2004 15:58:38 -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 6881 invoked from network); 28 Apr 2004 15:58:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 28 Apr 2004 15:58:38 -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 i3SFwbKI029310 for ; Wed, 28 Apr 2004 11:58:37 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3SFwbv09381; Wed, 28 Apr 2004 11:58:37 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 604F72B9D; Wed, 28 Apr 2004 11:58:40 -0400 (EDT) Message-ID: <408FD4B0.1000706@gnu.org> Date: Wed, 28 Apr 2004 15:58: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: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa] hppa-linux target, 2nd try References: <20040424192614.GD2923@tausq.org> In-Reply-To: <20040424192614.GD2923@tausq.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00634.txt.bz2 > 2004-04-24 Randolph Chung > > * configure.host (hppa*-*-linux*): New target. > * configure.tgt (hppa*-*-linux*): Likewise. > * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move > gdbarch_init_osabi() call earlier so that osabi-specific frame > unwinders can be registered first. > * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and > * config/pa/tm-hppa.h: Add definitions of some register numbers. > * config/pa/linux.mh: New file. > * config/pa/linux.mt: New file. > * config/pa/nm-linux.h: New file. > * config/pa/xm-linux.h: New file. > * hppa-linux-nat.c: New file. > * hppa-linux-tdep.c: New file. This is all ok. > +static struct insn_pattern hppa_sigtramp[] = { > + /* ldi 0, %r25 or ldi 1, %r25 */ > + { 0x34190000, 0xfffffffd }, > + /* ldi __NR_rt_sigreturn, %r20 */ > + { 0x3414015a, 0xffffffff }, > + /* be,l 0x100(%sr2, %r0), %sr0, %r31 */ > + { 0xe4008200, 0xffffffff }, > + /* nop */ > + { 0x08000240, 0xffffffff }, > + { 0, 0 } > +}; hmm, perhaps the mask can be integrated into tramp-frame.[hc], anyone? Andrew