public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: K Srinivas Aithal <ksaithal_ecos@yahoo.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Problems with GDB on MPC8240
Date: Thu, 16 Aug 2001 02:06:00 -0000	[thread overview]
Message-ID: <15227.36090.597251.491727@zoftcorp.adsl.dk> (raw)
In-Reply-To: <20010816085551.25889.qmail@web14302.mail.yahoo.com>

>>>>> "K" == K Srinivas Aithal <ksaithal_ecos@yahoo.com> writes:

K> I do have still more problems. The program is not stopping at the
K> given breakpoint. Do I need to port any extra stubs for my
K> platform. But I saw the that the 603 pased simulator works fine in
K> this regard; so I think even MPC8240 based board should work the
K> same. Or does the "target sim" at the (gdb) prompt of
K> "powerpc-eabi-gdb" will take care of this. Should I port the
K> InstructionBreak exception of 8240 also for this.

The sim does not rely on stub support, so the stubs are untested on a
603. In any event, GDB is the one setting breakpoints, so all I can
think of causing the problem would be the cache. Try disabling it.

K> I have one more doubt. My sample application is a hello program
K> (which I took it from the eCos example secion). I'm expecting
K> "Hello" at the gdb console; but I'm not getting it. The reason for
K> this is incorrect serial device base address specified in the
K> serial driver at "packages/devs/serial". My doubt is "Can the
K> serial driver within hello application pack the string ..hello.. as
K> required by the gdb protocol so that the gdb console can
K> understand" Or "if it donot can the gdb console print it on the
K> host properly".

The hello world example uses printf() which (in the default
configuration) layers on the HAL diag functions. These will do the
necessary encoding for GDB.

Jesper

  reply	other threads:[~2001-08-16  2:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 10:46 K Srinivas Aithal
2001-08-10  0:19 ` Jesper Skov
2001-08-16  1:55   ` K Srinivas Aithal
2001-08-16  2:06     ` Jesper Skov [this message]
2001-08-20  9:11       ` K Srinivas Aithal

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=15227.36090.597251.491727@zoftcorp.adsl.dk \
    --to=jskov@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ksaithal_ecos@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).