This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Setting breakpoints
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: "'Jay Foster'" <jay at systech dot com>, <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 5 Jun 2003 09:01:06 +0200
- Subject: RE: [ECOS] Setting breakpoints
>You might also try the .2ram section. It's a code
>section that gets copied to RAM (usually used by
>the flash routines for ROM builds).
Thanks!
It works like a charm.
There was only a very slight trick w.r.t. the name of the
section. I used ".2ram.text" instead of ".2ram"(which gave
error messages).
int __attribute__ ((section (".2ram.text"))) main(int argc, char
**argv)
Øyvind
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss