public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jon Ringle <jon.ringle@comdial.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: pthread_create does not return when remote debugging
Date: Sat, 28 Jun 2003 20:02:00 -0000	[thread overview]
Message-ID: <200306281311.06525.jon.ringle@comdial.com> (raw)
In-Reply-To: <20030628152137.GB8004@nevyn.them.org>

> > 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

  reply	other threads:[~2003-06-28 17:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-28  7:16 Jon Ringle
2003-06-28 13:43 ` Jon Ringle
2003-06-28 15:52   ` Jon Ringle
2003-06-29  2:16     ` Jon Ringle
2003-06-28 15:01 ` Daniel Jacobowitz
2003-06-28 15:02   ` Jon Ringle
2003-06-28 15:30     ` Daniel Jacobowitz
2003-06-28 20:02       ` Jon Ringle [this message]
2003-06-28 20:29         ` Daniel Jacobowitz
2003-06-28 22:49           ` Jon Ringle
2003-06-29  2:02             ` Daniel Jacobowitz
2003-06-29  6:40               ` Jon Ringle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306281311.06525.jon.ringle@comdial.com \
    --to=jon.ringle@comdial.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).