Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Cc: Daniel Jacobowitz <drow@mvista.com>
Subject: Re: [Fwd: Re: gdb/725: Crash using debug target and regcaches (in 5.3 branch?)]
Date: Thu, 21 Nov 2002 17:38:00 -0000	[thread overview]
Message-ID: <3DDD8A70.2010805@redhat.com> (raw)
In-Reply-To: <3DDD7D8E.2010407@redhat.com>

In fact:

cagney@torrens$ grep ptrace gdb.strace | wc -l
5236211

cagney@torrens$ grep PTRACE_PEEKUSER gdb.strace | wc -l
     162
cagney@torrens$ grep PTRACE_CONT gdb.strace | wc -l
     610
cagney@torrens$ grep SIGSTOP gdb.strace | grep kill | wc -l
     515

But, get this:

cagney@torrens$ grep PTRACE_PEEKTEXT gdb.strace | wc -l
5231130

so, until the PEEKTEXT is eliminated, it won't make any difference.

--

Plucking a ``random'' memory location out of thin air:

cagney@torrens$ grep 0x40040ea0 gdb.strace | grep ptrace | wc -l
    7038
cagney@torrens$ expr 7038 \* 250
1759500

(I think its a buffer that thread db needs - the buffer is read 7000 
times when the target only does ~160 continues (if that)).

Andrew


  reply	other threads:[~2002-11-22  1:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 14:42 Andrew Cagney
2002-11-21 16:14 ` Daniel Jacobowitz
2002-11-21 16:43   ` Andrew Cagney
2002-11-21 17:38     ` Andrew Cagney [this message]
2002-11-21 18:37     ` Daniel Jacobowitz
2002-11-25 17:41       ` Daniel Jacobowitz
2002-11-25 18:00         ` Michael Snyder
2002-11-26  6:48 ` Andrew Cagney

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=3DDD8A70.2010805@redhat.com \
    --to=ac131313@redhat.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