Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Kuppuswamy, Priyadarshini" <Priyadarshini.Kuppuswamy@compaq.com>
To: <gdb-patches@sources.redhat.com>
Cc: <clp@iol.unh.edu>
Subject: [PATCH] Add alpha target to asm-source.exp test
Date: Thu, 07 Feb 2002 14:16:00 -0000	[thread overview]
Message-ID: <6B003D25ADBDE347B5542AFE6A55B42E01A43FFD@tayexc13.americas.cpqcorp.net> (raw)

	Hi!
	 
	This is the asm-source test for the alpha target.

	Let me know if this is ok??

	--Priya

	The  new file "alpha.inc" is included at the end.
		
		*gdb.asm/alpha.inc: New file.
		*gdb.asm/asm-source.exp: Recognize the alpha target	*gdb.asm/configure.in: Recognize the alpha target   	*gdb.asm/configure:Regenerate.  

	Index: configure.in
	===================================================================
	RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/configure.in,v
	retrieving revision 1.8
	diff -c -3 -p -r1.8 configure.in
	*** configure.in	2001/12/20 22:12:20	1.8
	--- configure.in	2002/02/07 21:31:36
	*************** archinc=common.inc
	*** 17,22 ****
	--- 17,23 ----
	  case ${target} in
	  *arm-*-*) archinc=arm.inc ;;
	  xscale-*-*) archinc=arm.inc ;;
	+ alpha*-*-*) archinc=alpha.inc ;;
	  d10v-*-*) archinc=d10v.inc ;;
	  s390-*-*) archinc=s390.inc ;;
	  i[[3456]]86*) archinc=i386.inc ;;

	Index: configure
	===================================================================
	RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/configure,v
	retrieving revision 1.8
	diff -c -3 -p -r1.8 configure
	*** configure	2001/12/20 22:12:20	1.8
	--- configure	2002/02/07 21:32:09
	*************** archinc=common.inc
	*** 637,642 ****
	--- 637,643 ----
	  case ${target} in
	  *arm-*-*) archinc=arm.inc ;;
	  xscale-*-*) archinc=arm.inc ;;
	+ alpha*-*-*) archinc=alpha.inc ;;
	  d10v-*-*) archinc=d10v.inc ;;
	  s390-*-*) archinc=s390.inc ;;
	  i[3456]86*) archinc=i386.inc ;;

	Index: asm-source.exp
	===================================================================
	RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
	retrieving revision 1.17
	diff -c -3 -p -r1.17 asm-source.exp
	*** asm-source.exp	2002/01/18 00:13:00	1.17
	--- asm-source.exp	2002/02/07 21:32:27
	*************** if [istarget "*arm-*-*"] then {
	*** 41,46 ****
	--- 41,50 ----
	  if [istarget "xscale-*-*"] then {
	      set asm-arch arm
	  }
	+ if [istarget "alpha*-*-*"] then {
	+     set asm-arch alpha
	+     set asm-flags "-gdwarf2 -I${srcdir}/${subdir} -I${objdir}/${subdir}"
	+ }
	  if [istarget "d10v-*-*"] then {
	      set asm-arch d10v
	  }

	alpha.inc
	---------
	comment "subroutine prologue"
	        .macro gdbasm_enter
	        subq $30,32,$30
	        stq $26,0($30)
	        stq $15,8($30)
	        bis $30,$30,$15
	        .endm

	        comment "subroutine epilogue"
	        .macro gdbasm_leave
	        bis $15,$15,$30
	        ldq $26,0($30)
	        ldq $15,8($30)
	        addq $30,32,$30
	        ret $31,($26),1
	        .endm

	        .macro gdbasm_call subr
	        bsr $26, \subr
	        .endm

	        .macro gdbasm_several_nops
	        nop
	        nop
	        nop
	        nop
	        .endm

	        comment "exit (0)"
	        .macro gdbasm_exit0
	        halt
	        .endm

	        comment "crt0 startup"
	        .macro gdbasm_startup
	        clr $fp
	        .endm

	        comment "Declare a data variable"
		.macro gdbasm_datavar name value
	        .data
	\name:
	        .long   \value
	        .endm


             reply	other threads:[~2002-02-07 22:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-07 14:16 Kuppuswamy, Priyadarshini [this message]
2002-02-07 14:32 ` Michael Snyder
2002-02-07 14:52   ` Fernando Nasser
2002-02-07 15:18 ` George France
2002-02-07 19:30   ` Daniel Jacobowitz
2002-02-08 10:44     ` Michael Snyder
2002-02-11 11:58       ` George France
2002-03-23 11:18   ` Andrew Cagney
2002-03-23 11:18 ` Andrew Cagney
2002-03-25 11:47 Kuppuswamy, Priyadarshini
2002-03-28 12:58 ` Fernando Nasser
2002-03-29 12:39 Kuppuswamy, Priyadarshini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6B003D25ADBDE347B5542AFE6A55B42E01A43FFD@tayexc13.americas.cpqcorp.net \
    --to=priyadarshini.kuppuswamy@compaq.com \
    --cc=clp@iol.unh.edu \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox