This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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}"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]