aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-03-25 18:48:24 +0000
committerJeff Law <law@redhat.com>1994-03-25 18:48:24 +0000
commitfdafbfad9e1ed66a522ade52b2b02ce1fe0098ed (patch)
treee9328353014e6cd4c3a68e331e00f5c741aff476 /gdb/hppa-tdep.c
parenteb1167c65cbe8bedb5a81796da38d394985d0dfc (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c2
1 files changed, 1 insertions, 1 deletions
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;