From 68550daf9b39b548f406e96033e40c173b0dfa46 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 3 Dec 2001 21:53:16 +0000 Subject: * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int' variables on the S/390, not `.word'. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.asm/s390.inc | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d0a6648..824e52b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-12-03 Jim Blandy + + * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int' + variables on the S/390, not `.word'. + 2001-11-30 Jim Blandy 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 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 -- cgit v1.1