public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Frysk List <frysk@sourceware.org>
Subject: Re: Strange behavior with the fhpd
Date: Fri, 13 Jul 2007 13:23:00 -0000	[thread overview]
Message-ID: <46977CFA.4020308@redhat.com> (raw)
In-Reply-To: <1184281802.3010.41.camel@multics.rdu.redhat.com>

Stan Cox wrote:
> Looks like a timing issue.  I think this is what is happening:
>
> Currently:
> frysk.cli.hpd.CLI.finishAttach -> frysk.stack.StackFactory.createFrame
> (sometimes you end up only with start, this is Adam's problem)
>
>   
I don't think it will be a timing issue.   Looking at this:

   1.
      [ajocksch@localhost frysk-core]$ frysk/bindir/fhpd
      /home/ajocksch/build/frysk/frysk-core/frysk/pkglibdir/funit-rt-varchange
   2.
      Attached to process 14184
   3.
      (fhpd) where
   4.
      #0 0x006a58d0 in _start ()

I'm surprised it is still in _start.

   1.
      (fhpd) break @funit-rt-varchange.c@52
   2.
      breakpoint 0
   3.
      (fhpd) go
   4.
      (fhpd) Breakpoint 0 @funit-rt-varchange.c@52
   5.
      where
   6.
      #0 0x006a58d0 in _start ()


A guess is that something is trying to be more efficient by caching 
locally instead of leaving it to a lower level.  This often happens when 
the LHS with refresh is fighting the RHS using on-demand.  I'd suggest a 
step sideways here and remove all caching for now; do everything on-demand.

   1.
      (fhpd) display x
   2.
      1: x = <unavailable>
   3.
      (fhpd)


> Previously:
> as above...but later
> frysk.cli.hpd.CLI.refreshSymtab -> frysk.debuginfo.DebugInfo.refresh ->
> frysk.debuginfo.DebugInfoEvaluator.refreshCurrentFrame ->
> -> frysk.stack.StackFactory.createFrame
>
> Looks like it will be necessary to either delay the setup of frame or
> resurrect some form of the refresh machinery.
>
>
>
>   

  reply	other threads:[~2007-07-13 13:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12 17:58 Adam Jocksch
2007-07-12 20:19 ` Stan Cox
2007-07-12 23:14   ` Stan Cox
2007-07-13 13:23     ` Andrew Cagney [this message]
2007-07-13 19:47       ` Stan Cox
2007-07-13  3:17 ` Stan Cox

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=46977CFA.4020308@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    /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).