diff options
author | Jeff Law <law@redhat.com> | 1994-05-12 16:50:43 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-05-12 16:50:43 +0000 |
commit | 88b91d4a1b08985feaeaef6b2c0ea9db54d269fe (patch) | |
tree | 0eb9126e5389c630e50b96ffcac501c00717cd8d /gdb/hppa-tdep.c | |
parent | 8db1a922914c22a21875e5238377dda17d34c21a (diff) | |
download | gdb-88b91d4a1b08985feaeaef6b2c0ea9db54d269fe.zip gdb-88b91d4a1b08985feaeaef6b2c0ea9db54d269fe.tar.gz gdb-88b91d4a1b08985feaeaef6b2c0ea9db54d269fe.tar.bz2 |
* hppa-tdep.c (skip_trampoline_code): Handle argument relocation
stubs which return directly to the caller rather than to the stub
itself.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index b55f40f..b999384 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1622,9 +1622,10 @@ skip_trampoline_code (pc, name) } } - /* Does it look like bl X,rp? Another way to do a branch from the - stub to the actual function. */ - else if ((curr_inst & 0xffe0e000) == 0xe8400000) + /* Does it look like bl X,%rp or bl X,%r0? Another way to do a + branch from the stub to the actual function. */ + else if ((curr_inst & 0xffe0e000) == 0xe8400000 + || (curr_inst & 0xffe0e000) == 0xe8000000) return (loc + extract_17 (curr_inst) + 8) & ~0x3; /* Does it look like bv (rp)? Note this depends on the |