[Lazarus] Gdb and openocd via lazarus
Koenraad Lelong
lazarus2 at de-brouwerij.be
Thu May 29 22:06:18 CEST 2014
op 28-05-14 13:57, Michael Ring schreef:
>
> Here's how I call gdb:
>
> arm-none-eabi-gdb hello.elf --tui --eval-command="target extended :3333"
> --eval-command="monitor reset halt" --eval-command="set mem
> inaccessible-by-default off" --eval-command="load"
>
>
> This loads the binary, you should end up with the debugger showing you
> your source code.
>
> Now try stepping through the code, if all is fine then great, problem is
> in the integration of gdb.
>
> Stept I use:
> break main
> cont
>
> step
>
This all works. Tomorrow I will try to send those commands with mseide.
Many thanks.
Koenraad
More information about the Lazarus
mailing list