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]

Re: [PATCH] Python 3 support, part 2 (testsuite part)


<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."


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