diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-17 18:55:09 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-17 18:55:09 +0000 |
commit | 5fc3827b43780e2e38e409c4ac844982e1e08f91 (patch) | |
tree | 922f76e23841ae70c1a561104650ceea5a91bf3e /gdb/testsuite/gdb.dwarf2/pr11465.S | |
parent | 01f8c46dda6579913074a1d04eca0ad7fc437f47 (diff) | |
download | gdb-5fc3827b43780e2e38e409c4ac844982e1e08f91.zip gdb-5fc3827b43780e2e38e409c4ac844982e1e08f91.tar.gz gdb-5fc3827b43780e2e38e409c4ac844982e1e08f91.tar.bz2 |
gdb/testsuite/
Fix s390x compatibility.
* gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
* gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/pr11465.S')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/pr11465.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/pr11465.S b/gdb/testsuite/gdb.dwarf2/pr11465.S index 8d805dd..83396bf 100644 --- a/gdb/testsuite/gdb.dwarf2/pr11465.S +++ b/gdb/testsuite/gdb.dwarf2/pr11465.S @@ -88,14 +88,14 @@ die77: .uleb128 0x9 /* DW_TAG_formal_parameter */ .byte 0x0 .byte 0x0 die7e: .uleb128 0xa /* DW_TAG_pointer_type */ - .byte 0x4 /* DW_AT_byte_size */ + .byte PTRBITS / 8 /* DW_AT_byte_size */ .long die84-d /* DW_AT_type */ die84: .uleb128 0xb /* DW_TAG_subroutine_type */ die89: .uleb128 0x9 /* DW_TAG_formal_parameter */ .long die5e-d /* DW_AT_type */ .byte 0x0 die8f: .uleb128 0xa /* DW_TAG_pointer_type */ - .byte 0x4 /* DW_AT_byte_size */ + .byte PTRBITS / 8 /* DW_AT_byte_size */ .long die5e-d /* DW_AT_type */ die95: .uleb128 0xc /* DW_TAG_subprogram */ .long die6a-d /* DW_AT_specification */ |