aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-17 00:35:31 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-21 13:57:33 -0500
commit216722984fec8aa76e2d97d7b8fcc2fb1608825b (patch)
treeb6321ba1b75e3f1fd0f6eb84c18bfcf32e33f11a /sim/Makefile.in
parent144459531dd68a1287905079aaa131b777a8cc82 (diff)
downloadgdb-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/Makefile.in')
-rw-r--r--sim/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 49a3c0b..6df800a 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -208,7 +208,7 @@ CONFIG_CLEAN_FILES = Make-common.sim aarch64/Makefile.sim \
microblaze/Makefile.sim moxie/Makefile.sim msp430/Makefile.sim \
pru/Makefile.sim rl78/Makefile.sim rx/Makefile.sim \
sh/Makefile.sim erc32/Makefile.sim \
- example-synacor/Makefile.sim arch-subdir.mk
+ example-synacor/Makefile.sim arch-subdir.mk .gdbinit
CONFIG_CLEAN_VPATH_FILES =
LIBRARIES = $(noinst_LIBRARIES)
ARFLAGS = cru
@@ -1278,6 +1278,8 @@ example-synacor/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/exampl
cd $(top_builddir) && $(SHELL) ./config.status $@
arch-subdir.mk: $(top_builddir)/config.status $(srcdir)/arch-subdir.mk.in
cd $(top_builddir) && $(SHELL) ./config.status $@
+.gdbinit: $(top_builddir)/config.status $(srcdir)/gdbinit.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)