This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Testsuite: Add gdb_simple_compile
- From: Tom Tromey <tom at tromey dot com>
- To: Alan Hayward <alan dot hayward at arm dot com>
- Cc: gdb-patches at sourceware dot org, nd at arm dot com
- Date: Thu, 13 Sep 2018 09:46:56 -0600
- Subject: Re: [PATCH v2] Testsuite: Add gdb_simple_compile
- References: <20180912151554.85944-1-alan.hayward@arm.com>
>>>>> "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