summaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
commit2d646d096509cff42624ec9572541ce077da523b (patch)
treeb1f2b03d325ea5a6e5a34c06d2e4b07f2264c55b /gdb/testsuite
parentcad6f472c049651a60d9d6c9a32ddf264e177cfb (diff)
downloadgdb-2d646d096509cff42624ec9572541ce077da523b.tar.gz
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.asm/s390.inc7
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d0a664812ba..824e52b6fe6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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'.
+
2001-11-30 Jim Blandy <jimb@redhat.com>
Add assembly-source tests for s390-ibm-linux.
diff --git a/gdb/testsuite/gdb.asm/s390.inc b/gdb/testsuite/gdb.asm/s390.inc
index 04be5d65ada..196a9603c93 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