This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix handling of #include files during prologue skipping
- From: Tom Tromey <tromey at redhat dot com>
- To: Tiago StÃrmer Daitx <tdaitx at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, emachado at linux dot vnet dot ibm dot com, Ulrich dot Weigand at de dot ibm dot com
- Date: Wed, 23 Jan 2013 12:38:01 -0700
- Subject: Re: [PATCH] Fix handling of #include files during prologue skipping
- References: <51002e51.hBZ7tcMHUsAupjpI%tdaitx@linux.vnet.ibm.com>
>>>>> "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