public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] GDB does not stop at breakpoint
@ 2007-02-14  8:43 Carlos Losada
  2007-02-14 21:58 ` Mike Arthur
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Losada @ 2007-02-14  8:43 UTC (permalink / raw)
  To: ecos-discuss

I previously had a problem with GDB stopping randomly,
and now I have the inverse problem; it does not stop
at all.  Th setup includes RedBoot installed as a ROM
Monitor in Flash with GDB stubs in HAL activated, and
an application compiled to work with a rom monitor.  

The RedBoot CLI works fine.  Using Eclipse/CDT I can
download the application through the serial port, but
GDB does not stop at the breakpoint.  In fact, it does
not appear to execute the program at all.

Is it an eCos configuration problem?




 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] GDB does not stop at breakpoint
  2007-02-14  8:43 [ECOS] GDB does not stop at breakpoint Carlos Losada
@ 2007-02-14 21:58 ` Mike Arthur
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Arthur @ 2007-02-14 21:58 UTC (permalink / raw)
  To: Carlos Losada; +Cc: ecos-discuss

Where are you setting your initial breakpoint?  Make sure you set a
break point at cyg_start() or cyg_user_start() (anywhere during init
before your code executes) to make sure that your code is not
effecting the GDB connection.  I would attempt running one of the
examples/tests as well.

Which HAL are you using?

How are you building your eCos kernel library (packages, settings, etc.) ?

If you don't have asserts turned on, I would turn them on in your
kernel configuration.   They are a very handy debugging tool.

On 2/15/07, Carlos Losada <itel9cl1@yahoo.com> wrote:
> I previously had a problem with GDB stopping randomly,
> and now I have the inverse problem; it does not stop
> at all.  Th setup includes RedBoot installed as a ROM
> Monitor in Flash with GDB stubs in HAL activated, and
> an application compiled to work with a rom monitor.
>
> The RedBoot CLI works fine.  Using Eclipse/CDT I can
> download the application through the serial port, but
> GDB does not stop at the breakpoint.  In fact, it does
> not appear to execute the program at all.
>
> Is it an eCos configuration problem?
>
>
>
>
>
> ____________________________________________________________________________________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-14 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14  8:43 [ECOS] GDB does not stop at breakpoint Carlos Losada
2007-02-14 21:58 ` Mike Arthur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).