aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-08-25 07:34:54 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-25 07:34:54 +0000
commitf8ca7e49b358124e451580bf3bcd3b1d3cb05608 (patch)
tree7abdfe92f2a97062a9c729c69ce849d227970c39 /gcc/config
parent69b9b0d2c3bab21445547546a4742e73a515ad36 (diff)
downloadgcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.zip
gcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.tar.gz
gcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.tar.bz2
flags.h (enum debug_info_type): Remove DWARF_DEBUG.
* flags.h (enum debug_info_type): Remove DWARF_DEBUG. * defaults.h (PREFERRED_DEBUGGING_TYPE): Remove check for DWARF_DEBUGGING_INFO from choice-of-definition chain; restructure using C89 features (#elif, #error). * c-lex.c, final.c, opts.c, config/cris/cris.c, config/frv/frv.c * config/sh/sh.h: Remove references to DWARF_DEBUG. * doc/invoke.texi: Remove references to DWARF version 1; clarify why -gdwarf-2<n> doesn't work. cp: * class.c, search.c: Remove references to DWARF_DEBUG. From-SVN: r86540
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/cris/cris.c3
-rw-r--r--gcc/config/frv/frv.c5
-rw-r--r--gcc/config/sh/sh.h3
3 files changed, 2 insertions, 9 deletions
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 50f5e59..25db5ec 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -2712,8 +2712,7 @@ cris_override_options (void)
flag_no_function_cse = 1;
}
- if ((write_symbols == DWARF_DEBUG
- || write_symbols == DWARF2_DEBUG) && ! TARGET_ELF)
+ if (write_symbols == DWARF2_DEBUG && ! TARGET_ELF)
{
warning ("that particular -g option is invalid with -maout and -melinux");
write_symbols = DBX_DEBUG;
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index ccc26cf..7bd22f2 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -502,11 +502,6 @@ frv_override_options (void)
}
}
- /* Both -fpic and -gdwarf want to use .previous and the assembler only keeps
- one level. */
- if (write_symbols == DWARF_DEBUG && flag_pic)
- error ("-fpic and -gdwarf are incompatible (-fpic and -g/-gdwarf-2 are fine)");
-
/* Change the branch cost value. */
if (frv_branch_cost_string)
frv_branch_cost_int = atoi (frv_branch_cost_string);
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index c249661..5f6cc48 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -778,8 +778,7 @@ do { \
but gdb doesn't implement this yet */ \
if (0) \
flag_omit_frame_pointer \
- = (PREFERRED_DEBUGGING_TYPE == DWARF_DEBUG \
- || PREFERRED_DEBUGGING_TYPE == DWARF2_DEBUG); \
+ = (PREFERRED_DEBUGGING_TYPE == DWARF2_DEBUG); \
else \
flag_omit_frame_pointer = 0; \
} \