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: [RFA] [gdb.threads/testsuite] failure while checking backtrace into main


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


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