aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-17 10:18:12 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-17 10:18:12 -0800
commitacc187f5075f71862f71fea9bcb6efa0d4ce8751 (patch)
tree8521ea8c7791dc00e81d7eec6428546cf5ef129f /gcc/configure
parentf1c6ba8bd13aa28aabbabbf75c8e1611bc462bd8 (diff)
downloadgcc-acc187f5075f71862f71fea9bcb6efa0d4ce8751.zip
gcc-acc187f5075f71862f71fea9bcb6efa0d4ce8751.tar.gz
gcc-acc187f5075f71862f71fea9bcb6efa0d4ce8751.tar.bz2
dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.
* dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line. (dwarf2out_init): Add main_input_filename to the file table first. * configure.in (as_dwarf2_debug_line): Test with file number 1 instead of file number 0. From-SVN: r40578
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index 28b6041..87562fa 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -6752,8 +6752,8 @@ then
gcc_cv_as_dwarf2_debug_line="yes"
fi
elif test x$gcc_cv_as != x -a x"$insn" != x ; then
- echo ' .file 0 "conftest.s"' > conftest.s
- echo ' .loc 0 3 0' >> conftest.s
+ echo ' .file 1 "conftest.s"' > conftest.s
+ echo ' .loc 1 3 0' >> conftest.s
echo " $insn" >> conftest.s
# ??? This fails with non-gnu grep.
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \