From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23232 invoked by alias); 16 Jul 2004 19:45:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23220 invoked from network); 16 Jul 2004 19:45:06 -0000 Received: from unknown (HELO maynard.mail.mindspring.net) (207.69.200.243) by sourceware.org with SMTP; 16 Jul 2004 19:45:06 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BlYdm-0005Bv-00; Fri, 16 Jul 2004 15:45:06 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id E7E344B104; Fri, 16 Jul 2004 15:45:18 -0400 (EDT) To: cagney@gnu.org, gdb-patches@sources.redhat.com Subject: Re: [rfc] Cleanup restore.exp Message-Id: <20040716194518.E7E344B104@berman.michael-chastain.com> Date: Fri, 16 Jul 2004 19:45:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-07/txt/msg00198.txt.bz2 > comments? Did you test it? In the copyright years, this file was also edited in 2001 and 2002. # Continue to the next caller function. - gdb_test "continue" ".*/\\* caller$c \\*/" "run to caller$c" + gdb_test "continue" " caller$c .*" "run to caller$c" This makes the search pattern little bit less specific, but that's okay. There are only two " caller$c " in the test program and it's unlikely we would get a false negative by hitting the wrong one. Michael C 2004-07-16 Andrew Cagney * gdb.base/restore.exp: Update copyright, re-indent. (restore_tests): Use gdb_test_multiple. Add "calleeN calls callerN" prefix where needed. Simplify patterns.