public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Tong Chi Wa <cwtong@se.cuhk.edu.hk>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] GDB with redboot
Date: Wed, 31 Jan 2001 09:26:00 -0000	[thread overview]
Message-ID: <3A784AAF.256549A@redhat.com> (raw)
In-Reply-To: <Pine.GSO.4.10.10101311951380.28193-100000@cuse132.se.cuhk.edu.hk>

Tong Chi Wa wrote:
> 1. The host GDB will get "remote packets too long" when
>    connecting, over both serial and ethernet link. This should
>    be from the register dump command.
> 
> 2. On a serial link, the response time of the first memory dump
>    is longer than the following memory dumps. Snooping on the
>    serial link, I've found that there are two request packets
>    sent from the host for the first memory dump. It looks like
>    there is some kind of timeout mechanism on the host side.
> 
> 3. On the ethernet link, host GDB will stuck in the first memory
>    dump. I've checked that the target did respond to the 'm'
>    GDB command and send out the response packet. The target
>    still responds to ping packets so the target should not
>    miss any retry request packets from the host. Unlike the case
>    with the serial link, there is only one request packet sent
>    from the host.
> 
>   I'm not sure if this problem is on Redboot or GDB. Is there
> something need to configured differently for GDB to work with
> the eCos GDB stubs?

There shouldn't be. In the serial case, have you been able to determine
whether the stub actually received the data, and hence why the timeout
seems to happen?

The "remote packets too long" does sound like the register format that GDB
expects now is different from what it used to expect; or it may be a bug. I
can't give any more specific advice than that. Perhaps
gdb@sources.redhat.com may be helpful :-/.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

      reply	other threads:[~2001-01-31  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31  3:57 Tong Chi Wa
2001-01-31  9:26 ` Jonathan Larmour [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=3A784AAF.256549A@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=cwtong@se.cuhk.edu.hk \
    --cc=ecos-discuss@sources.redhat.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).