This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] gdb.base/valgrind-infcall.exp compat. with Ubuntu 10.04.4
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org
- Date: Tue, 21 Aug 2012 19:19:55 +0100
- Subject: Re: [patch] gdb.base/valgrind-infcall.exp compat. with Ubuntu 10.04.4
- References: <20120807064303.GA4739@host2.jankratochvil.net>
On 08/07/2012 07:43 AM, Jan Kratochvil wrote:
> set continue_count 1
> -while 1 {
> +set loop 1
> +while {$loop} {
> set test "continue #$continue_count"
> gdb_test_multiple "continue" "" {
> -re "Invalid free\\(\\).*: main .*\r\n$gdb_prompt $" {
> pass $test
> - break
> + # In Ubuntu 10.04.4 environments 'break' does not work here.
> + set loop 0
> }
For archaeology, and for knowing when can we stop caring for this issue,
it would be nice(r) IMO to know the tcl/expect version that triggered this issue.
--
Pedro Alves