This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Testsuite: Add gdb_simple_compile


>>>>> "Alan" == Alan Hayward <alan.hayward@arm.com> writes:

Alan> Updated after Tom's review to use upvar for the object.
Alan> Simplfy gdb.exp by adding a function that will attempt to
Alan> compile a piece of code, then clean up, leaving the created
Alan> object.

Alan> gdb/testsuite

Alan> 2018-09-12  Alan Hayward  <alan.hayward@arm.com>

Alan>         * lib/gdb.exp (gdb_simple_compile): Add proc.
Alan>         (is_elf_target): Use gdb_simple_compile.
Alan>         (skip_altivec_tests): Likewise.
Alan>         (skip_vsx_tests): Likewise.
Alan>         (skip_tsx_tests): Likewise.
Alan>         (skip_btrace_tests): Likewise.
Alan>         (skip_btrace_pt_tests): Likewise.
Alan>         (gdb_can_simple_compile): Likewise.
Alan>         (gdb_has_argv0): Likewise.
Alan>         (gdb_target_symbol_prefix): Likewise.
Alan>         (target_supports_scheduler_locking): Likewise.

Thanks.  This is ok.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]