This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]