Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/gnu/dist/gdb/gdb Pull up revision 1.3 (requested by uwe...
details: https://anonhg.NetBSD.org/src/rev/91e00e6bddf5
branches: netbsd-2-0
changeset: 561220:91e00e6bddf5
user: tron <tron%NetBSD.org@localhost>
date: Sun May 30 11:38:15 2004 +0000
description:
Pull up revision 1.3 (requested by uwe in ticket #417):
Fix the calculation of next_pc for braf/bsrf instructions.
diffstat:
gnu/dist/gdb/gdb/shnbsd-tdep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b517c89dc9d5 -r 91e00e6bddf5 gnu/dist/gdb/gdb/shnbsd-tdep.c
--- a/gnu/dist/gdb/gdb/shnbsd-tdep.c Sun May 30 11:34:48 2004 +0000
+++ b/gnu/dist/gdb/gdb/shnbsd-tdep.c Sun May 30 11:38:15 2004 +0000
@@ -298,7 +298,7 @@
{
displacement = read_register (BRANCH_FAR_REG(insn));
/* XXX: cannot step through delay slot, so break at the target */
- next_pc = pc + displacement;
+ next_pc = pc + 4 + displacement;
}
/* JMP, JSR */
Home |
Main Index |
Thread Index |
Old Index