aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-08-07 04:17:24 +0000
committerJeff Law <law@redhat.com>1995-08-07 04:17:24 +0000
commitf4eec25cb8e8c53a533037c6d50ab6e0b48b54d2 (patch)
tree044aae9649278aa20fd147b47b41c2e23024dffb /gdb
parent560ac5deb399c13b569029793bd387270897184c (diff)
downloadgdb-f4eec25cb8e8c53a533037c6d50ab6e0b48b54d2.zip
gdb-f4eec25cb8e8c53a533037c6d50ab6e0b48b54d2.tar.gz
gdb-f4eec25cb8e8c53a533037c6d50ab6e0b48b54d2.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog16
-rw-r--r--gdb/hppa-tdep.c8
2 files changed, 22 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1a3a37b..6e3e5aa 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 <law@rtl.cygnus.com>
+
+ * xcoffread.c (process_linenos): Fix typo in last change.
+
+Thu Aug 3 22:01:26 1995 Fred Fish <fnf@rtl.cygnus.com>
+
+ * 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 <fnf@cygnus.com>
* Update all FSF addresses except those in COPYING* files.
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index fc78a08..a508e11 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;