This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

your turn :-)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]