From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3211 invoked by alias); 20 Jun 2012 14:44:39 -0000 Received: (qmail 3200 invoked by uid 22791); 20 Jun 2012 14:44:38 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jun 2012 14:44:25 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1ShM8u-0003A9-PG from Yao_Qi@mentor.com ; Wed, 20 Jun 2012 07:44:24 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Jun 2012 07:44:24 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Wed, 20 Jun 2012 07:44:23 -0700 From: Yao Qi To: CC: Hui Zhu , Pedro Alves Subject: Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read Date: Wed, 20 Jun 2012 14:44:00 -0000 Message-ID: <58272362.Fy9KhpX3fQ@qiyao.dyndns.org> User-Agent: KMail/4.8.3 (Linux/3.3.7-1.fc16.i686; KDE/4.8.3; i686; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: 2012-06/txt/msg00632.txt.bz2 Hi, Hui, I got some fails with your patch applied, FAIL: gdb.trace/tfile.exp: tstart FAIL: gdb.trace/tfile.exp: tstop FAIL: gdb.trace/tfile.exp: load trace file bt.tf (GDB internal error) FAIL: gdb.trace/tfile.exp: tfind 0 on trace file bt.tf FAIL: gdb.trace/tfile.exp: backtrace on trace file bt.tf On Wednesday 20 June 2012 18:08:17 Hui Zhu wrote: > gdb_test_no_output "tstart" You start tracing in native, which doesn't support tracepoint. > +gdb_test "break done_making_trace_files" ".*" "" > +gdb_test "continue" ".*" "" > +gdb_test_no_output "tstop" > +gdb_test "tsave ./bt.tf" ".*" "" AFAIK, in tfile.exp, trace file is generated by tfile.c and GDB only consum= es=20 these trace files (basic.tf and error.tf) for test purpose. --=20 Yao (=E9=BD=90=E5=B0=A7)