From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12828 invoked by alias); 25 Apr 2012 01:06:20 -0000 Received: (qmail 12819 invoked by uid 22791); 25 Apr 2012 01:06:19 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 01:06:04 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SMqgE-0002s8-T9 from Yao_Qi@mentor.com ; Tue, 24 Apr 2012 18:06:02 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 24 Apr 2012 18:06:02 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Tue, 24 Apr 2012 18:06:01 -0700 Message-ID: <4F974E40.7090603@codesourcery.com> Date: Wed, 25 Apr 2012 01:38:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 MIME-Version: 1.0 To: Jeff Kenton CC: Subject: Re: [PATCH] Add support for Tilera TILE-Gx processor (part 2/2: gdb) References: <4F9066C5.30501@tilera.com> <4F917C1F.3060804@codesourcery.com> <4F956C45.3060005@tilera.com> In-Reply-To: <4F956C45.3060005@tilera.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: 2012-04/txt/msg00837.txt.bz2 On 04/23/2012 10:50 PM, Jeff Kenton wrote: > I modeled this, and the other "regset" routines, on existing code (e.g., > sparc64-, hppa-, alpha-, s390-, ppc-) that all implement > supply_gregset() and expose that name for use by processor independent > code. See procfs.c: procfs_fetch_registers() and core-regset.c: > fetch_core_registers() for uses. supply_gregset is declared in gregset.h. > > Unless there is now a better way to do it I will leave this as it is. You are correct. supply_gregset is defined in *-nat.c files. -- Yao (齐尧)