This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
your turn :-)
- From: Andrew Cagney <cagney at gnu dot org>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 03 Sep 2004 20:11:36 -0400
- Subject: 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