This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH] testsuite: Fix gdb.dwarf2/dw2-case-insensitive.exp testcase for ppc64


On 23 January 2014 14:42, Edjunior Barbosa Machado
<emachado@linux.vnet.ibm.com> wrote:
> Hi,
>
> gdb.dwarf2/dw2-case-insensitive.exp has currently 1 test failing on ppc64:
>
> p fuNC_symtab^M
> $2 = {<text variable, no debug info>} 0x10000694 <FUNC_lang_end>^M
> (gdb) FAIL: gdb.dwarf2/dw2-case-insensitive.exp: p fuNC_symtab
>
> This regression was introduced after a change in the testcase that added
> function labels to the code, fixing failures on arm (commit
> c7e8af9b3bc0881c59c999d7b78348d359383efe).
>
> This patch moves the label FUNC_lang_end to the end of the function scope, so
> ppc64 can understand the following function (fuNC_symtab) correctly.
> Successfully tested on x86, ppc32 and ppc64, but didn't have the chance to check
> on arm.

The test passes successfully on arm too.

-- 
Will Newton
Toolchain Working Group, Linaro


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