Obsolete/remove Solaris < 10 [was: Re: Fix gdb 8.1 Solaris compilation]

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Oct 3 13:01:00 GMT 2017


Hi Pedro,

> On 09/26/2017 03:18 PM, Pedro Alves wrote:
>> 
>> On 09/26/2017 12:20 PM, Rainer Orth wrote:
>>>
>>> Testing is very weird, though: Linux/x86_64 only shows a few failures,
>>> but Solaris is a mess: on Solaris 10, the vast majority of tests time
>>> out (although gdb seems to work reasonably well interactively), while
>>> many more work on Solaris 11.4 until testing runs into what seems an
>>> infinite loop of
>>>
>>> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1:
>>> run failure detected (timeout)
>> 
>> I recall once trying to run the testsuite on OpenSolaris
>> (several years ago, maybe 2008.11, though I don't really
>> recall exactly), and running into lots and lots of timeouts.
>> I think it had something to do with gdb + expect + dejagnu not
>> agreeing over end lines, \r\n vs \n, etc.  ISTR trying to
>> work around it with stty settings.  
>> 
>> I'm having trouble finding the email in the archives, though.
>
> Bah, I was looking in the wrong list, that's why...
>
> Here it is:
>  https://sourceware.org/ml/gdb/2008-07/msg00292.html
> and the workaround:
>  https://sourceware.org/ml/gdb/2008-08/msg00144.html

thanks for looking this up.  However, further digging revealed that the
issue is slightly different for me.  When I run a single testcase
(alias.exp), gdb.log shows

(gdb) ^M^[[K(gdb) alias -a set2=set^M
(gdb) ^M^[[K(gdb) FAIL: gdb.base/alias.exp: alias -a set2=set (timeout)

i.e. I get clr_eol/el (clear to end of line) after the prompt which
confuses the test framework.  I haven't yet found what causes this.
However, I managed to hack around the issue for testing purposes by
configuring with --disable-tui: this way at least a vast majority of the
tests PASS.

The same issue still happens when I use a locally built libncurses 5.7
instead of the native libcurses.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gdb-patches mailing list