From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10156 invoked by alias); 11 Apr 2013 02:43:49 -0000 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 Received: (qmail 10146 invoked by uid 89); 11 Apr 2013 02:43:48 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Apr 2013 02:43:47 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UQ7UH-00034k-Ei from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Wed, 10 Apr 2013 19:43:45 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 10 Apr 2013 19:43:44 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 10 Apr 2013 19:43:44 -0700 From: Yao Qi To: Subject: [PATCH 0/7 V2] Range stepping Date: Thu, 11 Apr 2013 06:16:00 -0000 Message-ID: <1365648222-12540-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1363006291-13334-1-git-send-email-yao@codesourcery.com> References: <1363006291-13334-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-04/txt/msg00297.txt.bz2 Hello, This is the V2 of range stepping series. V1 can be found here . There are some updates in V2: - Rebase patches on GDB trunk, and resolve conflicts. - Use phex_nz instead of hexnumstr to get the address. It fixes a bug on mips target when sending address to the remote target. - Define an internalvar range_stepping_counter and increment it each time GDB does range-stepping, so that in the test, we don't have to turn 'remote debug' on and parse the RSP packets. During the test, we find that it is unsafe to turn the debugging output on, because it may blow up the gdb.log. Patch 1,2,3,7 are unchanged. The whole series is tested on x86_64-linux, native and gdbserver. gdb/NEWS | 12 ++ gdb/doc/gdb.texinfo | 15 ++ gdb/gdbserver/gdbthread.h | 6 + gdb/gdbserver/inferiors.c | 19 +++ gdb/gdbserver/linux-low.c | 38 +++++- gdb/gdbserver/linux-low.h | 2 + gdb/gdbserver/linux-x86-low.c | 7 + gdb/gdbserver/server.c | 40 +++++ gdb/gdbserver/target.h | 6 + gdb/gdbthread.h | 6 + gdb/infrun.c | 6 +- gdb/remote.c | 127 +++++++++++++++- gdb/testsuite/gdb.base/range-stepping.c | 69 +++++++++ gdb/testsuite/gdb.base/range-stepping.exp | 222 ++++++++++++++++++++++++++++ gdb/testsuite/gdb.trace/range-stepping.c | 61 ++++++++ gdb/testsuite/gdb.trace/range-stepping.exp | 89 +++++++++++ 16 files changed, 712 insertions(+), 13 deletions(-) create mode 100644 gdb/testsuite/gdb.base/range-stepping.c create mode 100644 gdb/testsuite/gdb.base/range-stepping.exp create mode 100644 gdb/testsuite/gdb.trace/range-stepping.c create mode 100644 gdb/testsuite/gdb.trace/range-stepping.exp -- 1.7.7.6