diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-14 10:37:14 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-14 10:37:14 +0000 |
commit | a328e031d5e328eab6a2697b95f5c5e89d396604 (patch) | |
tree | 8189e99af744125ec05335a8f2882bd1a974d006 /gcc/defaults.h | |
parent | 00e693ec429c80a689d2473fee25a709bdcf28fe (diff) | |
download | gcc-a328e031d5e328eab6a2697b95f5c5e89d396604.tar.gz |
Add DWARF2_LINENO_DEBUGGING_INFO, and use it for nvptx
gcc/
* config/nvptx/nvptx.c (nvptx_option_override): Don't override
debug options.
* config/nvptx/nvptx.h (DWARF2_LINENO_DEBUGGING_INFO): Define.
(DWARF2_DEBUGGING_INFO): Don't define.
* debug.h (dwarf2_lineno_debug_hooks): Declare.
* toplev.c (process_options): Add a case for it.
* dwarf2out.c (dwarf2_lineno_debug_hooks): New variable.
(dwarf2out_init): Skip most initializations if
DWARF2_LINENO_DEBUGGING_INFO, but set cur_line_info_table in that
case.
* defaults.h (PREFERRED_DEBUGGING_TYPE): Also use DWARF2_DEBUG if
DWARF2_LINENO_DEBUGGING_INFO.
* opts.c (set_debug_level): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 9d38ba18ff4..713ca077c79 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -932,7 +932,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #elif defined SDB_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG -#elif defined DWARF2_DEBUGGING_INFO +#elif defined DWARF2_DEBUGGING_INFO || defined DWARF2_LINENO_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #elif defined VMS_DEBUGGING_INFO |