* mips-tdep.c (mips32_scan_prologue): Add advance declaration.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 15 Oct 2004 07:09:10 +0000 (07:09 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 15 Oct 2004 07:09:10 +0000 (07:09 +0000)
commita65bbe4404711745c6f3359139cbceaebb110c12
tree79cd80c8b60f1256aaa08825afd70ee4268afb93
parentc468c8bcab967b88ab8b6c563f691471f52e1dc0
    * mips-tdep.c (mips32_scan_prologue): Add advance declaration.
        Remove sp as a parameter, compute it internally instead. Move
        prologue scanning limit from heuristic_proc_desc to here.
        (mips16_scan_prologue): Likewise.
        (mips_insn16_frame_cache): Replace call to heuristic_proc_desc
        by call to mips16_scan_prologue.
        (mips_insn32_frame_cache): Replace call to heuristic_proc_desc
        by call to mips32_scan_prologue.
        (heuristic_proc_desc): Remove code that's no longer necessary.
        Update calls to mips16_scan_prologue and mips32_scan_prologue.
        (mips_skip_prologue): Update calls to mips16_scan_prologue
        and mips32_scan_prologue.
gdb/ChangeLog
gdb/mips-tdep.c