From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3925 invoked by alias); 7 Jul 2003 14:11:33 -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 3916 invoked from network); 7 Jul 2003 14:11:32 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 7 Jul 2003 14:11:32 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19ZWjA-00062s-00; Mon, 07 Jul 2003 09:12:24 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19ZWhq-0007IK-00; Mon, 07 Jul 2003 10:11:02 -0400 Date: Mon, 07 Jul 2003 14:11:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Support for m68k in asm-source.exp Message-ID: <20030707141101.GA27227@nevyn.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00116.txt.bz2 On Sun, Jul 06, 2003 at 08:23:56PM +0200, Andreas Schwab wrote: > This adds support for m68k in asm-source.exp in the testsuite (no > failures on m68k-linux). OK for HEAD and 6.0 branch? Yes, this is fine. Thanks! > > Andreas. > > 2003-07-06 Andreas Schwab > > * gdb.asm/m68k.inc: New file. > * gdb.asm/asm-source.exp: Use it for m68k-*-*. > > --- gdb/testsuite/gdb.asm/asm-source.exp.~1.38.~ 2003-06-03 00:08:50.000000000 +0200 > +++ gdb/testsuite/gdb.asm/asm-source.exp 2003-07-06 20:05:49.000000000 +0200 > @@ -99,6 +99,9 @@ switch -glob -- [istarget] { > set asm-arch v850 > set gdb_wrapper_initialized 1 > } > + "m68k-*-*" { > + set asm-arch m68k > + } > } > > if { "${asm-arch}" == "" } { > --- /dev/null 2003-03-16 18:50:40.000000000 +0100 > +++ gdb/testsuite/gdb.asm/m68k.inc 2003-07-06 20:04:02.000000000 +0200 > @@ -0,0 +1,38 @@ > + comment "subroutine prologue" > + .macro gdbasm_enter > + link %a6,#0 > + .endm > + > + comment "subroutine epilogue" > + .macro gdbasm_leave > + unlk %a6 > + rts > + .endm > + > + .macro gdbasm_call subr > + jbsr \subr > + .endm > + > + .macro gdbasm_several_nops > + nop > + nop > + nop > + nop > + .endm > + > + comment "exit (0)" > + .macro gdbasm_exit0 > + illegal > + .endm > + > + comment "crt0 startup" > + .macro gdbasm_startup > + lea 0,%a6 > + .endm > + > + comment "Declare a data variable" > + .macro gdbasm_datavar name value > + .data > +\name: > + .long \value > + .endm > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer