[patch/rfc] Switch to generic_func_frame_chain_valid()

Daniel Jacobowitz drow@mvista.com
Mon Jun 3 12:11:00 GMT 2002


On Mon, Jun 03, 2002 at 02:49:19PM -0400, Andrew Cagney wrote:
> >
> >Assuming Andrew meant custom f-c-valid functions, then there are
> >several; all of them just add additional restrictions on the PC instead
> >of taking away.  So I will update them to call the generic function
> >after they perform their additional checks, instead of duplicating. 
> >Sound good?
> 
> Yes.
> 
> Hmm, or the reverse - have a generic frame_chain_valid() call a custom 
> one if/when one is present.  That way, we don't rely on the 
> per-architecture variant remembering to also call the generic one.

And we can kill a macro that way, too.  Sounds good.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list