From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28042 invoked by alias); 27 Jun 2013 14:02:41 -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 27983 invoked by uid 89); 27 Jun 2013 14:02:40 -0000 X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=no 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, 27 Jun 2013 14:02:40 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UsCmU-0000uX-F7 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Thu, 27 Jun 2013 07:02:38 -0700 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, 27 Jun 2013 07:02:38 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Thu, 27 Jun 2013 07:02:37 -0700 From: Yao Qi To: Subject: [PATCH 0/3] Select the current frame in command tdump. Date: Thu, 27 Jun 2013 14:02:00 -0000 Message-ID: <1372341726-5485-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00818.txt.bz2 Hi, Command 'tdump' should be run on the current stack frame instead of the selected stack frame. The patch 3/3 is to change to the current stack trace when executing command 'tdump'. When writing test case for this change, I did some cleanups in gdb.trace/backtrace.exp (in patch 1/3) and get the test result unique (patch 2/3). Regression tested on x86_64-linux. *** BLURB HERE *** Yao Qi (3): Tweak gdb.trace/backtrace.exp Make test result of gdb.trace/backtrace.exp unique Select the current frame in command tdump. gdb/testsuite/gdb.trace/backtrace.exp | 86 ++++++++++++++++++++------------- gdb/tracepoint.c | 6 ++ 2 files changed, 59 insertions(+), 33 deletions(-) -- 1.7.7.6