This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with GDB over /dev/ttyS0
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: jyl087 at netscape dot net
- Cc: eCos discussion <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 05 Apr 2002 16:38:07 +0100
- Subject: Re: [ECOS] Problem with GDB over /dev/ttyS0
- Organization: Red Hat UK Ltd.
- References: <2EA67561.1AFEFD6E.00067016@netscape.net>
jyl087@netscape.net wrote:
>
> Jonathan Larmour <jlarmour@redhat.com> wrote:
> >jyl087@netscape.net wrote:
> >> Jonathan Larmour <jlarmour@redhat.com> wrote:
> >> >jyl087@netscape.net wrote:
> >> >> Help..., I'm can't connect to my remote EDB7312 via the serial GDB
> >> >> interface. The host is Linux 7.2, running GDB 5.1.1. The target is
> >> >> the latest eCos, running on a EDB7312 board with RedBoot installed
> >> >> in Flash.
> >> $01000000010000002c4600005000000003000000500000000000000001000000ac46000000000000
> >
> >Well that does look vaguely sensible in principle. In that case try GDB
> >again and do "set remotedebug 1" (or "set debug remote 1" in more recent
> >GDBs) before doing the target remote.
>
> THAT WORKED! Thanks!
Worked?! It shouldn't have changed anything except to output some debug
info! Weird. Sounds like some sort of timing bug if this fixes it (which
potentially relates to other problems you've seen.
> By the way, is it possible to get information about eCos threads in
> GDB-Insight? Insight gives me an error when I invoke "View->Thread-list".
> Perhaps it's my GDB/Redboot stub that's somehow broken?
It must be because this normally works.
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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss