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

Tom Tromey
2013-01-23T19:38:14Z

>>>>> "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