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/toplev.c | |
parent | d36402d9f0e6928949f9da8273859fdc5fe7b286 (diff) | |
download | gcc-5394314855439d86e5bb52ef07713472e2fee0dc.zip gcc-5394314855439d86e5bb52ef07713472e2fee0dc.tar.gz gcc-5394314855439d86e5bb52ef07713472e2fee0dc.tar.bz2 |
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/toplev.c')
-rw-r--r-- | gcc/toplev.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 588d89d..5aade2f 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -80,9 +80,7 @@ along with GCC; see the file COPYING3. If not see #include "dbxout.h" #endif -#ifdef SDB_DEBUGGING_INFO #include "sdbout.h" -#endif #ifdef XCOFF_DEBUGGING_INFO #include "xcoffout.h" /* Needed for external data declarations. */ @@ -1379,10 +1377,8 @@ process_options (void) else if (write_symbols == XCOFF_DEBUG) debug_hooks = &xcoff_debug_hooks; #endif -#ifdef SDB_DEBUGGING_INFO - else if (write_symbols == SDB_DEBUG) + else if (SDB_DEBUGGING_INFO && write_symbols == SDB_DEBUG) debug_hooks = &sdb_debug_hooks; -#endif #ifdef DWARF2_DEBUGGING_INFO else if (write_symbols == DWARF2_DEBUG) debug_hooks = &dwarf2_debug_hooks; |