2003-11-22 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 22 Nov 2003 23:00:37 +0000 (23:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 22 Nov 2003 23:00:37 +0000 (23:00 +0000)
* 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.

gdb/ChangeLog
gdb/frame.c
gdb/frame.h

index 99176ee..12bd3cb 100644 (file)
@@ -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.
index bedbae4..3306660 100644 (file)
@@ -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)
 {
index 30d6969..00975f3 100644 (file)
@@ -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);