diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-11-15 00:17:51 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-11-15 00:17:51 +0000 |
commit | 5394314855439d86e5bb52ef07713472e2fee0dc (patch) | |
tree | 6e75389db96858652650dbbfda5630f66f3e0bde /gcc/defaults.h | |
parent | d36402d9f0e6928949f9da8273859fdc5fe7b286 (diff) | |
download | gcc-5394314855439d86e5bb52ef07713472e2fee0dc.tar.gz |
remove conditional compilation of sdb debug info
gcc/ChangeLog:
2015-11-14 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* defaults.h: New definition of SDB_DEBUGGING_INFO.
* doc/tm.texi: Regenerate.
* doc/tm.texi.in: Adjust.
* final.c (rest_of_clean_state): Remove check if
SDB_DEBUGGING_INFO is defined.
* function.c (number_blocks): Likewise.
* output.h: Likewise.
* sdbout.c: Likewise.
* toplev.c (process_options): Likewise.
From-SVN: r230390
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index cee799d8590..ddda89a7e14 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -914,10 +914,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define DEFAULT_GDB_EXTENSIONS 1 #endif +#ifndef SDB_DEBUGGING_INFO +#define SDB_DEBUGGING_INFO 0 +#endif + /* If more than one debugging type is supported, you must define PREFERRED_DEBUGGING_TYPE to choose the default. */ -#if 1 < (defined (DBX_DEBUGGING_INFO) + defined (SDB_DEBUGGING_INFO) \ +#if 1 < (defined (DBX_DEBUGGING_INFO) + (SDB_DEBUGGING_INFO) \ + defined (DWARF2_DEBUGGING_INFO) + defined (XCOFF_DEBUGGING_INFO) \ + defined (VMS_DEBUGGING_INFO)) #ifndef PREFERRED_DEBUGGING_TYPE @@ -929,7 +933,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #elif defined DBX_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG -#elif defined SDB_DEBUGGING_INFO +#elif SDB_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG #elif defined DWARF2_DEBUGGING_INFO || defined DWARF2_LINENO_DEBUGGING_INFO |