This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Python 3 support, part 2 (testsuite part)
- From: Andreas Schwab <schwab at suse dot de>
- To: <Paul_Koning at Dell dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 27 Dec 2012 00:48:45 +0100
- Subject: Re: [PATCH] Python 3 support, part 2 (testsuite part)
- References: <C75A84166056C94F84D238A44AF9F6AD29C3D6@AUSX10MPC103.AMER.DELL.COM>
<Paul_Koning@Dell.com> writes:
> diff -u -r1.7 py-finish-breakpoint.exp
> --- gdb/testsuite/gdb.python/py-finish-breakpoint.exp 22 Jun 2012 17:59:33 -0000 1.7
> +++ gdb/testsuite/gdb.python/py-finish-breakpoint.exp 9 Nov 2012 22:26:56 -0000
> @@ -23,6 +23,13 @@
>
> load_lib gdb-python.exp
>
> +if { $gdb_py_is_py24 == 1 } {
Running ../../../gdb/gdb/testsuite/gdb.python/py-finish-breakpoint.exp ...
ERROR: tcl error sourcing ../../../gdb/gdb/testsuite/gdb.python/py-finish-breakpoint.exp.
ERROR: can't read "gdb_py_is_py24": no such variable
while executing
"if { $gdb_py_is_py24 == 1 } {
# Python 2.4, 2.5 do not support the "ValueError as e" syntax used in
# the py-finish-breakpoint.py script.
unt..."
(file "../../../gdb/gdb/testsuite/gdb.python/py-finish-breakpoint.exp" line 26)
invoked from within
"source ../../../gdb/gdb/testsuite/gdb.python/py-finish-breakpoint.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source ../../../gdb/gdb/testsuite/gdb.python/py-finish-breakpoint.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."