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]

Re: [RFA]: Add IN_EPILOGUE() predicate


>> Date: Fri, 2 Nov 2001 20:37:02 +0100
>> From: Corinna Vinschen <vinschen@redhat.com>
> 
>> > 
>> > I have no objections to the change, but I don't understand where
>> > would you refer to a function instead of a macro: the cited text
>> > didn't refer to any macros.
> 
>> 
>> IN_FUNCTION_EPILOGUE_P() is a macro.
>> 
>> gdbarch_in_function_epilogue_p() is not.
> 
> 
> Ah, sorry, I misread your original message.
> 
> I actually think that gdbarch-related functions should be described
> in their own chapter/section, perhaps with subsections devoted to
> different aspects of gdbarch.  So could you please start such a
> section somewhere in the chapter "Target Architecture Definition",
> and put the text you wanted to add there?  Please use the general
> idea of the section "Target Conditionals" for the layout and the text
> that preceeds the list of the functions/macros.

Eli, I don't know that there is much to gain from this.  The old macro's 
and new functions are really the same thing (the architecture vector) 
and belong in the same section.  It is just that new architecture 
functions don't have the old !&^$#(!^#@($*& macro form.

Andrew



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