* hppa-tdep.c (frame_saved_pc): Mask off low two bits when
authorJeff Law <law@redhat.com>
Sun, 6 Nov 1994 20:02:31 +0000 (20:02 +0000)
committerJeff Law <law@redhat.com>
Sun, 6 Nov 1994 20:02:31 +0000 (20:02 +0000)
commit54b2555b0cb8f52a811758758ec119c9941b070d
treefd87ba6444b89b56786cd26fe467554560e9826c
parent8deb5c5fd6618a8602634e449a5217dd307524bc
* hppa-tdep.c (frame_saved_pc): Mask off low two bits when
retrieving the PC from a signal handler caller.  Fix thinko
in Stan's last change ("frame", should have been "frame->next").
If the next frame is a signal handler caller and it's a system
call which has entered the kernel ((PSW & 0x2) != 0), then the
saved pc is in %r2 instead of %r31.
gdb/ChangeLog
gdb/hppa-tdep.c