* 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 ade676f..d065354 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 f8162e8..a677837 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;
 }