aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2010-10-10 13:25:19 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-10-10 13:25:19 +0000
commitb1607943813559574658ede69b4f20d7e7bd9b66 (patch)
tree4d435c55818da2c95ad3e4cae0e38b4a7da34121 /gcc/ada/gcc-interface/misc.c
parent658a41acf025369ccfad016080b615fe5091e63f (diff)
downloadgcc-b1607943813559574658ede69b4f20d7e7bd9b66.zip
gcc-b1607943813559574658ede69b4f20d7e7bd9b66.tar.gz
gcc-b1607943813559574658ede69b4f20d7e7bd9b66.tar.bz2
lang.opt (gdwarf+): Remove.
* gcc-interface/lang.opt (gdwarf+): Remove. * gcc-interface/gigi.h (get_parallel_type): Likewise * gcc-interface/misc.c (gnat_dwarf_extensions): Likewise. (gnat_handle_option): Remove OPT_gdwarfplus case. (gnat_post_options): Remove setting of use_gnu_debug_info_extensions from gnat_dwarf_extensions. * gcc-interface/trans.c (gigi): Remove -gdwarf+ initializations. * gcc-interface/utils.c (get_parallel_type): Remove. From-SVN: r165254
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
-rw-r--r--gcc/ada/gcc-interface/misc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c
index 0dd29a6..7703e2e 100644
--- a/gcc/ada/gcc-interface/misc.c
+++ b/gcc/ada/gcc-interface/misc.c
@@ -59,12 +59,6 @@
/* This symbol needs to be defined for the front-end. */
void *callgraph_info_file = NULL;
-/* How much we want of our DWARF extensions. Some of our DWARF extensions
- are incompatible with regular GDB versions, so we must make sure to only
- produce them on explicit request. This is eventually reflected into the
- use_gnu_debug_info_extensions common flag for later processing. */
-static int gnat_dwarf_extensions = 0;
-
/* Command-line argc and argv. These variables are global since they are
imported in back_end.adb. */
unsigned int save_argc;
@@ -139,10 +133,6 @@ gnat_handle_option (size_t scode, const char *arg ATTRIBUTE_UNUSED, int value,
flag_eliminate_unused_debug_types = -value;
break;
- case OPT_gdwarfplus:
- gnat_dwarf_extensions = 1;
- break;
-
case OPT_gant:
warning (0, "%<-gnat%> misspelled as %<-gant%>");
@@ -260,11 +250,6 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
else
flag_eliminate_unused_debug_types = 0;
- /* Reflect the explicit request of DWARF extensions into the common
- flag for use by later passes. */
- if (write_symbols == DWARF2_DEBUG)
- use_gnu_debug_info_extensions = gnat_dwarf_extensions > 0;
-
optimize = global_options.x_optimize;
optimize_size = global_options.x_optimize_size;