aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-12-12 16:26:17 +0000
committerAndrew Cagney <cagney@redhat.com>2004-12-12 16:26:17 +0000
commit39ee2ff0da5594221eb8fc5789e002a3b14df2f2 (patch)
treefb1b6ad601398d6f01b6f681912cd16c6bc51722 /gdb/hppa-tdep.c
parent91a533d47bb2463f9eac1d541e9ccf4b89bdd216 (diff)
downloadgdb-39ee2ff0da5594221eb8fc5789e002a3b14df2f2.zip
gdb-39ee2ff0da5594221eb8fc5789e002a3b14df2f2.tar.gz
gdb-39ee2ff0da5594221eb8fc5789e002a3b14df2f2.tar.bz2
2004-12-12 Andrew Cagney <cagney@gnu.org>
* frame.c (get_prev_frame): When unwinding normal frames, check that the PC isn't zero. * hppa-tdep.c (hppa_stub_frame_unwind_cache): Delete check for a zero PC.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index b04b3c6..58fe249 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -2105,9 +2105,6 @@ hppa_stub_frame_unwind_cache (struct frame_info *next_frame,
if (*this_cache)
return *this_cache;
- if (frame_pc_unwind (next_frame) == 0)
- return NULL;
-
info = FRAME_OBSTACK_ZALLOC (struct hppa_stub_unwind_cache);
*this_cache = info;
info->saved_regs = trad_frame_alloc_saved_regs (next_frame);