From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9907 invoked by alias); 11 Oct 2008 17:49:22 -0000 Received: (qmail 9896 invoked by uid 22791); 11 Oct 2008 17:49:22 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 11 Oct 2008 17:48:47 +0000 Received: from tschwinge by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KoiXh-0007Uh-Q6; Sat, 11 Oct 2008 13:46:17 -0400 Date: Sat, 11 Oct 2008 17:49:00 -0000 From: Thomas Schwinge To: Pedro Alves Cc: gdb@sourceware.org, "Alfred M. Szmidt" , uweigand@de.ibm.com, bug-hurd@gnu.org Subject: Re: GDB HEAD (partly) broken for GNU/Hurd Message-ID: <20081011174617.GZ7127@fencepost.gnu.org> References: <20081009093424.GN7127@fencepost.gnu.org> <200810110047.39807.pedro@codesourcery.com> <20081011172611.GH21737@fencepost.gnu.org> <200810111846.32013.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="diT81a9gloLbuVo+" Content-Disposition: inline In-Reply-To: <200810111846.32013.pedro@codesourcery.com> X-Homepage: http://www.thomas.schwinge.homeip.net/ User-Agent: Mutt/1.5.11 X-IsSubscribed: yes 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/msg00048.txt.bz2 --diT81a9gloLbuVo+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 656 Hello! On Sat, Oct 11, 2008 at 06:46:31PM +0100, Pedro Alves wrote: > > STOPPED_BY_WATCHPOINT () =3D 0 > > infrun: context switch > > infrun: Switching context from bogus thread id 1 to Thread 25830.3 >=20 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > This is missing in the new implementation. In Hurd when going through > the shell doing fork/execs, we see new threads at every exec, and the > old threads disappear. Could you try adding a `switch_to_thread (resume_= thread)' > somewhere after target_wait returns and before any other target method? Haha!, see my other email. :-D Regards, Thomas --diT81a9gloLbuVo+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 191 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFI8OZpgfzh735dTTURAqnUAJ96RCAUZQKJKa5sSt8cnzNggOaAyQCeOlxH JgKXa0jo/vCgQLw2Q5IBk9Q= =nNcP -----END PGP SIGNATURE----- --diT81a9gloLbuVo+--