diff options
-rw-r--r-- | gdb/testsuite/gdb.asm/asm-source.exp | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/dump.exp | 7 |
2 files changed, 18 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index d56a507..1b8633c 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -43,8 +43,18 @@ switch -glob -- [istarget] { "aarch64*-*-*" { set asm-arch aarch64 } - "bfin-*-*" { + "bfin-*-elf" { set asm-arch bfin + set debug-flags "-g" + } + "bfin-*-uclinux" { + set asm-arch bfin + set debug-flags "-g" + if ![target_info exists use_binfmt_flat] { + verbose "Skipping asm-source.exp for bfin-uclinux fdpic." + continue; + } + append link-flags " -elf2flt" } "frv-*-*" { set asm-arch frv diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index c7dd1b1..c811953 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -17,6 +17,13 @@ # This is a test for the gdb command "dump". +# Blackfin does not have MMU. The load address might change between +# different invocations of application. So it is not guaranteed that +# dump file from one invocation can be restored in another invocation. +if { [istarget "bfin-*-uclinux"] || [istarget "bfin-*-linux-uclibc"] } then { + return 0 +} + standard_testfile set options {debug} |