This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFC: PATCH to mklibgcc.in for EH debugging
- From: Jason Merrill <jason at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Mar 2002 10:31:39 +0000
- Subject: RFC: PATCH to mklibgcc.in for EH debugging
Debugging programs that use exception handling is rather difficult when the
EH runtime is compiled without debug info.
Do people think hardcoding this here is OK, or should I make it a new
variable in the Makefile.in?
2002-03-15 Jason Merrill <jason@redhat.com>
* mklibgcc.in (LIB2ADDEH): Compile with -g2.
*** mklibgcc.in.~1~ Fri Mar 15 10:04:54 2002
--- mklibgcc.in Fri Mar 15 10:28:37 2002
*************** for file in $LIB2ADDEH; do
*** 203,209 ****
fi
echo $out: stmp-dirs $file
! echo " $gcc_compile" $flags -fexceptions -c $file -o $out
done
if [ "$SHLIB_LINK" ]; then
libgcc2_eh_objs="$libgcc2_eh_objs ${oname}${objext}"
--- 203,209 ----
fi
echo $out: stmp-dirs $file
! echo " $gcc_compile" $flags -fexceptions -g2 -c $file -o $out
done
if [ "$SHLIB_LINK" ]; then
libgcc2_eh_objs="$libgcc2_eh_objs ${oname}${objext}"