RFC: Deprecate the ARM simulator
Nick Clifton
nickc@redhat.com
Tue Sep 24 14:18:14 GMT 2024
Hi Richard,
>> I would like to deprecate or even delete the ARM simulator.
> Won't this break builds for arm users unless they now explicitly specify --disable-sim? That's a bit aggressive, IMO, and might cause problems for multi-target builds that
> want some sims, if available. We don't want to make life harder for those just trying to build gdb.
I am totally OK with just deleting the arm sim altogether.
I was just not sure if there was a GDB approved method for doing so.
So instead of the deprecating patch, how about this one to add the sim
directory to the top level configure script's noconfigdirs list for ARM
targets:
(Obviously a full patch would include the regenerated configure file
file. I am just posting this patch for discussion purposes).
---------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 6fd9e77f20a..7d99cdda8fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1003,6 +1003,13 @@ case "${target}" in
;;
esac
+# The ARM simulator has been deprecated for all ARM targets.
+case "${target}" in
+ arm*-*-*)
+ noconfigdirs="$noconfigdirs sim"
+ ;;
+esac
+
case "${target}" in
*-*-chorusos)
;;
@@ -1014,7 +1021,7 @@ case "${target}" in
;;
arm-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
- noconfigdirs="$noconfigdirs sim target-rda"
+ noconfigdirs="$noconfigdirs target-rda"
;;
powerpc-*-darwin*)
noconfigdirs="$noconfigdirs ld gas gdb gprof"
--------------------------------------------------------------
I am also assuming that this patch, or something similar, should go in first
before any simulator sources are actually deleted...
Cheers
Nick
More information about the Gdb
mailing list