From: jbbachky@aim.com
To: gdb@sources.redhat.com
Subject: Re: gdbserver/gdb-6/4 and lots of pthreads
Date: Fri, 17 Nov 2006 20:01:00 -0000 [thread overview]
Message-ID: <8C8D89A3DC3857F-C20-593A@mblk-d23.sysops.aol.com> (raw)
In-Reply-To: <20061117190759.GA8764@nevyn.them.org>
>On Fri, Nov 17, 2006 at 01:46:56PM -0500, jbbachky@aim.com wrote:
>> Sending packet:
>>
$QPassSignals:e;10;11;13;14;17;18;1a;1b;1c;1e;1f;20;21;24;25;4c;#af...Ack
>
>Ignore signal 0xe. In the GDB remote protocol that is SIGALRM.
>
I had "handle SIGALRM nostop noprint" in my .gdbinit file I had added
that while
digging into this problem a while ago and had forgotten about it.
Removing it
and re-running everything doesn't appear to have an effect. In
addition to
that, I handle SIGPWR, SIGUSR1, SIGUSR2, SUGXCPU SIGCONT and SIGSTOP
with
"nostop noprint"
With the handle SIGALRM removed, I get a steady stream of:
Sending packet: $vCont;C0e:1bb;c#ea...Ack
Packet received: T0e01:8ff7fb80;40:0f6bf3a8;thread:1bb;
perhaps 100/second. Also, I see my other pthreads waking up and being
switched-to
200 times/second. When not attached to gdb, these do not wake up at
all. And when
I create an event which should wake up one of them, the system thrashes
between that
one and the main parent thread, and "remote debug" data ceases.
>> Sending packet: $vCont;C0e:1c2;c#bb...Ack
>> Packet received: T0e01:8ff7fb80;40:0f6bf3a8;thread:1c2;
>
>Resume thread with SIGLARM. Thread stopped with SIGALRM.
>It shouldn't be doing this; you told it to ignore SIGALRM.
>
>I can't reproduce this behavior; gdbserver doesn't report the SIGALRM
>for me. Are you using unmodified versions from CVS at this point?
>
This is the CVS version from Wednesday evening, with your patch
contained here:
http://sources.redhat.com/ml/gdb-patches/2006-11/msg00114.html
If that doesn't have all of the pieces I need, please let me know - a
few days I would
have said that I have no experience with patches/patching. And now I
have some :-)
>--
>Daniel Jacobowitz
>CodeSourcery
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
next prev parent reply other threads:[~2006-11-17 20:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 16:12 jbbachky
2006-11-15 16:50 ` Daniel Jacobowitz
2006-11-15 17:08 ` jbbachky
2006-11-16 15:15 ` Daniel Jacobowitz
2006-11-16 21:53 ` jbbachky
2006-11-16 22:04 ` Daniel Jacobowitz
2006-11-17 18:47 ` jbbachky
2006-11-17 19:08 ` Daniel Jacobowitz
2006-11-17 20:01 ` jbbachky [this message]
2006-11-17 20:14 ` Daniel Jacobowitz
2006-11-29 15:23 ` jbbachky
2006-11-29 15:26 ` Daniel Jacobowitz
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=8C8D89A3DC3857F-C20-593A@mblk-d23.sysops.aol.com \
--to=jbbachky@aim.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