From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31541 invoked by alias); 25 Nov 2007 04:51:24 -0000 Received: (qmail 31532 invoked by uid 22791); 25 Nov 2007 04:51:24 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 25 Nov 2007 04:51:15 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id 0060317F4AF for ; Sun, 25 Nov 2007 02:47:19 -0200 (BRDT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id lAP4pB582895898 for ; Sun, 25 Nov 2007 02:51:11 -0200 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id lAP4pAUx014495 for ; Sun, 25 Nov 2007 02:51:11 -0200 Received: from [9.8.2.8] ([9.8.2.8]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id lAP4pAud014492; Sun, 25 Nov 2007 02:51:10 -0200 Message-ID: <4748FF40.9080409@linux.vnet.ibm.com> Date: Sun, 25 Nov 2007 04:51:00 -0000 From: Carlos Eduardo Seo User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Ulrich Weigand CC: GDB Patches Mailing List Subject: Re: [RFC] Add support for PPC Altivec registers in gcore References: In-Reply-To: OpenPGP: id=8BFFA900 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00462.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulrich Weigand wrote: > > Carlos Eduardo Seo wrote on 11/06/2007 > 02:42:43 PM: > > > I was taking a look at gdbarch.sh. Where's the "right" place to put > > the register list? > > In "function_list". If you want to add a new data symbol, you'll > need type "v". Best place is probably after regset_from_core_section. Do you think it's better to initialize this new structure with the registers names in gdbarch.c, or have it initialized in each arch-tdep.c file with the supported registers for that arch? - -- Carlos Eduardo Seo Software Engineer IBM Linux Technology Center -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSP9Aqvq7Aov/qQARAqhbAJ9LhIlde4temthhdowinlysnO9TbQCeMcXk ZqpCz9hMw8462qMvrhDY7bg= =yy6H -----END PGP SIGNATURE-----