new maint.exp FAIL w/-fdebug-types-section [Re: [RFA 1/2, doc RFA] maint check-symtabs, maint expand-symtabs]
Jan Kratochvil
jan.kratochvil@redhat.com
Sun May 19 11:23:00 GMT 2013
On Mon, 13 May 2013 22:20:59 +0200, Doug Evans wrote:
> +# Test "mt expand-symtabs" here as it's easier to verify before we
> +# run the program.
> +gdb_test_no_output "mt set per on" "mt set per on for expand-symtabs"
> +gdb_test_multiple "mt expand-symtabs $subdir/break\[.\]c$" \
> + "mt expand-symtabs" {
> + -re "#primary symtabs: 1 \\(\[+\]1\\),.*$gdb_prompt $" {
> + # This should expand exactly one (primary) symtab.
> + pass "mt expand-symtabs"
> + }
> + }
> +gdb_test "mt set per off" ".*" "mt set per off for expand-symtabs"
$ runtest CC_FOR_TARGET="gcc -gdwarf-4 -fdebug-types-section -g0" gdb.base/maint.exp
FAIL: gdb.base/maint.exp: mt expand-symtabs
mt expand-symtabs gdb.base/break[.]c$
Command execution time: 0.001000 (cpu), 0.000717 (wall)
Space used: 4292608 (+0 for this command)
#symtabs: 11 (+11), #primary symtabs: 2 (+2), #blocks: 9 (+9)
(gdb) FAIL: gdb.base/maint.exp: mt expand-symtabs
Jan
More information about the Gdb-patches
mailing list