From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26422 invoked by alias); 6 Dec 2002 21:07:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26415 invoked from network); 6 Dec 2002 21:07:45 -0000 Received: from unknown (HELO exchange.timesys.com) (65.117.135.105) by sources.redhat.com with SMTP; 6 Dec 2002 21:07:45 -0000 Received: from [192.168.2.66] ([65.117.135.98]) by exchange.timesys.com with Microsoft SMTPSVC(5.0.2195.3779); Fri, 6 Dec 2002 16:07:03 -0500 Subject: Re: Gdbserver Threading Issues From: Paul Mundt To: Daniel Jacobowitz Cc: gdb@sources.redhat.com In-Reply-To: <20021206192849.GA4411@nevyn.them.org> References: <1039206274.11722.85.camel@Origin> <20021206192849.GA4411@nevyn.them.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-RBujncvd1NkjvqgNFb0h" Organization: TimeSys Corporation Message-Id: <1039212714.11722.98.camel@Origin> Mime-Version: 1.0 Date: Fri, 06 Dec 2002 13:07:00 -0000 X-OriginalArrivalTime: 06 Dec 2002 21:07:03.0562 (UTC) FILETIME=[6D00B6A0:01C29D6B] X-SW-Source: 2002-12/txt/msg00129.txt.bz2 --=-RBujncvd1NkjvqgNFb0h Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1067 On Fri, 2002-12-06 at 14:28, Daniel Jacobowitz wrote: > Not without more information. Look at the remote session transcript, > see what is going on. Hum, still debugging this .. I'm still at a loss as to why breakpoints would be having any effect on anything, though from the looks of it the newly created threads are tracked just fine by thread_db_find_new_threads() in gdbserver/thread-db.c Also single stepping through maybe_attach_thread() everything looks alright, though still the threads don't show up on the GDB side. Also, on the gdb side of things, it doesn't look like there are any events happening .. thus handle_inferior_event() is never stepped into at thread creation/running/exit time. Although td_thr_event_enable() still returns TD_OK. I'm still a bit unsure as to the code flow for most of this, so I suppose more debugging is in order.. Notably, if I connect gdb to gdbserver while gdb and gdbserver are both running under gdb control, SIG32 issues appear again..=20 Regards, --=20 Paul Mundt TimeSys Corporation --=-RBujncvd1NkjvqgNFb0h Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA98SCqicEyV32UmDQRAnFsAJ0dcl6RJvHWVv5P2oKkXNaKPeG7CwCdEHDW bI3X93xo5xVExaN/wumn9zE= =jUyv -----END PGP SIGNATURE----- --=-RBujncvd1NkjvqgNFb0h--