mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Use new gdb.exp feature to check for nodebug in the executable for testcases under gdb.gdb
This commit is contained in:
parent
4fbbbd0782
commit
3bdcad15ba
@ -1,3 +1,11 @@
|
||||
2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
|
||||
|
||||
* gdb.gdb/complaints.exp (setup_test): use new gdb.exp functionality
|
||||
to check for nodebug in executable.
|
||||
* gdb.gdb/observer.exp (setup_test): Likewise.
|
||||
* gdb.gdb/selftest.exp (test_with_self): Likewise.
|
||||
* gdb.gdb/xfullpath.exp (setup_test): Likewise.
|
||||
|
||||
2004-09-01 Andrew Cagney <cagney@gnu.org>
|
||||
|
||||
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
|
||||
|
@ -55,6 +55,11 @@ proc setup_test { executable } {
|
||||
|
||||
if { [lindex $result 0] != "" } then {
|
||||
return -1
|
||||
} else {
|
||||
if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 } then {
|
||||
untested "No debug information, skipping testcase."
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
# Set a breakpoint at main
|
||||
|
@ -53,6 +53,11 @@ proc setup_test { executable } {
|
||||
|
||||
if { [lindex $result 0] != "" } then {
|
||||
return -1
|
||||
} else {
|
||||
if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 } then {
|
||||
untested "No debug information, skipping testcase."
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
# Set a breakpoint at main
|
||||
|
@ -247,6 +247,11 @@ proc test_with_self { executable } {
|
||||
|
||||
if { [lindex $result 0] != "" } then {
|
||||
return -1
|
||||
} else {
|
||||
if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 } then {
|
||||
untested "No debug information, skipping testcase."
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
# disassemble yourself
|
||||
|
@ -54,6 +54,11 @@ proc setup_test { executable } {
|
||||
|
||||
if { [lindex $result 0] != "" } then {
|
||||
return -1
|
||||
} else {
|
||||
if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 } then {
|
||||
untested "No debug information, skipping testcase."
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
# Set a breakpoint at main
|
||||
|
Loading…
Reference in New Issue
Block a user