aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-01-19 20:38:41 +0000
committerYao Qi <yao@codesourcery.com>2011-01-19 20:38:41 +0000
commitec64c9aa23eb456215787480e11497c0711c13ac (patch)
tree8db63487c9765939ca891ee2c9465efa15b51d7d /gdb
parent810cfdbbaf88c1f7feac42089abbaaa55304b94a (diff)
downloadgdb-ec64c9aa23eb456215787480e11497c0711c13ac.zip
gdb-ec64c9aa23eb456215787480e11497c0711c13ac.tar.gz
gdb-ec64c9aa23eb456215787480e11497c0711c13ac.tar.bz2
2011-01-19 Yao Qi <yao@codesourcery.com>
* lib/dwarf.exp (dwarf2_support): Change supported targets to a positve list.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/dwarf.exp18
2 files changed, 14 insertions, 9 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9e4a15d..e579943 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2011-01-19 Yao Qi <yao@codesourcery.com>
+ * lib/dwarf.exp (dwarf2_support): Change supported targets to a
+ positve list.
+
+2011-01-19 Yao Qi <yao@codesourcery.com>
+
* gdb.asm/asm-source.exp: Replace ARM target triplet with a
canonical form.
Remove "xscale-*-*"
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index 87bc62d..ca7051d 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -16,15 +16,15 @@
# Return true if the target supports DWARF-2 and uses gas.
# For now pick a sampling of likely targets.
proc dwarf2_support {} {
- if {![istarget *-*-linux*]
- && ![istarget *-*-gnu*]
- && ![istarget *-*-elf*]
- && ![istarget *-*-openbsd*]
- && ![istarget arm*-*-eabi*]
- && ![istarget arm*-*-symbianelf*]
- && ![istarget powerpc-*-eabi*]} {
- return 0
+ if {[istarget *-*-linux*]
+ || [istarget *-*-gnu*]
+ || [istarget *-*-elf*]
+ || [istarget *-*-openbsd*]
+ || [istarget arm*-*-eabi*]
+ || [istarget arm*-*-symbianelf*]
+ || [istarget powerpc-*-eabi*]} {
+ return 1
}
- return 1
+ return 0
}