|
Home > Archive > Unix Programming > July 2007 > start gdb in 'running' mode
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
start gdb in 'running' mode
|
|
|
| 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?
| |
|
| 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).
|
|
|
|
|