From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17857 invoked by alias); 30 Aug 2010 13:00:08 -0000 Received: (qmail 17830 invoked by uid 22791); 30 Aug 2010 13:00:07 -0000 X-SWARE-Spam-Status: No, hits=-2.1 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; Mon, 30 Aug 2010 13:00:02 +0000 Received: (qmail 326 invoked from network); 30 Aug 2010 13:00:00 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Aug 2010 13:00:00 -0000 Date: Mon, 30 Aug 2010 13:00:00 -0000 From: Daniel Jacobowitz To: Yao Qi Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [Patch,ARM] Next pc of sigreturn/rt_sigreturn syscall Message-ID: <20100830125957.GW28036@caradoc.them.org> References: <20100824063854.GA29794@codesourcery.com> <201008241127.o7OBR38E024928@glazunov.sibelius.xs4all.nl> <20100824141253.GA13547@caradoc.them.org> <20100825030554.GC29794@codesourcery.com> <20100825143137.GG28036@caradoc.them.org> <4C762AE8.4080307@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C762AE8.4080307@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-08/txt/msg00510.txt.bz2 On Thu, Aug 26, 2010 at 04:50:48PM +0800, Yao Qi wrote: > > Why did you remove the condition_true check? > > Because I noticed that condition_true always returns true if cond is 0xf > (INST_NV). Sorry, you're right - I completely misread this. > 2010-08-26 Yao Qi > > * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New. > (arm_linux_syscall_next_pc): New. > (arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead. > (arm_linux_init_abi): Initialize syscall_next_pc. > * arm-tdep.c (thumb_get_next_pc_raw): Get next pc of SWI in Thumb mode. > (arm_get_next_pc_raw): Get next pc of SWI in ARM mode. > * arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc. > Declare arm_frame_is_thumb. This is OK. Thanks! -- Daniel Jacobowitz CodeSourcery