OSDN Git Service

2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
authorQinwei <qinwei@sunnorth.com.cn>
Thu, 17 May 2007 03:14:56 +0000 (03:14 +0000)
committerQinwei <qinwei@sunnorth.com.cn>
Thu, 17 May 2007 03:14:56 +0000 (03:14 +0000)
commit10800ef431bf9162c90d330dec60139e7edbeef5
treec9ca55d446098f6fbd84a3c5b5ae1ed7a26e24b8
parent766e7c290223df96badef3c5f4de3d18dab040b5
2007-05-17  Qinwei  <qinwei@sunnorth.com.cn>

        * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
        (score_prologue_frame_base_address): Return fp to keep gdb print
        local variables correctly when debugging information is stabs.

        (score_analyze_prologue): For software watchpoint, fetch all the
        instructions from range [startaddr, pc] once and identify them locally
        to reduce memory access.
        (score_malloc_and_get_memblock, score_free_memblock)
        (score_adjust_memblock_ptr): New functions.
        (score_fetch_inst): Fetch single instruction or mutiple instructions.

        (score_target_can_use_watch, score_stopped_by_watch)
        (score_target_insert_watchpoint, score_target_remove_watchpoint)
        (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
        New functions for remote & local hw-watchpoint and hw-breakpoint.
gdb/ChangeLog