[PATCH/RFA]: New architecture method: regset_from_core_section

Andrew Cagney ac131313@redhat.com
Sat Oct 11 22:21:00 GMT 2003


>    Date: Sat, 11 Oct 2003 10:33:35 -0400
>    From: Andrew Cagney <ac131313@redhat.com>
> 
>    > The future might bring us regset_from_remote and perhaps
>    > regset_from_ptrace_request.  We'll see.
> 
>    Can you add this info in the doco as a maintainer note?
> 
> I'll try to cook something up.  Any suggestion on where to add it?

Straight after the description.  For instance (from my recent 
return_value patch):

+@xref{EXTRACT_STRUCT_VALUE_ADDRESS}, for a description of how
+return-values that use the struct convention are handled.
+
+@emph{Maintainer note: This method replaces separate predicate, extract,
+store methods.  By having only one method, the logic needed to determine
+the return-value convention need only be implemented in one place.  If
+@value{GDBN} were written in an @sc{oo} language, this method would
+instead return an object that knew how to perform the register
+return-value extract and store.}

Andrew (thanks!)




More information about the Gdb-patches mailing list