From: Jonathan Larmour <jlarmour@redhat.co.uk>
To: Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
Cc: eCos discussion <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] Tracing and Debug
Date: Sat, 22 Jul 2000 11:57:00 -0000 [thread overview]
Message-ID: <3979EE93.8943C1BA@redhat.co.uk> (raw)
In-Reply-To: <21DDE8E5343ED411840A00A0CC3340201047EB@EXCHANGE5_5>
Fabrice Gautier wrote:
>
> > From: Jonathan Larmour [ mailto:jlarmour@redhat.co.uk ]
> > Fabrice Gautier wrote:
> > > Init device '/dev/ttydiag'
> > > Init tty channel: 27E6C
> > > Init device '/dev/haldiag'
> > > HAL/diag SERIAL init
> > > Init device '/dev/ser0'
^^^^^^^^^^^
> > > Set output buffer - buf: 296C4 len: 512
> > > Set input buffer - buf: 298C4 len: 512
> > > ASSERT FAIL: <1>intr.cxx [ 426] void
> > Cyg_Interrupt::attach()
> > > Interrupt vector not free.
> >
> > And here is your problem. The serial drivers have been
> > enabled, but this is
> > conflicting with the external break support because both want to put
> > interrupt handlers on the serial line. You cannot have both.
>
> Hum...
>
> So I shouldn't have HAL/diag serial device driver
> enabled(CYGPKG_IO_SERIAL_HALDIAG) when i include the GDB stubs in HAL with
> GDB external break support (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS and
> CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT) ?
No, that HALDIAG driver should be enabled. But from the mention of
/dev/ser0 above, this indicates you have the "real" serial driver enabled,
and that is what conflicts with break support, i.e.
CYGPKG_IO_SERIAL_ARM_PID and CYGPKG_IO_SERIAL_ARM_PID_SERIAL0.
> But I don't see why the problem only occurs when I enable tracing? I seemed
> to run fine before.
It wasn't tracing that exposed this - it was assertions, which is default
enabled when tracing is enabled (although you can disable it).
> (I will check again for the other building problem - and perhaps will try
> the cvs stuff once I found any good cvs tool for Windows)
Don't forget to look at the links referenced from
http://sources.redhat.com/ecos/anoncvs.html if you haven't already.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
next prev parent reply other threads:[~2000-07-22 11:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-21 17:47 Fabrice Gautier
2000-07-22 11:57 ` Jonathan Larmour [this message]
[not found] <21DDE8E5343ED411840A00A0CC3340201047E9@EXCHANGE5_5>
2000-07-21 16:03 ` Jonathan Larmour
2000-07-23 23:31 ` Jesper Skov
-- strict thread matches above, loose matches on Subject: below --
2000-07-21 10:38 Fabrice Gautier
2000-07-21 13:27 ` Jonathan Larmour
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=3979EE93.8943C1BA@redhat.co.uk \
--to=jlarmour@redhat.co.uk \
--cc=Fabrice_Gautier@sdesigns.com \
--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).