From: "Kip Macy" Subject: Re: RFT: gdbserver-xen update to 6.8 and SMP fixes Date: Mon, 6 Oct 2008 08:41:08 +0000 Message-ID: <3c1674c90810060141m579f36dhcabbbeeaffb14bc9@mail.gmail.com> References: <3c1674c90810052245i5c4010a2pc382213e40710a47@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3c1674c90810052245i5c4010a2pc382213e40710a47@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Oct 6, 2008 at 5:45 AM, Kip Macy wrote: > Could anyone who is using the gdbserver-xen from tools/debugger/gdb > please try out the following patch: > > http://www.fsmware.com/xen/gdbserver-xen-6.8-upgrade.diff The logs indicate that a couple of people accessed the diff. If any of you intend to use it please grab it again. The original had a bug where a vcpuid would be passed when a domid was needed. I've updated the diff to incorporate the following addition: -+@@ -1194,7 +1323,12 @@ ++@@ -561,8 +690,13 @@ ++ int ret; ++ int to_wait_for = -1; ++ +++#ifdef XEN +++ if (*childp != NULL) +++ to_wait_for = (*childp)->head.id; +++#else ++ if (*childp != NULL) ++ to_wait_for = (*childp)->lwpid; +++#endif Cheers, Kip