This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: [PATCH] Add alpha target to asm-source.exp test
- From: "Kuppuswamy, Priyadarshini" <Priyadarshini dot Kuppuswamy at compaq dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Cc: <andrew dot cagney at redhat dot com>
- Date: Fri, 29 Mar 2002 15:39:50 -0500
- Subject: RE: [PATCH] Add alpha target to asm-source.exp test
I've added myself to the MAINTAINERS write after approval list and also made chagnes to the changeLog. I've submitted the patch as an obvious fix.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.163
diff -p -c -r1.163 MAINTAINERS
*** MAINTAINERS 2002/03/23 18:52:46 1.163
--- MAINTAINERS 2002/03/29 18:02:43
*************** Jason Merrill jason@redhat.com
*** 376,381 ****
--- 376,382 ----
Jason Molenda jmolenda@apple.com
Pierre Muller muller@sources.redhat.com
Alexandre Oliva aoliva@redhat.com
+ Kuppuswamy Priyadarshini priyadarshini.kuppuswamy@compaq.com
Tom Rix trix@redhat.com
Mark Salter msalter@redhat.com
Andreas Schwab schwab@suse.de
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.2364
diff -u -p -r1.2364 ChangeLog
--- ChangeLog 2002/03/29 01:32:19 1.2364
+++ ChangeLog 2002/03/29 20:32:51
@@ -1,3 +1,7 @@
+2002-03-29 Priyadarshini Kuppuswamy <priyadarshini.kuppuswamy@compaq.com>
+
+ * MAINTAINERS (write-after-approval): Add myself.
+
2002-03-26 Michael Snyder <msnyder@redhat.com>
Andrew Cagney <cagney@redhat.com>
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.292
diff -u -p -r1.292 ChangeLog
--- ChangeLog 2002/03/29 01:19:11 1.292
+++ ChangeLog 2002/03/29 20:35:32
@@ -1,3 +1,10 @@
+2002-03-29 Priyadarshini Kuppuswamy <priyadarshini.kuppuswamy@compaq.com>
+
+ * gdb.asm/alpha.inc: New file.
+ * gdb.asm/asm-source.exp: Recognize alpha target.
+ * gdb.asm/configure.in: Recognize alpha target.
+ * gdb.asm/configure: Regenerate.
+
2002-03-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add tests for dump, append, and restore.
Priya.
> -----Original Message-----
> From: Kuppuswamy, Priyadarshini
> Sent: Monday, March 25, 2002 2:47 PM
> To: 'Andrew Cagney'; gdb-patches@sources.redhat.com
> Cc: clp@iol.unh.edu
> Subject: RE: [PATCH] Add alpha target to asm-source.exp test
>
>
> Hi,
> I am re-submitting the alpha patch since I finally got the
> permission to do so.
>
> Index: asm-source.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
> retrieving revision 1.18
> diff -u -p -r1.18 asm-source.exp
> --- asm-source.exp 2002/02/21 20:58:25 1.18
> +++ asm-source.exp 2002/03/25 19:33:12
> @@ -41,6 +41,11 @@ if [istarget "*arm-*-*"] then {
> 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
> }
>
> Index: configure
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/configure,v
> retrieving revision 1.8
> diff -u -p -r1.8 configure
> --- configure 2001/12/20 22:12:20 1.8
> +++ configure 2002/03/25 19:34:11
> @@ -637,6 +637,7 @@ archinc=common.inc
> case ${target} in
> *arm-*-*) archinc=arm.inc ;;
> xscale-*-*) archinc=arm.inc ;;
> +alpha*-*-*) archinc=alpha.inc ;;
> d10v-*-*) archinc=d10v.inc ;;
>
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/configure.in,v
> retrieving revision 1.8
> diff -u -p -r1.8 configure.in
> --- configure.in 2001/12/20 22:12:20 1.8
> +++ configure.in 2002/03/25 19:34:37
> @@ -17,6 +17,7 @@ archinc=common.inc
> case ${target} in
> *arm-*-*) archinc=arm.inc ;;
> xscale-*-*) archinc=arm.inc ;;
> +alpha*-*-*) archinc=alpha.inc ;;
> d10v-*-*) archinc=d10v.inc ;;
>
> (new file) 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
>
> Thanks
> Priya
>
> > -----Original Message-----
> > From: Andrew Cagney [mailto:ac131313@cygnus.com]
> > Sent: Saturday, March 23, 2002 2:19 PM
> > To: Kuppuswamy, Priyadarshini
> > Cc: gdb-patches@sources.redhat.com; clp@iol.unh.edu
> > Subject: Re: [PATCH] Add alpha target to asm-source.exp test
> >
> >
> > Hello,
> >
> > Can I suggest re-submitting your alpha patch, your assignment
> > has come
> > in so it can now be properly reviewed by the testsuite maintainer.
> >
> > Andrew
> >
> >
>