This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: testsuite patches (1/14): Request dwarf-2 output where needed


On Mon, Jul 22, 2013 at 10:31:03AM +0530, Senthil Kumar Selvaraj wrote:
> On Sat, Jul 20, 2013 at 01:45:37AM -0400, Joern Rennecke wrote:
> > Although the gcc.dg/debug/dwarf2/dwarf2.exp generally requests dwarf-2
> > information, so that the test will work with targets that have a different
> > default output format, that doesn't happen where the test specifies specific
> > target options.  In that case, we have to specify -gdwarf-2 in the individual
> > test case.
> 
> I ran into this problem a while ago, and after discussion on the
> mailing list, added a -gdwarf option to emit DWARF with the default
> version (http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00592.html). Might
> be better than hardcoding dwarf-2 IMO.

Yeah, definitely.

	Jakub


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