This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PR tdep/17379] Fix internal-error when stack pointer is invalid
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org, Ulrich Weigand <uweigand at de dot ibm dot com>, Sergio Durigan Junior <sergiodj at redhat dot com>
- Date: Fri, 12 Sep 2014 06:00:51 -0700
- Subject: Re: [PATCH] [PR tdep/17379] Fix internal-error when stack pointer is invalid
- Authentication-results: sourceware.org; auth=none
- References: <1410490007-19756-1-git-send-email-emachado at linux dot vnet dot ibm dot com> <5412C3F0 dot 9000703 at redhat dot com>
> set test "run until SIGSEGV"
> gdb_test_multiple "" $test {
> -re "Program received signal SIGSEGV.*$gdb_prompt $" {
> pass $test
> }
> }
Taking this one step further, wouldn't a simpler gdb_test also work
in this case?
--
Joel