Testsuite: Add gdb_simple_compile
authorAlan Hayward <alan.hayward@arm.com>
Wed, 5 Sep 2018 09:11:32 +0000 (10:11 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 14 Sep 2018 08:56:52 +0000 (09:56 +0100)
commitbf326452537c11deece2aabe16b6b9d62388a2d9
tree2133d1826d98227c34b0c167b44f99d441a97ee4
parentca5f750004aa313131b15e648d4b862cbc4ba18c
Testsuite: Add gdb_simple_compile

Simplfy gdb.exp by adding a function that will attempt to
compile a piece of code, then clean up, leaving the created
object.

gdb/testsuite

        * lib/gdb.exp (gdb_simple_compile): Add proc.
        (is_elf_target): Use gdb_simple_compile.
        (skip_altivec_tests): Likewise.
        (skip_vsx_tests): Likewise.
        (skip_tsx_tests): Likewise.
        (skip_btrace_tests): Likewise.
        (skip_btrace_pt_tests): Likewise.
        (gdb_can_simple_compile): Likewise.
        (gdb_has_argv0): Likewise.
        (gdb_target_symbol_prefix): Likewise.
        (target_supports_scheduler_locking): Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp
This page took 0.035106 seconds and 4 git commands to generate.