mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
gdb/testsuite/: garbage collect a few references to dead targets
gdb/testsuite/ChangeLog: 2015-08-24 Pedro Alves <palves@redhat.com> * config/m32r-stub.exp: Remove file. * gdb.base/call-ar-st.exp: Remove reference to sparclet. * gdb.base/call-rt-st.exp: Likewise. * gdb.base/call-strs.exp: Likewise. * gdb.base/default.exp: Remove references to h8300-*-hms and *-*-udi*. * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
2015-08-24 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* config/m32r-stub.exp: Remove file.
|
||||||
|
* gdb.base/call-ar-st.exp: Remove reference to sparclet.
|
||||||
|
* gdb.base/call-rt-st.exp: Likewise.
|
||||||
|
* gdb.base/call-strs.exp: Likewise.
|
||||||
|
* gdb.base/default.exp: Remove references to h8300-*-hms and
|
||||||
|
*-*-udi*.
|
||||||
|
* gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
|
||||||
|
|
||||||
2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
|
* gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
|
||||||
|
@ -1 +0,0 @@
|
|||||||
load_lib "../../testsuite/config/sparclet.exp"
|
|
@ -19,11 +19,6 @@
|
|||||||
|
|
||||||
standard_testfile
|
standard_testfile
|
||||||
|
|
||||||
# Test depends on printf, which the sparclet stub doesn't support.
|
|
||||||
if { [istarget "sparclet-*-*"] } {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Some targets can't call functions, so don't even bother with this
|
# Some targets can't call functions, so don't even bother with this
|
||||||
# test.
|
# test.
|
||||||
if [target_info exists gdb,cannot_call_functions] {
|
if [target_info exists gdb,cannot_call_functions] {
|
||||||
|
@ -23,11 +23,6 @@
|
|||||||
|
|
||||||
standard_testfile .c
|
standard_testfile .c
|
||||||
|
|
||||||
# Test depends on printf, which the sparclet stub doesn't support.
|
|
||||||
if { [istarget "sparclet-*-*"] } {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
|
||||||
untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
|
untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
|
||||||
return -1
|
return -1
|
||||||
|
@ -25,11 +25,6 @@
|
|||||||
|
|
||||||
standard_testfile
|
standard_testfile
|
||||||
|
|
||||||
# Test depends on printf, which the sparclet stub doesn't support.
|
|
||||||
if { [istarget "sparclet-*-*"] } {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Some targets can't call functions, so don't even bother with this
|
# Some targets can't call functions, so don't even bother with this
|
||||||
# test.
|
# test.
|
||||||
if [target_info exists gdb,cannot_call_functions] {
|
if [target_info exists gdb,cannot_call_functions] {
|
||||||
|
@ -117,11 +117,6 @@ gdb_test "delete display" \
|
|||||||
#test detach
|
#test detach
|
||||||
gdb_test "detach" ".*" "detach"
|
gdb_test "detach" ".*" "detach"
|
||||||
|
|
||||||
if [istarget "h8300-*-hms"] then {
|
|
||||||
gdb_exit
|
|
||||||
gdb_start
|
|
||||||
}
|
|
||||||
|
|
||||||
#test directory
|
#test directory
|
||||||
# FIXME -- need to dump full output to detailed log
|
# FIXME -- need to dump full output to detailed log
|
||||||
|
|
||||||
@ -209,7 +204,7 @@ gdb_test "f" "No stack." "frame \"f\" abbreviation"
|
|||||||
gdb_test "frame" "No stack." "frame"
|
gdb_test "frame" "No stack." "frame"
|
||||||
#test fg
|
#test fg
|
||||||
gdb_test "fg" "The program is not being run." "fg"
|
gdb_test "fg" "The program is not being run." "fg"
|
||||||
# FIXME: fg kills the udi connection
|
|
||||||
#test file
|
#test file
|
||||||
send_gdb "file\n"
|
send_gdb "file\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
@ -773,7 +768,6 @@ gdb_expect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#test target remote
|
#test target remote
|
||||||
if ![istarget "*-*-udi*"] then {
|
|
||||||
send_gdb "target remote\n"
|
send_gdb "target remote\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re "To open a remote debug connection, you need to specify what.*serial.*device is attached to the remote system.*.e.g. .*$gdb_prompt $"\
|
-re "To open a remote debug connection, you need to specify what.*serial.*device is attached to the remote system.*.e.g. .*$gdb_prompt $"\
|
||||||
@ -789,7 +783,6 @@ if ![istarget "*-*-udi*"] then {
|
|||||||
-re ".*$gdb_prompt $" { fail "target remote" }
|
-re ".*$gdb_prompt $" { fail "target remote" }
|
||||||
timeout { fail "(timeout) target remote" }
|
timeout { fail "(timeout) target remote" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#test target
|
#test target
|
||||||
gdb_test "target" "Argument required .target name.*" "target"
|
gdb_test "target" "Argument required .target name.*" "target"
|
||||||
|
@ -894,7 +894,6 @@ proc recursive_structs_by_value {} {
|
|||||||
gdb_run_cmd
|
gdb_run_cmd
|
||||||
gdb_test "" "Breakpoint $decimal, hitbottom .*" "run to hitbottom"
|
gdb_test "" "Breakpoint $decimal, hitbottom .*" "run to hitbottom"
|
||||||
|
|
||||||
if ![istarget sparclet-*-*] {
|
|
||||||
gdb_test_sequence "backtrace 100" "recursive passing of structs by value" {
|
gdb_test_sequence "backtrace 100" "recursive passing of structs by value" {
|
||||||
"\[\r\n\]#0 .* hitbottom \\(\\) "
|
"\[\r\n\]#0 .* hitbottom \\(\\) "
|
||||||
"\[\r\n\]#1 .* recurse \\(a=\{s = 0, i = 0, l = 0\}, depth=0\\) "
|
"\[\r\n\]#1 .* recurse \\(a=\{s = 0, i = 0, l = 0\}, depth=0\\) "
|
||||||
@ -905,9 +904,6 @@ proc recursive_structs_by_value {} {
|
|||||||
"\[\r\n\]#6 .* test_struct_args \\(\\) "
|
"\[\r\n\]#6 .* test_struct_args \\(\\) "
|
||||||
"\[\r\n\]#7 .* main \\(.*\\) at "
|
"\[\r\n\]#7 .* main \\(.*\\) at "
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
fail "recursive passing of structs by value (sparclet)"
|
|
||||||
}
|
|
||||||
gdb_stop_suppressing_tests
|
gdb_stop_suppressing_tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user