aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-30 16:16:25 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-30 16:16:25 +0000
commit06c77151a58b271317859a16c94bf6b98cdf5844 (patch)
treeeaafab55fe58b9e47316e41cb237ba531048b13f /gdb/frame.h
parent97a1a11c19d8235218e4f6c8818c7cd8e0b98ea6 (diff)
downloadgdb-06c77151a58b271317859a16c94bf6b98cdf5844.zip
gdb-06c77151a58b271317859a16c94bf6b98cdf5844.tar.gz
gdb-06c77151a58b271317859a16c94bf6b98cdf5844.tar.bz2
2003-03-30 Andrew Cagney <cagney@redhat.com>
* frame.c (get_frame_base): Force ID initialization. (get_prev_frame): Move computation of the frame ID from here ... (get_frame_id): ... to here. (legacy_get_prev_frame): Mark the frame ID as valid. * frame.h (struct frame_info): Add field "id_p".
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 005960c..238d89d 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -411,6 +411,7 @@ struct frame_info
/* This frame's ID. Note that the frame's ID, base and PC contain
redundant information. */
+ int id_p;
struct frame_id id;
/* Pointers to the next (down, inner, younger) and previous (up,