This is the mail archive of the ecos-discuss@sourceware.org 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]

Aw: Re: Re: Re: Re: Debugging via JTAG - problems?


>This exception should pass without problems, but your debugger may have
>problem stepping through it while continual run may pass. Have tried to
>put breakpoint(s) after this line?

Not directly, because I noticed something "new"...

I tried to debug via the command line (like Edgar advised me):
I can set a breakpoint at hal_system_init() without problems but when I try to set a breakpoint at the main() which is in my "Hello World" file, I get following message:

Make breakpoint pending on future shared library load? (y or or [n]) [answered N; input not from terminal]
(gdb) Function "main" not defined

I've read that I have to use the command "set breakpoint pending on" if I want to answer the question with YES.
But main is still not defined :/
That sounds like a linking problem, doesn't it?


With kind regards, Lukas

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


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