This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[patch] Fix for gdb.gdb/selftest.exp failure
- From: ppluzhnikov at google dot com (Paul Pluzhnikov)
- To: archer at sourceware dot org
- Cc: ppluzhnikov at google dot com
- Date: Mon, 3 Nov 2008 14:32:31 -0800 (PST)
- Subject: [patch] Fix for gdb.gdb/selftest.exp failure
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta;t=1225751554; bh=GuHDSFMcpQydsxyF5M/dTAVgK+I=;h=DomainKey-Signature:To:Cc:Subject:Message-Id:Date:From; b=ZD/StTfTtBiF85TK/QLeRymR5sE1uQgSMM6iWN+7HqXfSrAvqzt9F47dFGuP/6Rba/as/aYLHpp+j9vo7Sjp5g==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns;h=to:cc:subject:message-id:date:from;b=omIBgLbQKfAdMn+KL3DQFEL4+hY2Voja9+A49y3KUKopSi7nYKYyKe//Maqs8l7SbPfadycZR/LQ/dAZr489rA==
Greetings,
I've committed and pushed the patch below as obvious.
Thanks,
--
Paul Pluzhnikov
2008-11-03 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.gdb/selftest.exp: captured_main source has changed.
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 4abe21a..fc69f9b 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -95,6 +95,10 @@ proc do_steps_and_nexts {} {
set description "step over ttyarg initialization"
set command "step"
}
+ -re ".*python_script = 0.*$gdb_prompt $" {
+ set description "step over python_script initialization"
+ set command "step"
+ }
-re ".*time_at_startup = get_run_time.*$gdb_prompt $" {
set description "next over get_run_time and everything it calls"
set command "next"