This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets
- From: Tom Tromey <tromey at redhat dot com>
- To: Omair Javaid <omair dot javaid at linaro dot org>
- Cc: gdb-patches at sourceware dot org, patches at linaro dot org
- Date: Mon, 22 Jul 2013 10:06:06 -0600
- Subject: Re: [PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets
- References: <CANW4E-2JhgU6rNJApL8g_yB1EWWMXKodsbbk9Pwt76e=SKGsMA at mail dot gmail dot com>
>>>>> "Omair" == Omair Javaid <omair.javaid@linaro.org> writes:
Omair> dw2-error.exp is not run for arm targets because this test has been
Omair> written in x86 assembly language. This patch adds ARM version of
Omair> assembly code required to run dw2-error.exp tests on arm targets.
Omair> Attached patch is tested on ARMv7 and x86_64 targets.
Omair> 2013-07-22 Omair Javaid <Omair.Javaid@linaro.org>
Omair> * gdb.dwarf2/dw2-error.S: Adding ARM assembly code.
I think it would be just as easy to change this test to use the DWARF
assembler (which didn't exist when the test was first written). Then
the test case could work on any arch.
Tom