public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] diag_print problems by using multi-ice-gdb-server...
@ 2002-05-31 16:10 benny
  0 siblings, 0 replies; 2+ messages in thread
From: benny @ 2002-05-31 16:10 UTC (permalink / raw)
  To: dorauk; +Cc: ecos-discuss

Hi,
I basically have the same problem when I enabled
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
My GDB is connected to the ICE but the debug serial port is still used by
the
GDB. I tried to disable mangling - didn't help.
The only way to eliminate this is not to include stubs. Then I'm able to
debug code
using multi-ICE (with multi-ICE basically you don't need any GDB support by
the
host because multi-ICE access memory directly through the JTAG).
Still I can't get the thread-awareness:
1. there seems to be bug in vector.s so the ice_thread_vector is not
initialized properly.
My GDB server don't see eCOS, it tells "Not a good vector or eCos not
running!"
The vector should be in some fixed location in memory known by the GDB
server, but I
don't know what this location should be.
After fixing bug in vector.s I got this vector at address 0x150 (0x50 to
0x14f is the
virtual vector table). I don't know if it right or wrong.
2. thread-awareness require CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS, but this
creates problems
identical to what you have - on any attempt to use diag_print(), host hangs
waiting
for GDB to response (and there is no GDB on serial port).

If somebody can help ?

Regards,
Benny




>I made and installed the 'multi_ice_gdb_server' and it runs fine.
>An output of it means that comm-channels are provided but the
>first diag_print() call of my application fails. The insight (5.1) hangs
>there.
>If diagnostic outputs route to a serial port, the application runs fine to.
>Any ideas?
>
>Thanks in advance,
>Kai


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] diag_print problems by using multi-ice-gdb-server...
@ 2002-05-27  1:12 Dorau Kai
  0 siblings, 0 replies; 2+ messages in thread
From: Dorau Kai @ 2002-05-27  1:12 UTC (permalink / raw)
  To: ecos-discuss

Hi everybody,

I made and installed the 'multi_ice_gdb_server' and it runs fine.
An output of it means that comm-channels are provided but the
first diag_print() call of my application fails. The insight (5.1) hangs
there.
If diagnostic outputs route to a serial port, the application runs fine to.
Any ideas?

Thanks in advance,
Kai


----------------------------------------------------------------------------
Kai Dorau - mailto:dorauk@thmulti.com
TEL: (+49 511) 418 2557, FAX: 2483
Hannover Home Networks (HHN) Laboratory
Corporate Research Hanover
Research & Innovation
Thomson Multimedia



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-31 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-31 16:10 [ECOS] diag_print problems by using multi-ice-gdb-server benny
  -- strict thread matches above, loose matches on Subject: below --
2002-05-27  1:12 Dorau Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).