This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.dwarf2/dw2-const.S
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Sep 2010 19:13:41 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.dwarf2/dw2-const.S
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2010-09-22 19:13:40
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.dwarf2: dw2-const.S
Log message:
[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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2452&r2=1.2453
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-const.S.diff?cvsroot=src&r1=1.1&r2=1.2