mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
2011-01-19 Yao Qi <yao@codesourcery.com>
* lib/dwarf.exp (dwarf2_support): Change supported targets to a positve list.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2011-01-19 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* gdb.asm/asm-source.exp: Replace ARM target triplet with a
|
* gdb.asm/asm-source.exp: Replace ARM target triplet with a
|
||||||
|
@ -16,15 +16,15 @@
|
|||||||
# Return true if the target supports DWARF-2 and uses gas.
|
# Return true if the target supports DWARF-2 and uses gas.
|
||||||
# For now pick a sampling of likely targets.
|
# For now pick a sampling of likely targets.
|
||||||
proc dwarf2_support {} {
|
proc dwarf2_support {} {
|
||||||
if {![istarget *-*-linux*]
|
if {[istarget *-*-linux*]
|
||||||
&& ![istarget *-*-gnu*]
|
|| [istarget *-*-gnu*]
|
||||||
&& ![istarget *-*-elf*]
|
|| [istarget *-*-elf*]
|
||||||
&& ![istarget *-*-openbsd*]
|
|| [istarget *-*-openbsd*]
|
||||||
&& ![istarget arm*-*-eabi*]
|
|| [istarget arm*-*-eabi*]
|
||||||
&& ![istarget arm*-*-symbianelf*]
|
|| [istarget arm*-*-symbianelf*]
|
||||||
&& ![istarget powerpc-*-eabi*]} {
|
|| [istarget powerpc-*-eabi*]} {
|
||||||
return 0
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1
|
return 0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user