aboutsummaryrefslogtreecommitdiff
path: root/sim/bpf
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/bpf
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/bpf')
-rwxr-xr-xsim/bpf/configure9
1 files changed, 0 insertions, 9 deletions
diff --git a/sim/bpf/configure b/sim/bpf/configure
index f44ea70..bd22472 100755
--- a/sim/bpf/configure
+++ b/sim/bpf/configure
@@ -587,7 +587,6 @@ LIBOBJS
SIM_COMMON_BUILD_FALSE
SIM_COMMON_BUILD_TRUE
sim_float
-cgen_breaks
target_alias
host_alias
build_alias
@@ -1734,17 +1733,10 @@ fi
fi
-cgen_breaks=""
-if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
-cgen_breaks="break cgen_rtx_error";
-fi
-
ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
-ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
-
ac_config_commands="$ac_config_commands Makefile"
ac_config_commands="$ac_config_commands stamp-h"
@@ -2469,7 +2461,6 @@ do
case $ac_config_target in
"Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
"Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
- ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
"Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
"stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;