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: GDB crash due to endless recursion in namespace lookup


Sami Wagiaalla wrote:

> Thanks for reporting things and the test case. I have attached a fix and 
> added your test case to the test suite.

Oops, I didn't see your email and just checked in a fix myself (which
seems more or less the same as yours) ...  Sorry for the confusion!

> 2010-06-24  Sami Wagiaalla  <swagiaal@redhat.com>
> 
> 	* gdb.cp/operator.cc: Created an import loop.
> 	* gdb.cp/operator.exp: Added testcase for import loop.

Except I didn't add the test case since on my machine, I already had
several other tests failing due to the bug.  But I guess you're right,
we should add the test anyway, for machines without the loop in the
system headers ...  Please feel free to check in the test!

Thanks for the quick fix!

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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