From 9c842e0c31c947182e01d5ebc96cfac09eed5413 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 18 Apr 1994 17:16:56 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 20 ++++++++++++++++++++ gdb/hppa-tdep.c | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ade676fd81e..d065354330d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index f8162e86b2e..a677837f455 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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; } -- 2.30.2