diff options
author | Doug Evans <dje@google.com> | 2013-09-16 23:59:02 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-09-16 23:59:02 +0000 |
commit | a587b477f27c2eb8cd19e55e3cc415984a85720c (patch) | |
tree | 110ab4ef4357e2add2e56e8f8196fe89efb7afd1 /gdb/testsuite/lib/gdb.exp | |
parent | 0295a32e39b3f706afe38be5ccf3ed0c178605b6 (diff) | |
download | gdb-a587b477f27c2eb8cd19e55e3cc415984a85720c.zip gdb-a587b477f27c2eb8cd19e55e3cc415984a85720c.tar.gz gdb-a587b477f27c2eb8cd19e55e3cc415984a85720c.tar.bz2 |
* lib/gdb.exp (using_fission): New proc.
* gdb.base/info-macros.exp: Skip test if using Fission.
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 9b319e2..05e66ef 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -4473,5 +4473,15 @@ proc run_on_host { test program args } { } } +# Return non-zero if "board_info debug_flags" mentions Fission. +# http://gcc.gnu.org/wiki/DebugFission +# Fission doesn't support everything yet. +# This supports working around bug 15954. + +proc using_fission { } { + set debug_flags [board_info [target_info name] debug_flags] + return [regexp -- "-gsplit-dwarf" $debug_flags] +} + # Always load compatibility stuff. load_lib future.exp |