This is the mail archive of the gdb@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: Help with solaris testing


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


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