Resent for the list... first attempt failed due to HTML email.

On Thu, Apr 25, 2013 at 3:31 PM, Edgar Grimberg
<edgar.grimb...@gmail.com> wrote:
>
>
> On Thu, Apr 25, 2013 at 3:03 PM, Lukas Riezler <lukas.riez...@gmx.net> wrote:
>>
>> Hi Ilija!
>>
>> > How do you get to main? by single stepping? Breakpoint?
>> > Put breakpoint on hal_system_init() . That's an early breakpoint and
>> > will give you chance to step through system booting.
>>
>> Yes, I did it by single stepping. Like you advised I tried it now with a 
>> breakpoint at hal_system_init().
>> Eclipse shows me that this breakpoint exists and it also shows me that the 
>> breakpoint is located in the correct file! That's good.
>> Now I try to "run" (with "Resume" / F8) the program until the breakpoint 
>> should halt it. But unfortunately nothing happens?
>
>
> Hi Lukas,
>
> Some advices related to debugging:
> - Be sure everything is compiled with -O0 (no optimization).
> - Try using the gdb in command line until you are sure you are doing the 
> right thing.
> - If you are trying to debug I/O, don't mouse around in Eclipse, as you might 
> trigger an unwanted read operation by hovering over a variable.
> - Be sure you have compiled the latest version of the source code.
> - Be sure you have loaded the elf file to the target (I assume it's a RAM 
> application, isn't it?)
>
> Post the exact steps you are doing in command line gdb (copy + paste commands 
> and output), it might be clearer like that.
>
> Regards,
> Edgar
>
>
>>
>>
>> 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
>>
>

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

Reply via email to