Re: [patch] Overhaul i386nbsd-nat.c, add support for XMM + ELF core files

Mark Kettenis
2002-01-05T14:07:18Z

Date: Fri, 4 Jan 2002 19:03:50 -0800
From: Jason R Thorpe <thorpej@wasabisystems.com>

On Sat, Jan 05, 2002 at 01:39:52AM +0100, Mark Kettenis wrote:

> Is there any chance that I can convince you to make NetBSD use
> i386bsd-nat.c instead of i386nbsd-nat.c? NetBSD is close enough to
> FreeBSD and OpenBSD to be able to use the same basic functionality on
> all of them.

[From your first message]

I'd really rather not (the other BSD's don't have the XMM functionality,
for example), but I'll take a look to see if it's really feasible.

My secret agenda of course is that when FreeBSD gets XMM
functionality, GDB will already have the support for it :-).

Likewise, when NetBSD implements support for the debug registers
(which FreeBSD already has), the support will already be there!

Note, i386nbsd-nat.c is still going to be necessary, since NetBSD uses
different core files than the others.

Sure!

[From your second message]

Alright, I did this; it wasn't quite as nasty as I thought it'd be.

Well, I tried hard to write i386bsd.c such that it could be used on
all BSD's :-).

OK to commit?

Yes please!

Thanks,

Mark