Bug 8627 - A thread has-a selected/current frame
Summary: A thread has-a selected/current frame
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: threads (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 20:08 UTC by ac131313
Modified: 2010-06-10 16:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ac131313 2004-01-19 20:08:00 UTC
[Converted from Gnats 1522]

 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

Release:
unknown
Comment 1 Tom Tromey 2010-06-10 16:51:11 UTC
*** Bug 7573 has been marked as a duplicate of this bug. ***