your turn :-)

Andrew Cagney cagney@gnu.org
Sat Sep 4 00:12:00 GMT 2004


Joel

The theory is to enable this:

#ifdef NOT_YET
     proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, 
this_cache);
#else
     proc_desc = heuristic_proc_desc (start_addr, pc, next_frame, NULL);
#endif

Then:

- delete the rest of the insn{32,16}_frame_cache code as its redundant, 
the heuristic code will have already updated the cache

- eliminate proc_desc from mips{32,16}_heuristic ... as its redundant, 
the code only needs to update this_cache

- either inline mips{32,16}_heuristic into mips_insn{32,16}_frame_cache 
or, instead, merge mips_insn{32,16}_frame_cache.

want to try it (the test results don't even need to vaguely pass).

Andrew



More information about the Gdb-patches mailing list