diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-04 14:46:00 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-04 14:46:00 +0000 |
commit | 50bbdbd931ec00d2cc73a88dcdc3f4ebeea0460c (patch) | |
tree | c7541beb2a320cd0e3648417a37385afb79679d9 /gdb/frame.c | |
parent | 9f8633693f8389bbb53c3f2c348ae2f593568807 (diff) | |
download | gdb-50bbdbd931ec00d2cc73a88dcdc3f4ebeea0460c.zip gdb-50bbdbd931ec00d2cc73a88dcdc3f4ebeea0460c.tar.gz gdb-50bbdbd931ec00d2cc73a88dcdc3f4ebeea0460c.tar.bz2 |
2003-04-04 Andrew Cagney <cagney@redhat.com>
* frame.c (create_sentinel_frame): Initialize the sentinel frame's
ID to NULL.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 09dea5e..4791bf0 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -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; } |