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
|
@ -1,3 +1,8 @@
|
||||||
|
2003-04-04 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* frame.c (create_sentinel_frame): Initialize the sentinel frame's
|
||||||
|
ID to NULL.
|
||||||
|
|
||||||
2003-04-01 Adam Fedor <fedor@gnu.org>
|
2003-04-01 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* gdb/objc-lang.c (selectors_info): Replace calls to
|
* gdb/objc-lang.c (selectors_info): Replace calls to
|
||||||
|
|
|
@ -512,6 +512,10 @@ create_sentinel_frame (struct regcache *regcache)
|
||||||
frame's PC may require information such as the frame's thread's
|
frame's PC may require information such as the frame's thread's
|
||||||
stop reason. Is it possible to get to that? */
|
stop reason. Is it possible to get to that? */
|
||||||
frame->pc = frame_pc_unwind (frame);
|
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;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue