From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6399 invoked by alias); 18 Oct 2003 12:31:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6392 invoked from network); 18 Oct 2003 12:31:04 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 18 Oct 2003 12:31:04 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id h9ICV2jH000355; Sat, 18 Oct 2003 14:31:02 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id h9ICV1VQ009128; Sat, 18 Oct 2003 14:31:01 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id h9ICUuIT009125; Sat, 18 Oct 2003 14:30:56 +0200 (CEST) Date: Sat, 18 Oct 2003 12:31:00 -0000 Message-Id: <200310181230.h9ICUuIT009125@elgar.kettenis.dyndns.org> From: Mark Kettenis To: eliz@elta.co.il CC: gdb-patches@sources.redhat.com In-reply-to: <6654-Sat11Oct2003193708+0200-eliz@elta.co.il> Subject: Re: [PATCH/RFA]: New architecture method: regset_from_core_section References: <200310111305.h9BD5JLE078955@elgar.kettenis.dyndns.org> <6654-Sat11Oct2003193708+0200-eliz@elta.co.il> X-SW-Source: 2003-10/txt/msg00599.txt.bz2 Date: Sat, 11 Oct 2003 19:37:09 +0200 From: "Eli Zaretskii" > Date: Sat, 11 Oct 2003 15:05:19 +0200 (CEST) > From: Mark Kettenis > > 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 * 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