From mint-bounce@lists.fishpool.fi  Wed Jun  2 13:43:50 2010
Message-ID: <834.972688124935-sendEmail@descaro>
From: "Helmut Karlowski" <helmut.karlowski@ish.de>
To: "Alan Hourihane" <mint@lists.fishpool.fi>
Cc: "helmut.karlowski@ish.de" <helmut.karlowski@ish.de>
Subject: Re: [MiNT] patch:MiNT:single-task
Date: Wed, 2 Jun 2010 17:40:18 +0000
X-Mailer: sendEmail-1.55
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----MIME delimiter for sendEmail-468676.927340315"
X-Antivirus: avast! (VPS 100602-0, 02.06.2010), Outbound message
X-Antivirus-Status: Clean
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: helmut.karlowski@ish.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

This is a multi-part message in MIME format. To properly display this message you need a MIME-Version 1.0 compliant Email program.

------MIME delimiter for sendEmail-468676.927340315
Content-Type: text/plain;
  charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable

Alan Hourihane wrote:

> Helmut,
>
> It sounds like this is more useful in the DEBUG FreeMiNT kernel.

Why? I don't want to debug MiNT but my programs.

> I think I'd be happy wrapping this up with that as it seems that the
> Pure-Debugger is a pretty low level application and using that with a
> FreeMiNT kernel with DEBUG capabilities sounds like a match.
>
> How about wrapping your patch hunks with...
>
> #ifdef SINGLE_TASK
> ....
> #endif
>
> and then in KERNELDEFS you can add SINGLE_TASK as a new build option.
>
> You could commit your code as is then but it would be easy to disable if
> there are problems.

I personally wouldn't care about this. But then the users that do not
compile themselves would not be able to use it. It's not just
pure-debugger but also pure-pascal. And it's made sure that normal mode
is not affected.

What do other people think about this?


The #ifdef is a good idea though.

-Helmut



------MIME delimiter for sendEmail-468676.927340315--


