2003-04-04 Andrew Cagney <cagney@redhat.com>
* frame.c (create_sentinel_frame): Initialize the sentinel frame's ID to NULL.
This commit is contained in:
parent
9f8633693f
commit
50bbdbd931
2 changed files with 9 additions and 0 deletions
|
@ -512,6 +512,10 @@ create_sentinel_frame (struct regcache *regcache)
|
|||
frame's PC may require information such as the frame's thread's
|
||||
stop reason. Is it possible to get to that? */
|
||||
frame->pc = frame_pc_unwind (frame);
|
||||
/* Make the sentinel frame's ID valid, but invalid. That way all
|
||||
comparisons with it should fail. */
|
||||
frame->id_p = 1;
|
||||
frame->id = null_frame_id;
|
||||
return frame;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue