* hppa-tdep.c (skip_prologue): Return "pc" not zero

if no unwind descriptor is found.
This commit is contained in:
Jeff Law 1994-03-25 18:48:24 +00:00
parent eb1167c65c
commit fdafbfad9e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) 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. * tm-hppa.h (NUM_REGS): Bump to 128 registers.
(REGISTER_NAMES): Add entries for "right-half" of FP registers. (REGISTER_NAMES): Add entries for "right-half" of FP registers.
(REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs

View File

@ -1421,7 +1421,7 @@ skip_prologue(pc)
u = find_unwind_entry (pc); u = find_unwind_entry (pc);
if (!u) if (!u)
return 0; return pc;
/* This is how much of a frame adjustment we need to account for. */ /* This is how much of a frame adjustment we need to account for. */
stack_remaining = u->Total_frame_size << 3; stack_remaining = u->Total_frame_size << 3;