aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-22 23:00:37 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-22 23:00:37 +0000
commit2a9264f1262bd62bf892419a197deb2ee65a421a (patch)
tree4de9a73f60414184d271126f1b9f2440d701ac06
parentf15b280f1263f08472f79da60fa587ab37902a71 (diff)
downloadgdb-2a9264f1262bd62bf892419a197deb2ee65a421a.zip
gdb-2a9264f1262bd62bf892419a197deb2ee65a421a.tar.gz
gdb-2a9264f1262bd62bf892419a197deb2ee65a421a.tar.bz2
2003-11-22 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_get_frame_context): Delete function. (deprecated_set_frame_prev_hack): Delete function. (struct frame_info): Delete member "context". * frame.h (deprecated_get_frame_context): Delete declaration. (deprecated_set_frame_context): Delete declaration.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/frame.c24
-rw-r--r--gdb/frame.h12
3 files changed, 6 insertions, 36 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 99176ee..12bd3cb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2003-11-22 Andrew Cagney <cagney@redhat.com>
+ * frame.c (deprecated_get_frame_context): Delete function.
+ (deprecated_set_frame_prev_hack): Delete function.
+ (struct frame_info): Delete member "context".
+ * frame.h (deprecated_get_frame_context): Delete declaration.
+ (deprecated_set_frame_context): Delete declaration.
+
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
diff --git a/gdb/frame.c b/gdb/frame.c
index bedbae4..33066602 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -86,10 +86,6 @@ struct frame_info
initialized by DEPRECATED_INIT_EXTRA_FRAME_INFO */
struct frame_extra_info *extra_info;
- /* If dwarf2 unwind frame informations is used, this structure holds
- all related unwind data. */
- struct context *context;
-
/* The frame's low-level unwinder and corresponding cache. The
low-level unwinder is responsible for unwinding register values
for the previous frame. The low-level unwind methods are
@@ -2248,26 +2244,6 @@ deprecated_set_frame_next_hack (struct frame_info *fi,
fi->next = next;
}
-void
-deprecated_set_frame_prev_hack (struct frame_info *fi,
- struct frame_info *prev)
-{
- fi->prev = prev;
-}
-
-struct context *
-deprecated_get_frame_context (struct frame_info *fi)
-{
- return fi->context;
-}
-
-void
-deprecated_set_frame_context (struct frame_info *fi,
- struct context *context)
-{
- fi->context = context;
-}
-
struct frame_info *
deprecated_frame_xmalloc (void)
{
diff --git a/gdb/frame.h b/gdb/frame.h
index 30d6969..00975f3 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -738,18 +738,6 @@ extern void deprecated_set_frame_next_hack (struct frame_info *fi,
extern void deprecated_set_frame_prev_hack (struct frame_info *fi,
struct frame_info *prev);
-/* FIXME: cagney/2003-01-07: Instead of the dwarf2cfi having its own
- dedicated `struct frame_info . context' field, the code should use
- the per frame `unwind_cache' that is passed to the
- frame_pc_unwind(), frame_register_unwind() and frame_id_unwind()
- methods.
-
- See "dummy-frame.c" for an example of how a cfi-frame object can be
- implemented using this. */
-extern struct context *deprecated_get_frame_context (struct frame_info *fi);
-extern void deprecated_set_frame_context (struct frame_info *fi,
- struct context *context);
-
/* Return non-zero if the architecture is relying on legacy frame
code. */
extern int legacy_frame_p (struct gdbarch *gdbarch);