From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14721 invoked by alias); 28 Nov 2003 21:34:04 -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 14714 invoked from network); 28 Nov 2003 21:34:02 -0000 Received: from unknown (HELO fred.ninemoons.com) (68.14.214.217) by sources.redhat.com with SMTP; 28 Nov 2003 21:34:02 -0000 Received: from fred.ninemoons.com (fred.ninemoons.com [127.0.0.1]) by fred.ninemoons.com (8.12.8/8.12.8) with ESMTP id hASLXvLX011976; Fri, 28 Nov 2003 14:33:58 -0700 Received: (from fnf@localhost) by fred.ninemoons.com (8.12.8/8.12.8/Submit) id hASLXpHs011974; Fri, 28 Nov 2003 14:33:51 -0700 From: Fred Fish Message-Id: <200311282133.hASLXpHs011974@fred.ninemoons.com> Subject: [PATCH] Fix gdb.arch/{gdb1291.c,gdb1431.c} To: gdb-patches@sources.redhat.com Date: Fri, 28 Nov 2003 21:34:00 -0000 Cc: fnf@ninemoons.com Reply-To: fnf@ninemoons.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00613.txt.bz2 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 2003-11-28 Fred Fish * gdb.arch/gdb1431.c: Add underbar prefixed version of global function symbols. * gdb.arch/gdb1291.c: Ditto. Index: 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 *** gdb.arch/gdb1291.c 3 Nov 2003 17:42:52 -0000 1.1 --- gdb.arch/gdb1291.c 28 Nov 2003 21:26:11 -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: 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 *** gdb.arch/gdb1431.c 3 Nov 2003 17:42:52 -0000 1.1 --- gdb.arch/gdb1431.c 28 Nov 2003 21:26:12 -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"