[PATCH] Fix handling of #include files during prologue skipping

Tom Tromey tromey@redhat.com
Wed Jan 23 19:38:00 GMT 2013


>>>>> "Tiago" == Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> writes:

Tiago> +#if ![runto callee] {
Tiago> +#    return 0
Tiago> +#}

You might as well just drop commented-out code.

Tiago> +set test "break main"
Tiago> +gdb_test_multiple $test $test {
Tiago> +    -re "\r\nBreakpoint \[0-9\]+ at .*: file .*/$testfile.h, line 1\\.\r\n$gdb_prompt $" {
Tiago> +	pass $test
Tiago> +    }

Why gdb_test_multiple and not just gdb_test here?

Tom



More information about the Gdb-patches mailing list