OSDN Git Service

[testsuite] dw2-const.S: fix type reference size on 64bit platforms.
authorbrobecke <brobecke>
Wed, 22 Sep 2010 19:13:40 +0000 (19:13 +0000)
committerbrobecke <brobecke>
Wed, 22 Sep 2010 19:13:40 +0000 (19:13 +0000)
commit35374ffb47a5b4cb6073f8ad95735d18e31e0de4
treef9bffa82872cbe1dcbe5cf788be0272003e7a1f4
parent468db568a8a1872a0088d91f70d1fdb7ad47fdf7
[testsuite] dw2-const.S: fix type reference size on 64bit platforms.

The testcase was failing on various 64bit platforms, because the
debugging info said that the target type for a const type is a
4-byte reference.  In the asm file, I used a .long directive, but
the size of .long is of course dependent on the platform.  This
replaces this .long by a .4byte directive.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
        type of our const type.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-const.S