This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Turn off gdb console?
- To: bgat at open-widgets dot com
- Subject: Re: [ECOS] Turn off gdb console?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 31 Jan 2001 03:07:23 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010130164509.B13358@sr1.open-widgets.com>
bgat@open-widgets.com wrote:
>
> Hi! Quick question...
>
> I'm trying to run the test applications in the latest eCos CVS
> repository, like dhrystone, over ethernet using RedBoot on the MBX.
> As expected, whenever there's a printf() in dhrystone, it shows up on
> the serial port, formatted as a gdb "console output" message.
>
> This behavior would make sense if I was talking to the MBX target over
> the serial port, but I'm not. Furthermore, what I would like to see
> is raw, streaming output from dhrystone on the serial port; I want to
> control the application via ethernet, but not have the console tied to
> gdb's console.
>
> I gave my ecos.ecc file a quick skim, and didn't come across anything
> that was obviously related to console output formatting. What's the
> CYG_xxx that I use?
Believe it or not, we're just working on a generic solution to this type of
situation that will allow a loaded application to claim the
console/debugging virtual vectors
But for now I believe you should be able to enable the option
CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL, which should turn off GDB packet
encoding in the MBX hal diag output (assuming you have not explicitly
enabled virtual vector diag).
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