From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15814 invoked by alias); 8 Mar 2013 13:22:27 -0000 Received: (qmail 15709 invoked by uid 22791); 8 Mar 2013 13:22:26 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Mar 2013 13:21:54 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r28DLqmT021054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Mar 2013 08:21:52 -0500 Received: from host2.jankratochvil.net (ovpn-116-50.ams2.redhat.com [10.36.116.50]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r28DLlP8031593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 8 Mar 2013 08:21:50 -0500 Date: Fri, 08 Mar 2013 13:22:00 -0000 From: Jan Kratochvil To: Markus Metzger Cc: gdb-patches@sourceware.org, markus.t.metzger@gmail.com, Christian Himpel Subject: Re: [patch v10 20/21] testsuite, gdb.btrace: add btrace tests Message-ID: <20130308132146.GA12958@host2.jankratochvil.net> References: <1362734168-1725-1-git-send-email-markus.t.metzger@intel.com> <1362734168-1725-21-git-send-email-markus.t.metzger@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362734168-1725-21-git-send-email-markus.t.metzger@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2013-03/txt/msg00354.txt.bz2 On Fri, 08 Mar 2013 10:16:07 +0100, Markus Metzger wrote: > From: Christian Himpel > > Recursive function calls are listed as only one function call. This is > marked as a KFAIL with PR gdb/15420. typo: 15240 But it is OK in the sources. > The discussed crash of gdbserver after continue with btrace target > enabled is tested now as well in the end of the enable.exp. In case of > a gdbserver crash it reports UNRESOLVED, is that appropriate? PASS: gdb.btrace/enable.exp: record btrace re-enable twice ERROR: Process no longer exists UNRESOLVED: gdb.btrace/enable.exp: continue to end OK. > gdb/testsuite > * Makefile.in: Add btrace testsuite. > * configure: Regenerated. > * configure.ac: Add btrace testsuite. > * gdb.btrace/Makefile.in: New file. > * gdb.btrace/enable.c: New file. > * gdb.btrace/enable.exp: New file. > * gdb.btrace/function_call_history.c: New file. > * gdb.btrace/function_call_history.exp: New file. > * gdb.btrace/instruction_history.c: New file. > * gdb.btrace/instruction_history.exp: New file. > * gdb.btrace/x86-instruction_history.S: New file. > * lib/gdb.exp: Add btrace skip proc. OK with the bit below. > --- /dev/null > +++ b/gdb/testsuite/gdb.btrace/instruction_history.c > @@ -0,0 +1,26 @@ > +/* This testcase is part of GDB, the GNU debugger. > + > + Copyright 2013 Free Software Foundation, Inc. > + > + Contributed by Intel Corp. > + > + This program is free software; you can redistribute it and/or modify > + it under the terms of the GNU General Public License as published by > + the Free Software Foundation; either version 3 of the License, or > + (at your option) any later version. > + > + This program is distributed in the hope that it will be useful, > + but WITHOUT ANY WARRANTY; without even the implied warranty of > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + GNU General Public License for more details. > + > + You should have received a copy of the GNU General Public License > + along with this program. If not, see . */ > + > +int > +main (void) > +{ > + /* loop is declared in x86-instruction_history.S */ /* loop is defined in 'instruction_history.S'. */ > + loop (); > + return 0; > +} Thanks, Jan