This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]