Testsuite regression for gdb.gdb/selftest.exp [Re: RFC: call bfd_init]

Jan Kratochvil
2013-01-21T20:40:02Z

On Mon, 21 Jan 2013 18:30:37 +0100, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> Tom> bfd_init is a no-op, so right now nothing notices. But, I figured it
> Tom> would be safe to add the call in case this ever changes.
>
> I'm checking this in now.

dbd454a9c7690a87c57d5b8a28a02388665c1f46 is the first bad commit
commit dbd454a9c7690a87c57d5b8a28a02388665c1f46
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jan 21 17:32:09 2013 +0000

* main.c (captured_main): Call bfd_init.

Running gdb/testsuite/gdb.gdb/selftest.exp ...
[...]
PASS: gdb.gdb/selftest.exp: next over textdomain PACKAGE
-PASS: gdb.gdb/selftest.exp: next over cmdarg_s VEC_cleanup
-PASS: gdb.gdb/selftest.exp: next over dirsize initialization
+FAIL: gdb.gdb/selftest.exp: unknown source line after next over textdomain PACKAGE
PASS: gdb.gdb/selftest.exp: print a string
-PASS: gdb.gdb/selftest.exp: step into xmalloc call
+FAIL: gdb.gdb/selftest.exp: step into xmalloc call
PASS: gdb.gdb/selftest.exp: xgdb is at prompt
PASS: gdb.gdb/selftest.exp: Set xgdb prompt
PASS: gdb.gdb/selftest.exp: send ^C to child process

Regards,
Jan