* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
authorJim Blandy <jimb@codesourcery.com>
Mon, 3 Dec 2001 21:53:16 +0000 (21:53 +0000)
committerJim Blandy <jimb@codesourcery.com>
Mon, 3 Dec 2001 21:53:16 +0000 (21:53 +0000)
variables on the S/390, not `.word'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.asm/s390.inc

index d0a664812babb97cf38b59c48ca9f2f9dd3bdfbd..824e52b6fe6110302849e23d371364efcfc3ea11 100644 (file)
@@ -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.
index 04be5d65ada2c76517efa9252c4ff146ba7bf093..196a9603c9375cb0b457f9d09fd4061d7fa29417 100644 (file)
         lr %r0, %r0
         lr %r0, %r0
         .endm
+
+### Declare an `int' variable.
+        .macro gdbasm_datavar name value
+        .data
+\name:
+        .long \value
+        .endm