diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-17 00:35:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-21 13:57:33 -0500 |
commit | 216722984fec8aa76e2d97d7b8fcc2fb1608825b (patch) | |
tree | b6321ba1b75e3f1fd0f6eb84c18bfcf32e33f11a /sim/m4 | |
parent | 144459531dd68a1287905079aaa131b777a8cc82 (diff) | |
download | gdb-216722984fec8aa76e2d97d7b8fcc2fb1608825b.zip gdb-216722984fec8aa76e2d97d7b8fcc2fb1608825b.tar.gz gdb-216722984fec8aa76e2d97d7b8fcc2fb1608825b.tar.bz2 |
sim: gdbinit: hoist setup to common code
This was left in subdirs because of the dynamic cgen usage. However,
we can move this breakpoint call to runtime and let gdb detect whether
the symbol exists.
Diffstat (limited to 'sim/m4')
-rw-r--r-- | sim/m4/sim_ac_output.m4 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/m4/sim_ac_output.m4 b/sim/m4/sim_ac_output.m4 index 22888bf..9eaeeff 100644 --- a/sim/m4/sim_ac_output.m4 +++ b/sim/m4/sim_ac_output.m4 @@ -21,15 +21,8 @@ dnl one afterwards. The two pieces of the common fragment are inserted into dnl the target's fragment at the appropriate points. AC_DEFUN([SIM_AC_OUTPUT], [dnl -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_CONFIG_FILES(Makefile.sim:Makefile.in) AC_CONFIG_FILES(Make-common.sim:../common/Make-common.in) -AC_CONFIG_FILES(.gdbinit:../common/gdbinit.in) AC_CONFIG_COMMANDS([Makefile], [echo "Merging Makefile.sim+Make-common.sim into Makefile ..." rm -f Makesim1.tmp Makesim2.tmp Makefile |