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]

Re: [patch/rfc] Switch to generic_func_frame_chain_valid()


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


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