I've committed this to trunk, to remove the squashing of debug information. It appears to function correctly.

I'd had this patch for a while, but forgot to commit it.

nathan
2016-03-09  Nathan Sidwell  <nat...@acm.org>

	* config/nvptx/nvptx.c (nvptx_option_override): Don't kill debug level.

Index: config/nvptx/nvptx.c
===================================================================
--- config/nvptx/nvptx.c	(revision 234081)
+++ config/nvptx/nvptx.c	(working copy)
@@ -164,11 +164,6 @@ nvptx_option_override (void)
     /* The stabs testcases want to know stabs isn't supported.  */
     sorry ("stabs debug format not supported");
 
-  /* Actually we don't have any debug format, but don't be
-     unneccesarily noisy.  */
-  write_symbols = NO_DEBUG;
-  debug_info_level = DINFO_LEVEL_NONE;
-
   if (nvptx_optimize < 0)
     nvptx_optimize = optimize > 0;
 

Reply via email to