From: Jesper Skov <jskov@redhat.com>
To: Jonathan Larmour <jlarmour@redhat.com>
Cc: Fabrice Gautier <Fabrice_Gautier@sdesigns.com>,
eCos discussion <ecos-discuss@sources.redhat.com>,
Gary Thomas <gthomas@redhat.com>, Jesper Skov <jskov@redhat.com>
Subject: Re: [ECOS] Tracing and Debug
Date: Sun, 23 Jul 2000 23:31:00 -0000 [thread overview]
Message-ID: <14715.58047.455679.283074@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <3978D6C1.6D67C46A@redhat.co.uk>
>>>>> "Jonathan" == Jonathan Larmour <jlarmour@redhat.com> writes:
Jonathan> Jesper/Gary, do we have any CDL now that should prevent
Jonathan> this? I can't find any, but I didn't get the assertion above
Jonathan> when I tried it so is there some other mechanism? I suspect
Jonathan> the platform CDL for the debug serial port (now
Jonathan> CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL in the new world)
Jonathan> should require !CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT &&
Jonathan> !CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
I guess we should put something in place to at least warn about this
conflict. The below contains the logic:
cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL {
display "Debug serial port"
flavor data
legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
default_value 0
requires !( ((CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL==0 &&\
CYGPKG_IO_SERIAL_ARM_PID_SERIAL0) || \
(CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL==1 &&\
CYGPKG_IO_SERIAL_ARM_PID_SERIAL1)) && \
(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT || \
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT))
description "
The PID board has only one serial port. This option
chooses which port will be used to connect to a host
running GDB."
}
But:
o It's rather nasty to look at
o The warning/error would appear at the wrong location - it really
belongs in the common HAL with the CTRLC/BREAK options.
Maybe it could be done with interfaces.
Jesper
next prev parent reply other threads:[~2000-07-23 23:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <21DDE8E5343ED411840A00A0CC3340201047E9@EXCHANGE5_5>
2000-07-21 16:03 ` Jonathan Larmour
2000-07-23 23:31 ` Jesper Skov [this message]
2000-07-21 17:47 Fabrice Gautier
2000-07-22 11:57 ` Jonathan Larmour
-- 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=14715.58047.455679.283074@thinktwice.zoftcorp.dk \
--to=jskov@redhat.com \
--cc=Fabrice_Gautier@sdesigns.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=gthomas@redhat.com \
--cc=jlarmour@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).