From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21213 invoked by alias); 4 Feb 2004 05:17:21 -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 21157 invoked from network); 4 Feb 2004 05:17:19 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 4 Feb 2004 05:17:19 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i145HIb23812 for ; Wed, 4 Feb 2004 00:17:18 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i145HGM07097; Wed, 4 Feb 2004 00:17:16 -0500 Received: from 192.168.1.129 (vpn50-4.rdu.redhat.com [172.16.50.4]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i145HFb22061; Tue, 3 Feb 2004 21:17:15 -0800 From: Fred Fish Reply-To: fnf@ninemoons.com To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Resubmitted - Fix gdb.arch/{gdb1291.c,gdb1431.c} Date: Wed, 04 Feb 2004 05:17:00 -0000 User-Agent: KMail/1.5.4 Cc: fnf@ninemoons.com References: <200311282133.hASLXpHs011974@fred.ninemoons.com> In-Reply-To: <200311282133.hASLXpHs011974@fred.ninemoons.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402032216.37116.fnf@ninemoons.com> X-SW-Source: 2004-02/txt/msg00065.txt.bz2 On Friday 28 November 2003 14:33, Fred Fish wrote: > Apparently the SH toolchain has changed recently to start adding > underbar prefixes. This patch allows resolution of the global > function symbols with either convention. > > -Fred This patch never (AFAIK) got reviewed or approved so I'm resubmitting it. Here is a fresh copy. -Fred 2004-02-03 Fred Fish * gdb.arch/gdb1431.c: Add underbar prefixed version of global function symbols. * gdb.arch/gdb1291.c: Ditto. Index: testsuite/gdb.arch/gdb1291.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/gdb1291.c,v retrieving revision 1.1 diff -c -p -r1.1 gdb1291.c *** testsuite/gdb.arch/gdb1291.c 3 Nov 2003 17:42:52 -0000 1.1 --- testsuite/gdb.arch/gdb1291.c 4 Feb 2004 04:59:51 -0000 *************** main() *** 29,34 **** --- 29,35 ---- asm(".text\n" " .align 5\n" "sub:\n" + "_sub:\n" " mov.l r14,@-r15\n" " mov.w .STACK2,r3\n" " sub r3,r15\n" Index: testsuite/gdb.arch/gdb1431.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/gdb1431.c,v retrieving revision 1.1 diff -c -p -r1.1 gdb1431.c *** testsuite/gdb.arch/gdb1431.c 3 Nov 2003 17:42:52 -0000 1.1 --- testsuite/gdb.arch/gdb1431.c 4 Feb 2004 04:59:51 -0000 *************** main() *** 31,36 **** --- 31,37 ---- asm(".text\n" " .align 5\n" "sub1:\n" + "_sub1:\n" " mov.l r14,@-r15\n" " add #-128,r15\n" " add #-128,r15\n" *************** asm(".text\n" *** 48,53 **** --- 49,55 ---- asm(".text\n" " .align 5\n" "sub2:\n" + "_sub2:\n" " mov.l r14,@-r15\n" " mov.w .STACK2,r3\n" " sub r3,r15\n"