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 19:37:09 +0200
From: "Eli Zaretskii" <eliz@elta.co.il>
> Date: Sat, 11 Oct 2003 15:05:19 +0200 (CEST)
> From: Mark Kettenis <kettenis@chello.nl>
>
> Eli, are the doc bits OK?
Yes, but please fix this small blunder:
> +Return the appropriate register set for a core file section with name
> +SECT_NAME and size SECT_SIZE.
SECT_NAME and SECT_SIZE should be @var{sect_name} and @var{sect_size},
exactly as they apper in the @item line.
Oops! Corrected. Below is what I actually checked in. I'll submit a
patch adding the maintainer note requested by Andrew later this
weekend.
Thanks,
Mark
Index: doc/ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Document
regset_from_core_section.
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.175
diff -u -p -r1.175 gdbint.texinfo
--- doc/gdbint.texinfo 14 Oct 2003 20:23:29 -0000 1.175
+++ doc/gdbint.texinfo 18 Oct 2003 12:25:19 -0000
@@ -3596,6 +3596,12 @@ Convert the value of register @var{reg}
form.
@xref{Target Architecture Definition, , Raw and Virtual Register Representations}.
+@item const struct regset *regset_from_core_section (struct gdbarch * @var{gdbarch}, const char * @var{sect_name}, size_t @var{sect_size})
+@findex regset_from_core_section
+Return the appropriate register set for a core file section with name
+@var{sect_name} and size @var{sect_size}.
+
+
@item RETURN_VALUE_ON_STACK(@var{type})
@findex RETURN_VALUE_ON_STACK
@cindex returning structures by value