This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
A frame has a thread
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 18 Dec 2002 12:34:54 +0000
- Subject: A frame has a thread
Not sure if anyone has thought about this.
Given a the need to unwind a frame (get_prev_frame()) you need to know
the frame's thread. Two reasons:
- for the inner most frame, this is so that you can fetch the thread's
registers
- for not so inner frames, this is so that you can do things like find
the correct saved dummy frame.
something to add to the `struct frame_info' object.
Andrew