This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Testsuite regression for fission + gdbindex run [Re: [PATCH 1/5] fix some gdb.dwarf2 tests for parallel safety]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Aug 2013 17:16:38 +0200
- Subject: Testsuite regression for fission + gdbindex run [Re: [PATCH 1/5] fix some gdb.dwarf2 tests for parallel safety]
- Authentication-results: sourceware.org; auth=none
- References: <1376427803-16608-1-git-send-email-tromey at redhat dot com> <1376427803-16608-2-git-send-email-tromey at redhat dot com>
On Tue, 13 Aug 2013 23:03:19 +0200, Tom Tromey wrote:
> This fixes a few gdb.dwarf2 tests to be more parallel-safe. This
> mostly amounts to changing them to write their files into the
> directory designated by standard_output_file.
>
> Built and regtested on x86-64 Fedora 18.
>
> * gdb.dwarf2/clztest.exp: Use standard_testfile.
> * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
> * gdb.dwarf2/fission-base.S: Remove directory from
> DW_AT_GNU_dwo_name.
> * gdb.dwarf2/fission-base.exp: Use build_executable. Set
> debug-file-directory.
> * gdb.dwarf2/fission-reread.S: Remove directory from
> DW_AT_GNU_dwo_name.
> * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
> debug-file-directory.
c18a2996a254ec0f05b3bc4c8b2800641fe26682 is the first bad commit
commit c18a2996a254ec0f05b3bc4c8b2800641fe26682
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Aug 22 13:39:12 2013 +0000
fix some gdb.dwarf2 tests for parallel safety
I get these PASS->UNTESTED regressions in gdbindex mode:
runtest CC_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -i\ gcc CXX_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -i\ g++ gdb.dwarf2/fission-base.exp gdb.dwarf2/fission-reread.exp
+gdb compile failed, warning: Could not find DWO CU fission-base(0x0) referenced by CU at offset 0x0 [in module
/unsafegdb/testsuite.unix.-m64/gdb.dwarf2/fission-base]
+UNTESTED: gdb.dwarf2/fission-base.exp: fission-base.exp
+gdb compile failed, warning: Could not find DWO TU fission-reread(0x9022f1ceac7e8b19) referenced by TU at offset 0x0 [in module /unsafegdb/testsuite.unix.-m64/gdb.dwarf2/fission-reread]
+warning: Could not find DWO TU fission-reread(0x9022f1ceac7e8b19) referenced by TU at offset 0x0 [in module /unsafegdb/testsuite.unix.-m64/gdb.dwarf2/fission-reread]
+gdb/contrib/cc-with-tweaks.sh: line 170: 5203 Aborted (core dumped) $GDB --batch-silent -nx -ex "set auto-load no" -ex "file $output_file" -ex "save gdb-index $output_dir"
+UNTESTED: gdb.dwarf2/fission-reread.exp: fission-reread.exp
Thanks,
Jan