From fdafbfad9e1ed66a522ade52b2b02ce1fe0098ed Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 25 Mar 1994 18:48:24 +0000 Subject: [PATCH] * hppa-tdep.c (skip_prologue): Return "pc" not zero if no unwind descriptor is found. --- gdb/ChangeLog | 3 +++ gdb/hppa-tdep.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 565e2bcbd4a..dfc305d8f36 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * hppa-tdep.c (skip_prologue): Return "pc" not zero + if no unwind descriptor is found. + * tm-hppa.h (NUM_REGS): Bump to 128 registers. (REGISTER_NAMES): Add entries for "right-half" of FP registers. (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 42ae0b3dc41..d6ae66bd46d 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1421,7 +1421,7 @@ skip_prologue(pc) u = find_unwind_entry (pc); if (!u) - return 0; + return pc; /* This is how much of a frame adjustment we need to account for. */ stack_remaining = u->Total_frame_size << 3; -- 2.30.2