This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Harden gdb.base/bp-permanent.exp
- From: Pedro Alves <palves at redhat dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>, "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Tue, 14 Apr 2015 12:58:19 +0100
- Subject: Re: [PATCH] Harden gdb.base/bp-permanent.exp
- Authentication-results: sourceware.org; auth=none
- References: <5526B296 dot 8040000 at codesourcery dot com> <5527A047 dot 1030201 at redhat dot com> <5527D804 dot 10709 at codesourcery dot com> <552C0212 dot 5080102 at codesourcery dot com> <552CFA96 dot 6070707 at redhat dot com> <552CFDCD dot 4030706 at codesourcery dot com>
On 04/14/2015 12:45 PM, Luis Machado wrote:
> for {set i 0} {$i < $count} {incr i} {
> + set test "p /x addr_bp\[$i\] = buffer\[$i\]"
> gdb_test_multiple "p /x addr_bp\[$i\] = buffer\[$i\]" $test {
Might as well replace the same string in the gdb_test_multiple too:
gdb_test_multiple $test $test {
OK with that change.
Thanks,
Pedro Alves