aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-04-18 17:16:56 +0000
committerJeff Law <law@redhat.com>1994-04-18 17:16:56 +0000
commit9c842e0c31c947182e01d5ebc96cfac09eed5413 (patch)
tree21aad77da6f977de9ad37e5d029f3ddc10d79219 /gdb/hppa-tdep.c
parentc5152d423430ad22d98c23b28ce8e4d1fc4432f3 (diff)
downloadgdb-9c842e0c31c947182e01d5ebc96cfac09eed5413.zip
gdb-9c842e0c31c947182e01d5ebc96cfac09eed5413.tar.gz
gdb-9c842e0c31c947182e01d5ebc96cfac09eed5413.tar.bz2
* 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.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index f8162e8..a677837 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;
}