Quite a number of tests FAIL on Solaris due to a mismatch between expected and received messages: the testsuite expects something like Program received signal SIGABRT, Aborted. while on Solaris it gets Thread 2 received signal SIGABRT, Aborted. For a simple testcase, info threads shows (gdb) info threads Id Target Id Frame 1 LWP 1 main () at /vol/src/gnu/gdb/doc/bugs/ua.c:5 * 2 Thread 1 (LWP 1) main () at /vol/src/gnu/gdb/doc/bugs/ua.c:5 I suspect this is due to support for the old pre-Solaris 9 MxN thread model where user level threads were mapped to a different set of lwps. For the moment, I'm dealing with this by allowing both forms of the message in the testsuite. The patch is almost completely mechanical, with the exception of gdb.base/sigbpt.exp where the introduction of a new group in the RE required adjustments in the $expect_out indices. Tested on sparcv9-sun-solaris2.11, x86_64-pc-solaris2.11, and x86_64-pc-linux-gnu. Ok for master? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-22 Rainer Orth * gdb.arch/aarch64-sighandler-regs.exp, gdb.arch/amd64-i386-address.exp, gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-mpx-call.exp, gdb.arch/i386-mpx-sigsegv.exp, gdb.arch/i386-mpx-simple_segv.exp, gdb.arch/i386-prologue.exp, gdb.arch/i386-size-overlap.exp, gdb.arch/i386-size.exp, gdb.arch/i386-sse-stack-align.exp, gdb.arch/i386-unwind.exp, gdb.arch/powerpc-stackless.exp, gdb.arch/s390-stackless.exp, gdb.arch/s390-tdbregs.exp, gdb.arch/s390-vregs.exp, gdb.arch/sparc64-adi.exp, gdb.base/auxv.exp, gdb.base/bp-cmds-continue-ctrl-c.exp, gdb.base/bp-permanent.exp, gdb.base/call-signal-resume.exp, gdb.base/ending-run.exp, gdb.base/exitsignal.exp, gdb.base/interrupt-noterm.exp, gdb.base/interrupt.exp, gdb.base/jit-reader.exp, gdb.base/kill-after-signal.exp, gdb.base/random-signal.exp, gdb.base/range-stepping.exp, gdb.base/relativedebug.exp, gdb.base/sigall.exp, gdb.base/sigbpt.exp, gdb.base/siginfo-addr.exp, gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp, gdb.base/signest.exp, gdb.base/signull.exp, gdb.base/sigstep.exp, gdb.btrace/segv.exp, gdb.reverse/sigall-precsave.exp, gdb.reverse/sigall-reverse.exp, gdb.server/reconnect-ctrl-c.exp, gdb.server/solib-list.exp, gdb.trace/trace-condition.exp: Allow for Thread N received signal message. * gdb.base/sigbpt.exp: Adjust $expect_out indices.