07-12-07 12:19 PM
On Jul 12, 9:29 am, Johan <joh...@gmail.com> wrote:
> I'm developing an embedded C application for an ARM7 processor with a
> GNU toolchain. I'm using gdb to debug on the target. However, when I
> start debugging (from Eclipse) it always starts in 'suspended' mode,
> so I have to resume it always before the code actually runs. Is it
> possible to start debugging with gdb in running mode?
>
> Note: Eclipse uses a gdb script to do the hard work. Here are the last
> two lines of it:
>
> # Load the executable and symbols (all in image.elf)
> load image.elf
>
> What do I need to add to the script so it starts running automatically?
P.S. I did already try to add "run" to the bottom of the script. This
didn't work (same behavior).
[ Post a follow-up to this message ]
|