Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: jbbachky@aim.com
To: gdb@sources.redhat.com
Subject: Re: gdbserver/gdb-6/4 and lots of pthreads
Date: Wed, 29 Nov 2006 15:23:00 -0000	[thread overview]
Message-ID: <8C8E1E161E7E83A-D40-833E@MBLK-D29.sysops.aol.com> (raw)
In-Reply-To: <20061117201433.GB11609@nevyn.them.org>

Daniel,
I had patching problem - grabbing the source from 11/20 (which includes 
your commit from 11/16) did
solve my performance/thrashing problem with "lots of pthreads". As far 
as I can tell, gdb is doing everything I
need it to do with my powerpc shared libraries program.

>On Fri, Nov 17, 2006 at 03:01:01PM -0500, jbbachky@aim.com wrote:
>>
>> >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
>
>That's the default, so it should make no difference.
>
>> This is the CVS version from Wednesday evening, with your patch
>> contained here:
>> http://sources.redhat.com/ml/gdb-patches/2006-11/msg00114.html
>
>That should be fine. But update to today's CVS with no extra patches
>just to be sure.
>
>If it's still doing this, then I would recommend a debugging printf in
>linux-low.c, right before the new if statement with the pass_signals[]
>check. pass_signals[target_signal_from_host (WSTOPSIG (wstat))] ought
>to be set for SIGALRM, and we ought not to return it to GDB, but your
>log says we did that.
>
>--
>Daniel Jacobowitz
>CodeSourcery
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.


  reply	other threads:[~2006-11-29 15:23 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
2006-11-17 20:14             ` Daniel Jacobowitz
2006-11-29 15:23               ` jbbachky [this message]
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=8C8E1E161E7E83A-D40-833E@MBLK-D29.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