From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13981 invoked by alias); 13 Oct 2008 16:41:16 -0000 Received: (qmail 13965 invoked by uid 22791); 13 Oct 2008 16:41:16 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate1.de.ibm.com (HELO mtagate1.de.ibm.com) (195.212.17.161) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 13 Oct 2008 16:40:32 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.13.1/8.13.1) with ESMTP id m9DGeQUK010440 for ; Mon, 13 Oct 2008 16:40:28 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m9DGePsY3752032 for ; Mon, 13 Oct 2008 18:40:25 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m9DGePua027795 for ; Mon, 13 Oct 2008 18:40:25 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m9DGePBo027792; Mon, 13 Oct 2008 18:40:25 +0200 Message-Id: <200810131640.m9DGePBo027792@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 13 Oct 2008 18:40:25 +0200 Subject: Re: [PATCH?] GDB HEAD (partly) broken for GNU/Hurd To: tschwinge@gnu.org (Thomas Schwinge) Date: Mon, 13 Oct 2008 16:41:00 -0000 From: "Ulrich Weigand" Cc: pedro@codesourcery.com (Pedro Alves), gdb@sourceware.org, ams@gnu.org (Alfred M. Szmidt), bug-hurd@gnu.org In-Reply-To: <20081011174040.GI21737@fencepost.gnu.org> from "Thomas Schwinge" at Oct 11, 2008 07:40:40 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00055.txt.bz2 Thomas Schwinge wrote: > Ha, I, myself, am the GDB guru here ;-)! I had a look at the log again, > experimented some more, and finally got it going with the following > patch. However, I have absolutely no idea whether that is correct in all > cases, etc. Should perhaps target_wait (a.k.a. gnu-nat.c's gnu_wait) be > doing that? Adding switch_to_thread at this location seems correct to me (even though it should be a no-op on most targets). Could you test your patch on a non-Hurd target to make sure, anyway? > + /* TODO. How to keep this synchronized with gnu-nat.c's own counting? */ Hmm. It would appear that "set exec-wrapper" is currently broken with the gnu-nat.c target, right? Thanks, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com