From: "Mike Arthur" <arth2219@gmail.com>
To: "Carlos Losada" <itel9cl1@yahoo.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] GDB does not stop at breakpoint
Date: Wed, 14 Feb 2007 21:58:00 -0000 [thread overview]
Message-ID: <2a3305fe0702141358q68ff3414i62434637d61b650a@mail.gmail.com> (raw)
In-Reply-To: <754983.94334.qm@web62311.mail.re1.yahoo.com>
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
prev parent reply other threads:[~2007-02-14 21:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 8:43 Carlos Losada
2007-02-14 21:58 ` Mike Arthur [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a3305fe0702141358q68ff3414i62434637d61b650a@mail.gmail.com \
--to=arth2219@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=itel9cl1@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).