From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1685 invoked by alias); 23 Feb 2004 19:58:14 -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 1670 invoked from network); 23 Feb 2004 19:58:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Feb 2004 19:58:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i1NJwDb32542 for ; Mon, 23 Feb 2004 14:58:13 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i1NJwDi29783; Mon, 23 Feb 2004 14:58:13 -0500 Received: from localhost.localdomain (vpn50-40.rdu.redhat.com [172.16.50.40]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i1NJwCNQ000787; Mon, 23 Feb 2004 14:58:12 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i1NJw6cG021683; Mon, 23 Feb 2004 12:58:06 -0700 Date: Mon, 23 Feb 2004 19:58:00 -0000 From: Kevin Buettner To: Andrew Cagney Cc: gdb-patches@sources.redhat.com, davidm@hpl.hp.com, Mark Kettenis , jjohnstn@redhat.com Subject: Re: make inferior calls work on ia64 even when syscall is pending Message-Id: <20040223125806.74fbb82e@saguaro> In-Reply-To: <40323FA2.4090009@gnu.org> References: <16371.12104.503371.251351@napali.hpl.hp.com> <200312312333.hBVNXNvg016633@elgar.kettenis.dyndns.org> <16428.9442.113820.725379@napali.hpl.hp.com> <200402131458.i1DEw4bu000328@elgar.kettenis.dyndns.org> <402CE955.70007@gnu.org> <16429.19070.362324.227537@napali.hpl.hp.com> <40323FA2.4090009@gnu.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00652.txt.bz2 On Tue, 17 Feb 2004 11:21:54 -0500 Andrew Cagney wrote: > > 2004-02-13 David Mosberger > > > > * Makefile.in (ia64_tdep_h): New macro. > > (ia64-linux-tdep.o): Mention $(ia64_tdep_h). > > (ia64-tdep.o): Likewise. > > > > * ia64-tdep.h (ia64_linux_write_pc): New file. > > * ia64-tdep.c: Update copyright notice. > > Include "ia64-tdep.h". > > (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h. > > (ia64_aix_sigcontext_register_address): Likewise. > > (ia64_linux_getunwind_table): Likewise. > > * ia64-linux-tdep.c: Likewise. > > Include "regcache.h" to get write_register_pid() declared. > > > I've checked this part in as obvious (David doesn't want ssh access :-) Thanks for doing this. (I was away last week and am slowing getting caught up...) > which leaves: > > > 2004-02-12 David Mosberger > > > > * ia64-tdep.c (ia64_linux_write_pc): Declare as extern. > > (ia64_write_pc): Make it a global function. > > (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc() > > instead of ia64_write_pc(). > > > > * ia64-linux-tdep.c (ia64_write_pc): Declare as extern. > > (ia64_linux_write_pc): New function. Works like ia64_write_pc(), > > except that it also clears r10 afterwards to prevent the kernel > > from attempting to restart an interrupt system call. I'll take care of committing this portion. Kevin