* nm-hppab.h (KERNEL_U_ADDR): Define.
authorJeff Law <law@redhat.com>
Mon, 18 Apr 1994 17:16:56 +0000 (17:16 +0000)
committerJeff Law <law@redhat.com>
Mon, 18 Apr 1994 17:16:56 +0000 (17:16 +0000)
        (FIVE_ARG_PTRACE): Likewise.
        (CANNOT_STORE_REGISTER): Likewise.
        nm-hppah.h (KERNEL_U_ADDR): Define.
        (FIVE_ARG_PTRACE): Likewise.
        (CANNOT_STORE_REGISTER): Likewise.
        (NEED_TEXT_START_END): Likewise.

        * tm-hppah.h (NEED_TEXT_START_END): Delete definition.
        * xm-hppah.h (KERNEL_U_ADDR): Delete definition.
        (FIVE_ARG_PTRACE): Likewise.
        * xm-hppab.h (KERNEL_U_ADDR): Delete definition.
        (FIVE_ARG_PTRACE): Likewise.

        * hppa-tdep.c (read_unwind_info): Make static.
        (restore_pc_queue): Indirect through the target vector to
        reload the register state.

gdb/ChangeLog
gdb/hppa-tdep.c

index ade676fd81e927cb717ea54e744b7ce52a3eb167..d065354330de751883e5bf2f33a23284fb27d90c 100644 (file)
@@ -1,3 +1,23 @@
+Mon Apr 18 10:08:07 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * nm-hppab.h (KERNEL_U_ADDR): Define.
+       (FIVE_ARG_PTRACE): Likewise.
+       (CANNOT_STORE_REGISTER): Likewise.
+       nm-hppah.h (KERNEL_U_ADDR): Define.
+       (FIVE_ARG_PTRACE): Likewise.
+       (CANNOT_STORE_REGISTER): Likewise.
+       (NEED_TEXT_START_END): Likewise.
+
+       * tm-hppah.h (NEED_TEXT_START_END): Delete definition.
+       * xm-hppah.h (KERNEL_U_ADDR): Delete definition.
+       (FIVE_ARG_PTRACE): Likewise.
+       * xm-hppab.h (KERNEL_U_ADDR): Delete definition.
+       (FIVE_ARG_PTRACE): Likewise.
+
+       * hppa-tdep.c (read_unwind_info): Make static.
+       (restore_pc_queue): Indirect through the target vector to
+       reload the register state.
+
 Sat Apr 16 22:20:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * paread.c (compare_unwind_entries): Delete function.  It's been
index f8162e86b2e7c0ee26e2e1e87b5e586c6eb6bbbc..a677837f45511f97175e0ac1d23e0a50ad62c920 100644 (file)
@@ -340,7 +340,7 @@ internalize_unwinds (objfile, table, section, entries, size, indexp)
    everything on the psymbol obstack in the objfile so that it automatically
    gets freed when the objfile is destroyed.  */
 
-void
+static void
 read_unwind_info (objfile)
      struct objfile *objfile;
 {
@@ -1205,7 +1205,7 @@ restore_pc_queue (fsr)
         }
     }
   target_terminal_ours ();
-  fetch_inferior_registers (-1);
+  (current_target->to_fetch_registers) (-1);
   return 1;
 }