From patchwork Fri Nov 8 03:18:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omair Javaid X-Patchwork-Id: 21410 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f71.google.com (mail-vb0-f71.google.com [209.85.212.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A319C25E16 for ; Fri, 8 Nov 2013 03:25:47 +0000 (UTC) Received: by mail-vb0-f71.google.com with SMTP id i3sf2181202vbh.6 for ; Thu, 07 Nov 2013 19:25:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=M60uG9/f7AsvLrHwRgOUuUnf3jasktW8yvckf40jNEY=; b=P6XYke4+IqvNsR3k4esAFaa+Hf0asc192w5DmHdGkzRGvXGSfG3W09v+LW1epvjynL DTgLEFNB6vAHwAR48pk4TLtqMoc8z1+FCJWwYx9NGlEFZ34nZu40mHZBhTX9N69ElqsU vta/CK5KDV+Ymp7LMPleH7ADMlKr3GqXLoWKznylUKmi8gPl7wrKq7iELdm+wYVyR8Ow pqKXON09Dh2ME+OSLgctbJ5ZMlJM4kF6kszvo+3N/iRPPt95hTTsA8wcG00YpwKrOGc4 7tXC479109C/mN6plVF/H5us1lEoWY8TElF6ZHFQz0+Rf24/g8fbjZON1J8bcLGt7sxN W5IQ== X-Gm-Message-State: ALoCoQkOACk6jA1sr+PkDJa2+8Im+ZAinQfyKiPit1dRYzvfWlFviu0XWLZ1i/A0Cx4GsBue/8JJ X-Received: by 10.52.240.165 with SMTP id wb5mr1734495vdc.2.1383881147083; Thu, 07 Nov 2013 19:25:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.228 with SMTP id n4ls1383494qen.71.gmail; Thu, 07 Nov 2013 19:25:47 -0800 (PST) X-Received: by 10.52.157.232 with SMTP id wp8mr8132581vdb.4.1383881147000; Thu, 07 Nov 2013 19:25:47 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id wp10si3004149vdb.6.2013.11.07.19.25.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 19:25:46 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id oz11so1074051veb.36 for ; Thu, 07 Nov 2013 19:25:46 -0800 (PST) X-Received: by 10.58.146.71 with SMTP id ta7mr9758077veb.23.1383881146835; Thu, 07 Nov 2013 19:25:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp227vcz; Thu, 7 Nov 2013 19:25:46 -0800 (PST) X-Received: by 10.14.224.132 with SMTP id x4mr13441914eep.5.1383880753890; Thu, 07 Nov 2013 19:19:13 -0800 (PST) Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by mx.google.com with ESMTPS id v45si4874651eeg.99.2013.11.07.19.18.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 19:19:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.175 is neither permitted nor denied by best guess record for domain of omair.javaid@linaro.org) client-ip=209.85.215.175; Received: by mail-ea0-f175.google.com with SMTP id k10so743422eaj.34 for ; Thu, 07 Nov 2013 19:18:43 -0800 (PST) X-Received: by 10.14.108.9 with SMTP id p9mr13491458eeg.8.1383880723767; Thu, 07 Nov 2013 19:18:43 -0800 (PST) Received: from [192.168.1.1] ([182.185.163.58]) by mx.google.com with ESMTPSA id a6sm17003727eei.10.2013.11.07.19.18.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 19:18:42 -0800 (PST) Message-ID: <527C580B.5020100@linaro.org> Date: Fri, 08 Nov 2013 08:18:35 +0500 From: Omair Javaid User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Yao Qi CC: gdb-patches@sourceware.org, Patch Tracking Subject: Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux* References: <52687B1A.2050003@codesourcery.com> In-Reply-To: <52687B1A.2050003@codesourcery.com> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: omair.javaid@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On Thu 24 Oct 2013 06:42:50 AM PKT, Yao Qi wrote: > On 10/24/2013 08:09 AM, Omair Javaid wrote: >> --- gdb/NEWS 11 Oct 2013 13:51:26 -0000 1.622 >> +++ gdb/NEWS 23 Oct 2013 20:34:42 -0000 >> @@ -3,6 +3,12 @@ >> >> *** Changes since GDB 7.6 >> >> +* Improved support of process record-replay and reverse debugging on >> + arm*-linux* targets. >> + >> +Support for thumb32 instructions and syscall recording has been added. > > This change is user visible... > >> +gdb/testsuite/gdb.reverse is now enabled for arm*-linux* targets. >> + > > while this is not. This line is not necessary in NEWS. > Here is an updated patch. == PATCH 0 == This patch adds a news entry about improved process record-replay on arm*-linux* targets. It also adds linux-record.o to gdb_target_obs in configure.tgt and enables gdb.reverse testsuite for arm*-linux* targets. gdb: 2013-11-08 Omair Javaid * NEWS: Add note on improved process record-replay on arm*-linux* targets. * configure.tgt: Add linux-record.o to gdb_target_obs. gdb/testsuite: 2013-10-24 Omair Javaid * lib/gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets. @@ -1789,7 +1790,8 @@ proc supports_reverse {} { return [target_info gdb,can_reverse] } - if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } { + if { [istarget "arm*-*-linux*"] || [istarget "x86_64-*-linux*"] + || [istarget "i\[34567\]86-*-linux*"] } { return 1 } Index: gdb/NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.622 diff -u -p -r1.622 NEWS --- gdb/NEWS 11 Oct 2013 13:51:26 -0000 1.622 +++ gdb/NEWS 7 Nov 2013 23:58:26 -0000 @@ -3,6 +3,10 @@ *** Changes since GDB 7.6 +* Improved support of process record-replay and reverse debugging on + arm*-linux* targets. Support for thumb32 and syscall instructions + recording has been added. + * GDB now supports Fission DWP file format version 2. http://gcc.gnu.org/wiki/DebugFission Index: gdb/configure.tgt =================================================================== RCS file: /cvs/src/src/gdb/configure.tgt,v retrieving revision 1.281 diff -u -p -r1.281 configure.tgt --- gdb/configure.tgt 1 Oct 2013 13:21:17 -0000 1.281 +++ gdb/configure.tgt 7 Nov 2013 23:58:29 -0000 @@ -89,7 +89,7 @@ arm*-wince-pe | arm*-*-mingw32ce*) arm*-*-linux*) # Target: ARM based machine running GNU/Linux gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \ - solib-svr4.o symfile-mem.o linux-tdep.o" + solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o" build_gdbserver=yes ;; arm*-*-netbsd* | arm*-*-knetbsd*-gnu) Index: gdb/testsuite/lib/gdb.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v retrieving revision 1.250 diff -u -p -r1.250 gdb.exp --- gdb/testsuite/lib/gdb.exp 18 Oct 2013 20:40:03 -0000 1.250 +++ gdb/testsuite/lib/gdb.exp 7 Nov 2013 23:58:32 -0000 @@ -1774,7 +1774,8 @@ proc supports_process_record {} { return [target_info gdb,use_precord] } - if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } { + if { [istarget "arm*-*-linux*"] || [istarget "x86_64-*-linux*"] + || [istarget "i\[34567\]86-*-linux*"] } { return 1 }