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]

Re: trace and assert


james chen wrote:
> 
>     eCos has supported trace and assert. now I want when a assert failed, it
> will output diagnostic info and GDB stop at assert code. Can I replace
> 'for(;;);' with 'breakpoint()' in cyg_assert_fail?

Yes - it's open source! Although that function only exists if you have
included GDB stubs in your app I believe.

>     Another question, what is the difference between  simple.cxx, fancy.cxx
> and null.cxx( infra\current\src ), if I select all in eCos Configuration
> Tool, which will be valid or all are valid?

I actually just fixed that, and it will appear publically shortly. Choose
only one for now.

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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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