From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4752 invoked by alias); 5 Feb 2004 00:37:36 -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 4745 invoked from network); 5 Feb 2004 00:37:35 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 5 Feb 2004 00:37:35 -0000 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 1A3B0800195 for ; Wed, 4 Feb 2004 19:37:35 -0500 (EST) Message-ID: <4021904F.1060106@redhat.com> Date: Thu, 05 Feb 2004 00:37:00 -0000 From: Jeff Johnston User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [RFA]: patch to ia64.inc in gdb.asm testsuite Content-Type: multipart/mixed; boundary="------------030209070501080603000606" X-SW-Source: 2004-02/txt/msg00093.txt.bz2 This is a multi-part message in MIME format. --------------030209070501080603000606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 686 The attached patch is needed to get the gdb.asm testsuite running successfully for ia64. A recent patch changed the link step to use the target linker rather than gcc. The old method was defaulting dynamic loading. The new code causes a static executable to be created with the first insn being that of gdbasm_startup. Previously, the first insn was just a mov, but this should be an alloc insn. Without this change, a SIGILL is caused for the first insn and the tests all fail. Ok to commit? -- Jeff J. 2004-02-04 Jeff Johnston * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction executed is an alloc instruction. --------------030209070501080603000606 Content-Type: text/plain; name="ia64asm.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ia64asm.patch" Content-length: 387 Index: ia64.inc =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/ia64.inc,v retrieving revision 1.1 diff -u -r1.1 ia64.inc --- ia64.inc 25 Aug 2003 23:43:40 -0000 1.1 +++ ia64.inc 5 Feb 2004 00:34:57 -0000 @@ -36,6 +36,7 @@ comment "crt0 startup" .macro gdbasm_startup + gdbasm_enter mov r32=r0 nop.i 0 nop.i 0 --------------030209070501080603000606--