This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: S/390: use .long to declare int vars in asm tests
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 3 Dec 2001 16:56:10 -0500 (EST)
- Subject: PATCH: S/390: use .long to declare int vars in asm tests
2001-12-03 Jim Blandy <jimb@redhat.com>
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
Index: gdb/testsuite/gdb.asm/s390.inc
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.asm/s390.inc,v
retrieving revision 1.1
diff -c -r1.1 s390.inc
*** gdb/testsuite/gdb.asm/s390.inc 2001/12/01 01:07:59 1.1
--- gdb/testsuite/gdb.asm/s390.inc 2001/12/03 21:50:55
***************
*** 66,68 ****
--- 66,75 ----
lr %r0, %r0
lr %r0, %r0
.endm
+
+ ### Declare an `int' variable.
+ .macro gdbasm_datavar name value
+ .data
+ \name:
+ .long \value
+ .endm