From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18376 invoked by alias); 13 Dec 2012 14:21:39 -0000 Received: (qmail 18364 invoked by uid 22791); 13 Dec 2012 14:21:38 -0000 X-SWARE-Spam-Status: No, hits=-4.6 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; Thu, 13 Dec 2012 14:21:35 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Tj9fK-0002x3-Bv from Yao_Qi@mentor.com ; Thu, 13 Dec 2012 06:21:34 -0800 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Dec 2012 06:21:33 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.1.289.1; Thu, 13 Dec 2012 06:21:32 -0800 Message-ID: <50C9E447.101@codesourcery.com> Date: Thu, 13 Dec 2012 14:21:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Aleksandar Ristovski CC: "gdb-patches@sourceware.org" Subject: Re: [patch] gdbarch_syscall_pc_increment References: <50C8937A.1090905@qnx.com> <50C8A2FA.5000105@codesourcery.com> <50C8A5FF.9090902@qnx.com> <50C93022.5000402@codesourcery.com> <50C9E136.3030107@qnx.com> In-Reply-To: <50C9E136.3030107@qnx.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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-12/txt/msg00444.txt.bz2 On 12/13/2012 10:07 PM, Aleksandar Ristovski wrote: > Yes, I see your point, though I would say gdbarch stands for a certain > architecture such as arm-nto, arm-linux, etc... therefore, cpu/os > combination, not cpu only. Yeah, that is more precise. We do have some gdbarch hook methods, such as gdbarch_skip_trampoline_code, gdbarch_get_syscall_number, gdbarch_skip_solib_resolver, they are about the cpu/os (or runtime lib) combination. -- Yao (齐尧)