This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] testsuite: Fix gdb.dwarf2/callframecfa.exp regression [Re: FYI: fix up gdb.dwarf2, part one]


On Wed, 27 Jun 2012 18:59:37 +0200, Tom Tromey wrote:
> I'm checking this in.

 Running gdb/testsuite/gdb.dwarf2/callframecfa.exp ...
-PASS: gdb.dwarf2/callframecfa.exp: set breakpoint for call-frame-cfa
+ERROR: tcl error sourcing gdb/testsuite/gdb.dwarf2/callframecfa.exp.
+ERROR: can't read "testname": no such variable

Checked in.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2012-06/msg00212.html

--- src/gdb/testsuite/ChangeLog	2012/06/27 18:08:40	1.3259
+++ src/gdb/testsuite/ChangeLog	2012/06/27 23:37:02	1.3260
@@ -1,3 +1,7 @@
+2012-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
+
 2012-06-27  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
--- src/gdb/testsuite/gdb.dwarf2/callframecfa.exp	2012/06/27 17:00:09	1.8
+++ src/gdb/testsuite/gdb.dwarf2/callframecfa.exp	2012/06/27 23:37:03	1.9
@@ -27,7 +27,7 @@
 
 standard_testfile .S
 
-if {[prepare_for_testing $testname.exp $testname $srcfile \
+if {[prepare_for_testing $testfile.exp $testfile $srcfile \
 	 [list {additional_flags=-nostdlib}]]} {
     return -1
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]