From owner-freebsd-alpha Sun Jun 30 12:37:45 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 865CD37B400; Sun, 30 Jun 2002 12:37:44 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097F743E09; Sun, 30 Jun 2002 12:37:44 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.4/8.12.2) with ESMTP id g5UJbgtL071616; Sun, 30 Jun 2002 12:37:42 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.4/Submit) id g5UJbgOe071615; Sun, 30 Jun 2002 12:37:42 -0700 (PDT) Date: Sun, 30 Jun 2002 12:37:42 -0700 From: "David O'Brien" To: Andrew Gallatin Cc: alpha@FreeBSD.ORG, mp@FreeBSD.ORG Subject: Re: gdb breaks world Message-ID: <20020630123742.C71518@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Andrew Gallatin , alpha@FreeBSD.ORG, mp@FreeBSD.ORG References: <15646.25960.889781.783159@grasshopper.cs.duke.edu> <20020629193514.A51177@dragon.nuxi.com> <15646.28621.258621.69134@grasshopper.cs.duke.edu> <20020629214620.A56685@dragon.nuxi.com> <15647.23464.742291.557283@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15647.23464.742291.557283@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Sun, Jun 30, 2002 at 03:27:36PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jun 30, 2002 at 03:27:36PM -0400, Andrew Gallatin wrote: > What was the rationale for how the x86 kvm-fbsd.c was brought forward > and the alpha kvm-fbsd.c was left behind? I begged people to try the gdb52 port, but it turns out that there wasn't Alpha kgdb support -- only i386 support. At the point I realized everything we needed wasn't part of the gdb52 port was already 1/2 into the import. > Was it intended that other platforms add support via #ifdef's to > kvm-fbsd.c, or was it just an oversight and I should just bring the > existing alpha kvm-fbsd.c forward? IMO we keep doing things too differently between our arches. I would like to see us try to do the same thing as much as possible. I thought maybe we could share a single kvm-fbsd.c file; but after looking at it when I made that commit I guess not. BUT I do think we can share some things across all arches (maybe we add a few #defines to arch headers to help). So I expect there will need to be a kvm-fbsd-{ARCH}.c file added with just a _few_ things in it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message