[RFC] frv-tdep.c: Use refine_prologue_limit() instead of skip_prologue_using_sal()

Andrew Cagney cagney@gnu.org
Sat Jul 31 17:38:00 GMT 2004


> +   Note: kevinb/2004-07-29: Not true.  On FR-V, I've encountered a
> +   case where skip_prologue_using_sal() doesn't make it past the
> +   first prologue -> body transition.  */

The rs6000 contains this:
   if (lim_pc == 0)
     lim_pc = refine_prologue_limit (pc, lim_pc);
which I believe scores as a ``Not not true'' :-)

More seriously, what's the case you've encountered?

GDB should be using the dwarf2 debug info when setting the prologue 
breakpoint[s], how hard is it to do that?

Andrew

PS: I'd keep the two comments separate, M-w or indent will merge them :-)




More information about the Gdb-patches mailing list