From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16151 invoked by alias); 24 Jun 2012 07:39:22 -0000 Received: (qmail 15983 invoked by uid 22791); 24 Jun 2012 07:39:20 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-we0-f169.google.com (HELO mail-we0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Jun 2012 07:39:07 +0000 Received: by wefh52 with SMTP id h52so2630033wef.0 for ; Sun, 24 Jun 2012 00:39:06 -0700 (PDT) Received: by 10.180.24.68 with SMTP id s4mr16535832wif.4.1340523546631; Sun, 24 Jun 2012 00:39:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.122.193 with HTTP; Sun, 24 Jun 2012 00:38:26 -0700 (PDT) In-Reply-To: <4FE4353E.2090009@redhat.com> References: <58272362.Fy9KhpX3fQ@qiyao.dyndns.org> <4FE32CC9.4050708@redhat.com> <4FE4353E.2090009@redhat.com> From: Hui Zhu Date: Sun, 24 Jun 2012 07:39:00 -0000 Message-ID: Subject: Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read To: Pedro Alves Cc: Yao Qi , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00749.txt.bz2 On Fri, Jun 22, 2012 at 5:05 PM, Pedro Alves wrote: > On 06/22/2012 02:42 AM, Hui Zhu wrote: > >> On Thu, Jun 21, 2012 at 10:16 PM, Pedro Alves wrote: >>> On 06/21/2012 12:15 PM, Hui Zhu wrote: >>> >>>>>> >>>>>> AFAIK, in tfile.exp, trace file is generated by tfile.c and GDB only= consumes >>>>>> these trace files (basic.tf and error.tf) for test purpose. >>>>>> >>>> Thanks for your help. >>>> Post a new version according to your comments. >>>> >>>> Thanks, >>>> Hui >>>> >>>> 2012-06-21 =A0Hui Zhu =A0 >>>> >>>> =A0 =A0 =A0 * gdb.trace/tfile.exp: Add new test for backtrace commands >>>> =A0 =A0 =A0 with tfile to test the tfile memory read. >>> >>> >>> How was this tested? > > >> ? > > > $ make check RUNTESTFLAGS=3D"--target_board=3Dnative-gdbserver tfile.exp = -v" > ... > Skipping tfile.exp because of no fileio capabilities. > ... > > -- > Pedro Alves This is because: if [target_info exists gdb,nofileio] { verbose "Skipping tfile.exp because of no fileio capabilities." continue } So to use this test, need remove "set_board_info gdb,do_reload_on_run 1" Thanks, Hui