From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28409 invoked by alias); 12 Mar 2004 22:00:59 -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 28402 invoked from network); 12 Mar 2004 22:00:58 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 12 Mar 2004 22:00:58 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D51AB2B92; Fri, 12 Mar 2004 17:00:58 -0500 (EST) Message-ID: <4052331A.5000508@gnu.org> Date: Fri, 12 Mar 2004 22:00: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: Manoj Iyer Cc: gdb@sources.redhat.com Subject: Re: (PPC64) 64 bit GDB unable to set br in 32bit app References: <404E2323.6050409@gnu.org> <4050BE28.3020100@gnu.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00127.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. It sounds like a problem with the hand editing then - per the above the variable does appear to have been added. Andrew