start gdb in 'running' mode
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > start gdb in 'running' mode




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    start gdb in 'running' mode  
Johan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-07 12:19 PM

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?






[ Post a follow-up to this message ]



    Re: start gdb in 'running' mode  
Johan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:27 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register