cgen_rtx_error" in a CGEN-generated simulator.
* gdbinit.in: Break on sim_core_signal too. Have autoconf
replacement for CGEN-related breakpoints.
+2004-12-08 Hans-Peter Nilsson <hp@axis.com>
+
+ * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
+ cgen_rtx_error" in a CGEN-generated simulator.
+ * gdbinit.in: Break on sim_core_signal too. Have autoconf
+ replacement for CGEN-related breakpoints.
+
2004-12-07 Hans-Peter Nilsson <hp@axis.com>
* Make-common.in (sim-basics_h): Add $(callback_h).
AC_DEFUN(SIM_AC_OUTPUT,
[
AC_LINK_FILES($sim_link_files, $sim_link_links)
+dnl Make @cgen_breaks@ non-null only if the sim uses CGEN.
+cgen_breaks=""
+if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
+cgen_breaks="break cgen_rtx_error";
+fi
+AC_SUBST(cgen_breaks)
AC_OUTPUT(Makefile.sim:Makefile.in Make-common.sim:../common/Make-common.in .gdbinit:../common/gdbinit.in,
[case "x$CONFIG_FILES" in
xMakefile*)
break sim_io_error
+break sim_core_signal
+@cgen_breaks@
define dump
set sim_debug_dump ()