From patchwork Tue Sep 9 05:22:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 2699 Received: (qmail 24192 invoked by alias); 9 Sep 2014 05:23:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 24181 invoked by uid 89); 9 Sep 2014 05:23:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 09 Sep 2014 05:23:00 +0000 Received: by mail-pd0-f178.google.com with SMTP id p10so5324198pdj.37 for ; Mon, 08 Sep 2014 22:22:58 -0700 (PDT) X-Received: by 10.68.69.109 with SMTP id d13mr11169092pbu.40.1410240178092; Mon, 08 Sep 2014 22:22:58 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id du5sm10323988pbb.80.2014.09.08.22.22.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 22:22:57 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH][COMMITTED] scm-error.exp: Handle guile 2.2 backtrace output Date: Mon, 08 Sep 2014 22:22:16 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. Testing with recent guile had a failure in scm-error.exp. Backtraces don't necessarily include parameter values and can instead be printed as just "_". 2014-09-09 Doug Evans * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output. diff --git a/gdb/testsuite/gdb.guile/scm-error.exp b/gdb/testsuite/gdb.guile/scm-error.exp index b5a1028..3de3dc2 100644 --- a/gdb/testsuite/gdb.guile/scm-error.exp +++ b/gdb/testsuite/gdb.guile/scm-error.exp @@ -95,7 +95,7 @@ gdb_test_no_output "set guile print-stack full" \ "set print-stack to full, for backtrace test" gdb_test "guile (define x (top-func 42))" \ - "Guile Backtrace:.*top-func 42.*middle-func 42.*bottom-func 42.*" \ + "Guile Backtrace:.*top-func (42|_).*middle-func (42|_).*bottom-func (42|_).*" \ "backtrace printed" # Verify gdb-specific errors are printed properly.