This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Help with solaris testing
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb at sourceware dot org, Mark Kettenis <mark dot kettenis at xs4all dot nl>, brobecker at adacore dot com
- Date: Tue, 5 Aug 2008 10:03:16 -0400
- Subject: Re: Help with solaris testing
- References: <200807291558.22228.pedro@codesourcery.com> <200807291539.m6TFdFAd007825@brahms.sibelius.xs4all.nl> <200808051446.01880.pedro@codesourcery.com>
On Tue, Aug 05, 2008 at 02:46:00PM +0100, Pedro Alves wrote:
> I just found a workaround. Overriding the stty settings expect does on
> the pty used in spawn's,
>
> proc default_gdb_start { } {
> ...
> global stty_init
> set stty_init "<the stty -a settings of my terminal>"
>
> ...
> }
>
> ... makes the issue go away.
Could you binary search to find the stty option that's a problem? The
default in expect is "stty sane"; the Linux man page for stty defines
what "sane" is equivalent to, but you should check the OpenSolaris man
page to see what it says. Or run stty sane / stty -a in a pty.
--
Daniel Jacobowitz
CodeSourcery