This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA]: New architecture method: regset_from_core_section
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!)