From owner-svn-src-all@FreeBSD.ORG Wed Apr 24 16:13:38 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 826E633D for ; Wed, 24 Apr 2013 16:13:38 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-da0-x22b.google.com (mail-da0-x22b.google.com [IPv6:2607:f8b0:400e:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC191E00 for ; Wed, 24 Apr 2013 16:13:38 +0000 (UTC) Received: by mail-da0-f43.google.com with SMTP id u36so966399dak.30 for ; Wed, 24 Apr 2013 09:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=NJ9CEtp3qgi2UHXAO/Lxrr9aaiVlcdK8/xo2+ROV63g=; b=KXIzjX64es2p0OI8NiX0t0rq2ZcubqaKJaSIWDh7RV85bKiU4BVmwfS/vYlNeoILUn ZZ9ojdQLkIXr4c6reJE1n7vXtqyDQiX9a8l/zkdkWmYePevcsqBKUm3Bk0ciBecBMBjA a1UvpBmmrZ/zMHXPYsUKYIC3U9YPY5tH/D7c26QJ5/Geqoxk7+pOjvzoxYFTTbsZinmr 34uXd7oEtg23WoadoWVL1We+fhI+OE8MHb+1/5gaudpURY8l9KmqMy0aJZJfISLYmZMB KA98LwSPGGwSrH0XYP1IJVfsTt0YXMx2R3Oyrgvv+ANK2+urKKJf9zhmK8DF9gHccImn 8eCQ== X-Received: by 10.68.244.5 with SMTP id xc5mr48920626pbc.66.1366820017496; Wed, 24 Apr 2013 09:13:37 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id mm9sm3548981pbc.43.2013.04.24.09.13.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Apr 2013 09:13:36 -0700 (PDT) Sender: Warner Losh Subject: Re: svn commit: r249790 - in head/sys/mips: include mips Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 24 Apr 2013 10:13:36 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <6CE3FE8F-25EB-4B13-967B-7C3E6EC3E986@bsdimp.com> References: <201304230938.r3N9cIV0047961@svn.freebsd.org> To: David Chisnall X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmbJrnT6Q0qMx0O6xFA2omlh1vp/Iz++z0cETauycBIgi9NXlzmxnx5+FaJgETCTSdWUAPh Cc: Juli Mallett , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 16:13:38 -0000 On Apr 24, 2013, at 1:49 AM, David Chisnall wrote: > On 24 Apr 2013, at 03:40, Juli Mallett wrote: >=20 >> I don't see why we shouldn't just replace regnum.h with the NetBSD >> version, and merge that to all active branches. Since you're trying >> to update these headers, Warner, it would be great if you could do >> that. >=20 > That would probably be sensible. The original problem that motivated = these changes was that ptrace returns the registers in the wrong order, = which is visible in gdb, which displays the registers in the wrong = order. The comment in our gdb indicates that we have the same trap = frame layout as NetBSD, but it turns out that we don't... We will shortly. I'll be reworking this... Warner