From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21420 invoked by alias); 11 Mar 2004 20:30:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21392 invoked from network); 11 Mar 2004 20:30:50 -0000 Received: from unknown (HELO e34.co.us.ibm.com) (32.97.110.132) by sources.redhat.com with SMTP; 11 Mar 2004 20:30:50 -0000 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2BKUWrj410348; Thu, 11 Mar 2004 15:30:32 -0500 Received: from austin.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i2BKUVve385816; Thu, 11 Mar 2004 13:30:31 -0700 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i2BKUUvE048228; Thu, 11 Mar 2004 14:30:30 -0600 Date: Thu, 11 Mar 2004 20:30:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Andrew Cagney cc: gdb@sources.redhat.com Subject: Re: (PPC64) 64 bit GDB unable to set br in 32bit app In-Reply-To: <4050BE28.3020100@gnu.org> Message-ID: References: <404E2323.6050409@gnu.org> <4050BE28.3020100@gnu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03/txt/msg00107.txt.bz2 On Thu, 11 Mar 2004, Andrew Cagney wrote: > > They are mainline patches that may get backported to 6.1. I'm wondering > if the patches applied cleanly as they appear to contain: > > +static struct regset ppc32_linux_gregset = { > + NULL, ppc32_linux_supply_gregset > +}; > ... > +ppc_linux_regset_from_core_section (struct gdbarch *core_arch, > + const char *sect_name, size_t sect_size) > ... > + if (tdep->wordsize == 4) > + return &ppc32_linux_gregset; > No some of them did not, I had to hand edit the code by looking at the patch. BUT. When I use the latest compiler(powerpc64-linux-gcc (GCC) 3.3.3-hammer), ppc-linux-tdep.c fails to compile, it complains of undeclared variables ppc32_linux_gregset. -- Manjo