diff options
author | Jeff Law <law@redhat.com> | 1994-03-25 18:48:24 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-03-25 18:48:24 +0000 |
commit | fdafbfad9e1ed66a522ade52b2b02ce1fe0098ed (patch) | |
tree | e9328353014e6cd4c3a68e331e00f5c741aff476 | |
parent | eb1167c65cbe8bedb5a81796da38d394985d0dfc (diff) | |
download | gdb-fdafbfad9e1ed66a522ade52b2b02ce1fe0098ed.zip gdb-fdafbfad9e1ed66a522ade52b2b02ce1fe0098ed.tar.gz gdb-fdafbfad9e1ed66a522ade52b2b02ce1fe0098ed.tar.bz2 |
* hppa-tdep.c (skip_prologue): Return "pc" not zero
if no unwind descriptor is found.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 565e2bc..dfc305d 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 42ae0b3..d6ae66b 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; |