From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18966 invoked by alias); 30 Jan 2011 00:52:08 -0000 Received: (qmail 18946 invoked by uid 22791); 30 Jan 2011 00:52:07 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 30 Jan 2011 00:52:02 +0000 Received: (qmail 8282 invoked from network); 30 Jan 2011 00:51:59 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Jan 2011 00:51:59 -0000 Message-ID: <4D44B62B.9000302@codesourcery.com> Date: Sun, 30 Jan 2011 03:21:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [Ping 2: try 3rd] arm_pc_is_thumb takes displaced stepping into account References: <4D0F0ABA.9010506@codesourcery.com> <201012200804.oBK84oPu005379@glazunov.sibelius.xs4all.nl> <4D0F5D36.2040909@codesourcery.com> <4D10D377.8080100@codesourcery.com> <20101223042236.GS2596@adacore.com> <4D12F3A8.3020102@codesourcery.com> <4D2D27F2.7050303@codesourcery.com> <4D370A88.6070808@codesourcery.com> In-Reply-To: <4D370A88.6070808@codesourcery.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: 2011-01/txt/msg00564.txt.bz2 On 01/20/2011 12:00 AM, Yao Qi wrote: > On 01/11/2011 09:02 PM, Yao Qi wrote: > >> This time, instead of exposing displaced_step_inferior_state to tdep, we >> return displaced_step_closure, which is defined by each tdep, instance >> to tdep appropriately. >> >> OK to mainline? >> > Ping. > http://sourceware.org/ml/gdb-patches/2011-01/msg00247.html > > gdb/ > * infrun.c (get_displaced_step_closure_by_addr): New. > * inferior.h: Declare it. > * arm-tdep.c: (arm_pc_is_thumb): Call > get_displaced_step_closure_by_addr. Adjust MEMADDR if it > returns non-NULL. > Ping. -- Yao (齐尧)