diff mbox

[gomp4] ptx debug

Message ID 56E025C0.1030606@acm.org
State New
Headers show

Commit Message

Nathan Sidwell March 9, 2016, 1:31 p.m. UTC
I've committed this to gomp4 branch, 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
diff mbox

Patch

2016-03-09  Nathan Sidwell  <nathan@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;