Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: gdb@sources.redhat.com
Subject: A thread has-a selected/current frame
Date: Thu, 09 Oct 2003 14:24:00 -0000	[thread overview]
Message-ID: <3F856FA3.9020300@redhat.com> (raw)

Hello,

At present the selected and current frame are maintained as single 
globals, and independant of the selected and current thread.  As a 
consequence, each time GDB switches between threads, all global frame 
state is flushed.

I'm intending to add a "current frame" and "selected frame" to 
"thread_info" so that, instead this can be maintained on a per-thread basis.

The tricky one is the sentinel-frame.  It needs to be able to perform an 
arbitrary projection of the virtual thread's register onto the target 
below's physical threads and memory.   I think this suggests a 
sentinel-frame parameterized by target, and not just the current regcache.

Thoughts?
Andrew


             reply	other threads:[~2003-10-09 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 14:24 Andrew Cagney [this message]
2003-10-15  8:26 ` Dwarf information about a symbol ankit thukral
2003-10-15  9:12   ` Keith Walker
2003-10-15 13:52   ` 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=3F856FA3.9020300@redhat.com \
    --to=ac131313@redhat.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