aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-12-03 21:53:16 +0000
committerJim Blandy <jimb@codesourcery.com>2001-12-03 21:53:16 +0000
commit68550daf9b39b548f406e96033e40c173b0dfa46 (patch)
tree75344a1cf45723bb205fdd5a8f4149d4767b2193 /gdb/testsuite/gdb.asm
parente01e171debcd3764b36a01cc95db03f667e61e56 (diff)
downloadgdb-68550daf9b39b548f406e96033e40c173b0dfa46.zip
gdb-68550daf9b39b548f406e96033e40c173b0dfa46.tar.gz
gdb-68550daf9b39b548f406e96033e40c173b0dfa46.tar.bz2
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/s390.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/s390.inc b/gdb/testsuite/gdb.asm/s390.inc
index 04be5d6..196a960 100644
--- a/gdb/testsuite/gdb.asm/s390.inc
+++ b/gdb/testsuite/gdb.asm/s390.inc
@@ -66,3 +66,10 @@
lr %r0, %r0
lr %r0, %r0
.endm
+
+### Declare an `int' variable.
+ .macro gdbasm_datavar name value
+ .data
+\name:
+ .long \value
+ .endm