This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with GDB over /dev/ttyS0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]