This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: sig != GDB_SIGNAL_0 failed assertion stepping program on GNU/Linux
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 5 Aug 2015 10:17:01 -0700
- Subject: Re: sig != GDB_SIGNAL_0 failed assertion stepping program on GNU/Linux
- Authentication-results: sourceware.org; auth=none
- References: <20150804180745 dot GA13984 at adacore dot com> <55C10A7B dot 3050405 at redhat dot com> <20150805010413 dot GL4777 at adacore dot com> <55C1E264 dot 9000606 at redhat dot com>
> I've now written a testcase that triggers this, and tweaked the
> commit log a bit further.
>
> WDYT?
Awesome having a testcase! It looks very good to me - I quickly tested
it on our SuSE 10 machine with our example, just in case, and also
ran AdaCore's testsuite just for kicks. Still all good.
Thanks!
> gdb/ChangeLog:
> 2015-08-05 Pedro Alves <palves@redhat.com>
> Joel Brobecker <brobecker@adacore.com>
>
> * breakpoint.c (bpstat_what) <bp_longjmp, bp_longjmp_call_dummy>
> <bp_exception, bp_longjmp_resume, bp_exception_resume>: Handle the
> case where BS->STOP is not set.
>
> gdb/testsuite/ChangeLog:
> 2015-08-05 Pedro Alves <palves@redhat.com>
>
> * gdb.threads/next-other-thr-longjmp.c: New file.
> * gdb.threads/next-other-thr-longjmp.exp: New file.
--
Joel