* mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
authorDaniel Jacobowitz <drow@false.org>
Sun, 27 Jul 2008 20:52:42 +0000 (20:52 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 27 Jul 2008 20:52:42 +0000 (20:52 +0000)
commite38d4e1aae6fb86cfae320ae6ae9b2b48cd1ddb7
treeac0abdedb377ac367e1d8496a86382aaf9bbeeba
parent0d600a79d88b480541093f06639eff6ea1c33ed6
* mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
(mips_linux_init_abi): Set tdep->syscall_next_pc.
* mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to
mips-tdep.h.
(mips32_next_pc): Handle the syscall instruction.
* mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New,
from mips-tdep.c.  Add syscall_next_pc to gdbarch_tdep.
gdb/ChangeLog
gdb/mips-linux-tdep.c
gdb/mips-tdep.c
gdb/mips-tdep.h