I am using GDB to load and debug my executable. At the moment, each time I want to run my program I first have to load
it, and then continue
it to start execution.
Apparently the run
command starts execution from the start, but when I try to run
I get the error:
The "remote" target does not support "run". Try "help target" or "continue".
My board is an STM32F2. Is there a way to easily start execution from the start of the executable without having the reload the damn thing onto memory again?
EDIT: I have tried Leo's suggestion, but when I do run
I get the following error:
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) [answered Y; input not from terminal]
../../gdb-7.2/gdb/thread.c:79: internal-error: inferior_thread: Assertion `tp' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
../../gdb-7.2/gdb/thread.c:79: internal-error: inferior_thread: Assertion `tp' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.