From 9e9945c5b254a1ca528623ae19b68f1995f1fd52 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Tue, 22 Mar 2005 23:18:43 +0000 Subject: c-opts.c (c_common_parse_file): Only start/end main source file if debug hooks says the writer wants it. 2005-03-22 Daniel Berlin * c-opts.c (c_common_parse_file): Only start/end main source file if debug hooks says the writer wants it. * dbxout.c (dbx_debug_hooks): Add start_end_main_source_file member. (xcoff_debug_hooks): Ditto. * debug.c (do_nothing_hooks): Ditto. * debug.h (gcc_debug_hooks): Ditto. * dwarf2out.c (dwarf2_debug_hooks): Ditto. * sdbout.c (sdb_debug_hooks): Ditto. * vmsdbgout.c (vmsdbg_debug_hooks): Ditto. From-SVN: r96902 --- gcc/sdbout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/sdbout.c') diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 91a7a2c..e6ab7fb 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -335,7 +335,8 @@ const struct gcc_debug_hooks sdb_debug_hooks = debug_nothing_tree, /* outlining_inline_function */ sdbout_label, /* label */ debug_nothing_int, /* handle_pch */ - debug_nothing_rtx /* var_location */ + debug_nothing_rtx, /* var_location */ + 0 /* start_end_main_source_file */ }; /* Return a unique string to name an anonymous type. */ -- cgit v1.1