From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8326 invoked by alias); 28 Jun 2003 17:13:04 -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 8311 invoked from network); 28 Jun 2003 17:13:03 -0000 Received: from unknown (HELO smtp-out.comcast.net) (24.153.64.116) by sources.redhat.com with SMTP; 28 Jun 2003 17:13:03 -0000 Received: from home.ringle.org (pcp03186657pcs.proctr01.fl.comcast.net [68.56.245.147]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HH700LCNBQQMY@mtaout01.icomcast.net> for gdb@sources.redhat.com; Sat, 28 Jun 2003 13:11:15 -0400 (EDT) Received: by home.ringle.org (Postfix, from userid 501) id A6476B8244; Sat, 28 Jun 2003 13:11:06 -0400 (EDT) Date: Sat, 28 Jun 2003 20:02:00 -0000 From: Jon Ringle Subject: Re: pthread_create does not return when remote debugging In-reply-to: <20030628152137.GB8004@nevyn.them.org> To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Message-id: <200306281311.06525.jon.ringle@comdial.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5 References: <200306280128.02056.jon.ringle@comdial.com> <200306281101.34861.jon.ringle@comdial.com> <20030628152137.GB8004@nevyn.them.org> X-SW-Source: 2003-06/txt/msg00529.txt.bz2 > > Could the problem be on the gdbserver side not sending back anything in > > response to gdb Sending packet: &c#63...Ack? > > No. That's a continue request. The target isn't stopping again, but > that's not gdbserver's fault... it won't respond to the client until > the program stops. > > Find out why it's not stopping... I turned on remote_debug = 1, and debug_threads = 1 on gdbserver, and I get the following on the target when I continue. The signal 32 looks suspect to me. getpkt ("c"); [sending ack] [sent ack] Resuming process 179 (continue, signal 0, stop not expected) Checking for breakpoint. Removed breakpoint. Got an event from 179 (57f) Hit a (non-reinsert) breakpoint. Thread creation event. Writing 00 to 40111a2c Attaching to thread 2049 (LWP 194) Writing 01 to 40111a28 Writing 0d to 40104d44 Resuming process 179 (step, signal 0, stop not expected) pending reinsert at 40104d44Checking for breakpoint. Removed breakpoint. Got an event from 194 (137f) Expected stop. Resuming process 194 (continue, signal 0, stop not expected) Ignored signal 32 for 1024 (LWP 179). Resuming process 179 (step, signal 32, stop not expected) pending reinsert at 40104d44