From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17757 invoked by alias); 17 Jan 2003 21:37:48 -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 17721 invoked from network); 17 Jan 2003 21:37:46 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 17 Jan 2003 21:37:46 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h0HL9GB18130 for ; Fri, 17 Jan 2003 16:09:16 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0HLbea15345 for ; Fri, 17 Jan 2003 16:37:40 -0500 Received: from deneb.localdomain (msalter.cipe.redhat.com [10.0.0.36]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0HLbjI25961 for ; Fri, 17 Jan 2003 16:37:45 -0500 Received: by deneb.localdomain (Postfix, from userid 500) id 29E037884D; Fri, 17 Jan 2003 16:37:45 -0500 (EST) From: Mark Salter To: gdb-patches@sources.redhat.com Subject: gdb.asm/arm.inc tweak Message-Id: <20030117213745.29E037884D@deneb.localdomain> Date: Fri, 17 Jan 2003 21:37:00 -0000 X-SW-Source: 2003-01/txt/msg00659.txt.bz2 Here's a small tweak to fix asm tests on arm boards. Clearly, we don't want to clear $sp. It looked like the intent was to clear the frame pointer to limit backtraces. --Mark 2003-01-17 Mark Salter * gdb.asm/arm.inc (gdbasm_startup): Clear fp and r7 (thumb fp), not sp. Index: testsuite/gdb.asm/arm.inc =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/arm.inc,v retrieving revision 1.1 diff -u -p -5 -r1.1 arm.inc --- testsuite/gdb.asm/arm.inc 20 Dec 2001 22:12:20 -0000 1.1 +++ testsuite/gdb.asm/arm.inc 17 Jan 2003 21:35:28 -0000 @@ -27,8 +27,9 @@ swi 0x00123456 .endm comment "crt0 startup" .macro gdbasm_startup - mov sp, #0 + mov fp, #0 + mov r7, #0 .endm