[ECOS] Turn off gdb console?

Jonathan Larmour jlarmour@redhat.com
Tue Jan 30 19:07:00 GMT 2001


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


More information about the Ecos-discuss mailing list