aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-06-17 23:54:40 +0000
committerCary Coutant <ccoutant@gcc.gnu.org>2009-06-17 16:54:40 -0700
commited5ef2e4085ebc1bf6be8f1667365cd328aae0e3 (patch)
treef03a2d8d3edb0a313d09132edfa2cdab7229e22b /gcc/defaults.h
parentb0f43ca013f71384e43d32bf4062df250528627f (diff)
downloadgcc-ed5ef2e4085ebc1bf6be8f1667365cd328aae0e3.zip
gcc-ed5ef2e4085ebc1bf6be8f1667365cd328aae0e3.tar.gz
gcc-ed5ef2e4085ebc1bf6be8f1667365cd328aae0e3.tar.bz2
dbxout.c (dbxout_source_line): Add is_stmt parameter.
* dbxout.c (dbxout_source_line): Add is_stmt parameter. Change caller. * debug.c (struct gcc_debug_hooks): Change placeholder for source_line hook. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * debug.h (struct gcc_debug_hooks): Add is_stmt parameter to source_line prototype. (debug_nothing_int_charstar_int): Replaced by... (debug_nothing_int_charstar_int_bool): ...this. * defaults.h (SUPPORTS_DISCRIMINATOR): New constant. * dwarf2out.c (dwarf2out_source_line): Add is_stmt parameter. Output is_stmt operand when necessary. * final.c (last_is_stmt): New variable. (final_start_function): Initialize last_is_stmt. (final_scan_insn): Pass is_stmt to source_line debug hook. (notice_source_line): Add is_stmt parameter. * sdbout.c (sdbout_source_line): Add is_stmt parameter. * vmsdbgout.c (vmsdbgout_source_line): Add is_stmt parameter. Change callers. * xcoffout.c (xcoffout_source_line): Add is_stmt parameter. * xcoffout.h (xcoffout_source_line): Add is_stmt parameter. From-SVN: r148635
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index b41f603..a4b870e 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -255,6 +255,16 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#endif
#endif
+/* This determines whether or not we support the discriminator
+ attribute in the .loc directive. */
+#ifndef SUPPORTS_DISCRIMINATOR
+#ifdef HAVE_GAS_DISCRIMINATOR
+#define SUPPORTS_DISCRIMINATOR 1
+#else
+#define SUPPORTS_DISCRIMINATOR 0
+#endif
+#endif
+
/* This determines whether or not we support link-once semantics. */
#ifndef SUPPORTS_ONE_ONLY
#ifdef MAKE_DECL_ONE_ONLY