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: [testsuite patch] Fix gdb.gdb/selftest.exp for C++-O2-g-built GDB


On Mon, Jul 18, 2016 at 9:18 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Mon, 18 Jul 2016 10:05:58 +0200, Yao Qi wrote:
>> I think my patch https://sourceware.org/ml/gdb-patches/2016-07/msg00157.html
>> can fix the fail too, but it is not checked in yet.
>
> It does not for me:
>
> FAIL: gdb.gdb/selftest.exp: run until breakpoint at captured_main
> WARNING: Couldn't test self
> ->
> FAIL: gdb.gdb/selftest.exp: unknown source line
> FAIL: gdb.gdb/selftest.exp: step into xmalloc call
>

OK, I think we still need to convert gdb.gdb/selftest.exp using proc
do_self_tests to simplify the code, and then, improve procs in
lib/selftest-support.exp to handle the fails when GDB is compiled with
optimization.  What do you think?  If you agree on this, I can commit
my patch above, and tweak lib/selftest-support.exp to fix your fails.


-- 
Yao (齐尧)


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