* mips-tdep.c (MIPS16_INSTLEN): Define.
authorMark Alexander <marka@cygnus>
Fri, 31 Jan 1997 16:37:07 +0000 (16:37 +0000)
committerMark Alexander <marka@cygnus>
Fri, 31 Jan 1997 16:37:07 +0000 (16:37 +0000)
commit20fa0902e7683d58a0164703d4de03fa5fd9a7e8
tree1ce1ab80a290c33707fe9737ce0f8a1b7036d2e2
parent736a306cb27a3377cbcb20c4e43f1b01e77fd49b
* mips-tdep.c (MIPS16_INSTLEN): Define.
(mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN.
(heuristic_proc_start): Recognize 'entry' pseudo-op as a start
of function on MIPS16.
(mips32_skip_prologue, mips16_skip_prologue): New helper functions
for mips_skip_prologue.
(mips_skip_prologue): Recognize both 16- and 32-bit prologues.
gdb/ChangeLog
gdb/mips-tdep.c