[committed][gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp
Pedro Alves
palves@redhat.com
Thu Apr 2 14:24:19 GMT 2020
On 3/18/20 1:48 PM, Tom de Vries wrote:
> +set sources [list $srcfile $srcfile2]
> +set opts {debug optimize=-O2}
> +if { [prepare_for_testing "failed to prepare" ${testfile} $sources $opts] } {
> + return -1
> +}
Is that -O2 needed to force inlining?
-O0 and __attribute__((always_inline)) would be better for that.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list