This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: breakpoint () support locking app



On 11-Jul-2001 Trenton D. Adams wrote:
>   > On 11-Jul-2001 Trenton D. Adams wrote:
>   > > Sorry, I forgot to mention that I'm using the GDB stub 
>   > support with 
>   > > the breakpoint () function.  With this support added the 
>   > code won't 
>   > > run, it hangs right off the bat.
>   > 
>   > How are you downloading the code?
> 
> I'm using GDB to do it over the network.  It's the same way I've been
> doing it right from the start of the project.
> 
> 
> target remote 172.16.1.240:9000
> load
> continue

As I expected.  Sorry, but this can't work because as soon as the target
application tries to run, the GDB debug channel will break.  In fact, if
you have a 'minicom' session open to the board, you'll probably see GDB
come up there.

Network debugging is only supported using RedBoot - it cannot be done
with builtin stubs (when stubs are included in the application).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]