mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
|
||||||
|
|
||||||
2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.base/randomize.exp, gdb.base/randomize.c: New files.
|
* gdb.base/randomize.exp, gdb.base/randomize.c: New files.
|
||||||
|
@ -65,7 +65,7 @@ gdb_test "show disable-randomization" \
|
|||||||
set addr1 [address_get "randomized first address"]
|
set addr1 [address_get "randomized first address"]
|
||||||
set addr2 [address_get "randomized second address"]
|
set addr2 [address_get "randomized second address"]
|
||||||
set test "randomized addresses should not match"
|
set test "randomized addresses should not match"
|
||||||
if {$addr1 eq $addr2} {
|
if [string equal $addr1 $addr2] {
|
||||||
untested "No randomization detected on this system"
|
untested "No randomization detected on this system"
|
||||||
return -1
|
return -1
|
||||||
} else {
|
} else {
|
||||||
@ -80,7 +80,7 @@ gdb_test "show disable-randomization" \
|
|||||||
set addr1 [address_get "fixed first address"]
|
set addr1 [address_get "fixed first address"]
|
||||||
set addr2 [address_get "fixed second address"]
|
set addr2 [address_get "fixed second address"]
|
||||||
set test "fixed addresses should match"
|
set test "fixed addresses should match"
|
||||||
if {$addr1 eq $addr2} {
|
if [string equal $addr1 $addr2] {
|
||||||
pass $test
|
pass $test
|
||||||
} else {
|
} else {
|
||||||
fail $test
|
fail $test
|
||||||
|
Reference in New Issue
Block a user