This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]