This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] [gdb.threads/testsuite] failure while checking backtrace into main
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denis PILAT <denis dot pilat at st dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Fri, 2 Feb 2007 09:36:31 -0500
- Subject: Re: [RFA] [gdb.threads/testsuite] failure while checking backtrace into main
- References: <45C0C028.1050401@st.com> <45C34A05.1060901@st.com>
On Fri, Feb 02, 2007 at 03:26:13PM +0100, Denis PILAT wrote:
> We can also just remove the testing of argc and argv from the
> pthreads.exp file, that would be better I think.
I like this better. But, before I approve it, could you show me what
the output looks like from your compiler - both the backtrace and the
output of "readelf -wi" for main, argc, and argv? I bet it's a bug
that we don't show argc and argv at least as argc=<value optimized out>.
> 2007-02-02 Denis Pilat <denis.pilat@st.com>
>
> * gdb.threads/pthreads.exp: remove checking of unused argc and argv
> since they can be removed by a compiler optiisation.
This would be:
* gdb.threads/pthreads.exp (check_backtraces): Remove checking
of unused argc and argv.
--
Daniel Jacobowitz
CodeSourcery