public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] About "File I/O operations via GDB"
@ 2003-08-28 15:07 Vincent Leclaire
  2003-09-01 17:07 ` Nick Garnett
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Leclaire @ 2003-08-28 15:07 UTC (permalink / raw)
  To: ecos-discuss

Hi everybody,

Does anyone have experience with this option ? My goal is to try to
route "fopens" (and the like) executed on the target to the debugging
host filesystem, presumably using GDB.

(target is an i386 pc but will change in the future, that's why I try to
simulate without using a disk!)

I've searched the lists. I've searched the Net. Nothing clear about
this, especially on non-ARM targets. Here's a snapshot of my knowledge
:-)

* I understand it's about Redboot syscalls and virtual vectors. Apart
from selecting the option what is needed ? I think I don't have problems
w/ virtual vectors since the "rest" seems to work. How can I make sure
my app is able to talk to Redboot if needed ?

* I guess the app (or the stdiolib) must be recompiled to map file i/o
operations, but I was unable to find info about the way to do it (on my
"i386-all" setup I cannot select the "file operations via GDB"
checkbox).

* The comment for the option says "doable only through RedBoot syscall".
Does it mean it must be hard-coded in the program by hand ? How do you
call those services (I know there are SYSCALL macros for this) ?

* Any special stuff for ARM targets (what is newlib / libgloss BTW) ?

* What about gdb/Insight special configuration on the debugging host ?

Thanks for any pointers you can provide !

Have a nice day

VL

--
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] 3+ messages in thread

end of thread, other threads:[~2003-09-02  2:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 15:07 [ECOS] About "File I/O operations via GDB" Vincent Leclaire
2003-09-01 17:07 ` Nick Garnett
2003-09-02  2:43   ` Jonathan Larmour

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).