This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: i386 RedBoot serial


"Ecer, Jiri" wrote:
> 
> I am interested in separating the ecos application's standard I/O from the
> communication with gdb. The gdb link should use one serial port and the IO
> the other. When I tried to change CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE from
> /dev/ttydiag to /dev/tty0 or /dev/tty1, the application receives SIGSEGV in
> Cyg_StdioStream::flush_output_unlocked as soon as anything is outputted to
> standard output. I made sure that CYGPKG_IO_SERIAL_TTY_TTY0 and
> CYGPKG_IO_SERIAL_TTY_TTY1 are enabled.
> 
> So, I am looking for information on how to do that.

That should work fine. Where exactly is the segv, and can you see a
legitimate reason for it?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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