Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 02:36:46 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        current@freebsd.org
Subject:   Re: funny strlen defines in sys/alpha/alpha/alpha-gdbstub.c
Message-ID:  <20010703023646.A65147@hades.hell.gr>
In-Reply-To: <20010703090423.V506@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Tue, Jul 03, 2001 at 09:04:23AM %2B1000
References:  <20010702113423.B7023@hades.hell.gr> <20010703090423.V506@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 03, 2001 at 09:04:23AM +1000, Peter Jeremy wrote:

> Alternatively, given the XXX comment, why not delete the local copies
> of str{cpy,len}() and just usr the library versions?  The original
> reason appears to be to avoid the possibility that str{cpy,len}() are
> not re-entrant.  The FreeBSD ones _are_ re-entrant and it doesn't seem
> likely that we will re-write them not to be re-entrant.

I don't have an alpha around to test any of these changes.
If someone can test a kernel with these functions removed, and/or
replaced by gdb_xxx equivalents, and says that it works for them, its
ok with me.

What you suggest about reentrancy seems OK though :-)

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703023646.A65147>