From: Jeff Law Date: Mon, 7 Aug 1995 04:17:24 +0000 (+0000) Subject: * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4eec25cb8e8c53a533037c6d50ab6e0b48b54d2;p=binutils-gdb.git * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer out of a long branch stub. hpux10 _start is incorrectly marked as a long-branch stub. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a3a37b8110..6e3e5aa0fa5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +Sun Aug 6 22:14:25 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer + out of a long branch stub. + +Fri Aug 4 13:37:31 1995 Jeffrey A. Law + + * xcoffread.c (process_linenos): Fix typo in last change. + +Thu Aug 3 22:01:26 1995 Fred Fish + + * ch-exp.y (write_lower_upper_value): Add prototype so bison + generated parser will insert prototype before first func usage. + Bison and byacc order the output sections differently. Also + make function static. + Thu Aug 3 10:45:37 1995 Fred Fish * Update all FSF addresses except those in COPYING* files. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index fc78a089640..a508e11e785 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -863,9 +863,13 @@ restart: } /* If PC is inside a linker stub, then dig out the address the stub - will return to. */ + will return to. + + Don't do this for long branch stubs. Why? For some unknown reason + _start is marked as a long branch stub in hpux10. */ u = find_unwind_entry (pc); - if (u && u->stub_type != 0) + if (u && u->stub_type != 0 + && u->stub_type != LONG_BRANCH) { unsigned int insn;