This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]