diff options
author | Tom de Vries <tdevries@suse.de> | 2022-08-30 10:22:28 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-08-30 10:22:28 +0200 |
commit | 28b5cde22b1a858b8c05da0f03ba37c670798298 (patch) | |
tree | 193357838a6dbbc5437521b09e2e4b587a3c5002 /gdb/configure.tgt | |
parent | fae8f4d1fd9623c226ec0281dec6a686acc78912 (diff) | |
download | gdb-28b5cde22b1a858b8c05da0f03ba37c670798298.zip gdb-28b5cde22b1a858b8c05da0f03ba37c670798298.tar.gz gdb-28b5cde22b1a858b8c05da0f03ba37c670798298.tar.bz2 |
[gdb/tdep] Declare score-*-* target obsolete
I tried out the script gdb/gdb_mbuild.sh, and ran into:
...
score-elf ...
... configure --target=score-elf
... make score-elf
... run score-elf
score-elf: gdb dumped core
Terminated
...
Gdb runs into this internal error in initialize_current_architecture:
...
if (! gdbarch_update_p (info))
internal_error (__FILE__, __LINE__,
_("initialize_current_architecture: Selection of "
"initial architecture failed"));
...
The call to gdbarch_update_p fails because commit 575b4c298a6 ("gdb: Remove
support for S+core") removed support for the architecture.
Fix this by adding score-*-* to the list of obsolete targets in
gdb/configure.tgt, such that we're no longer able to build the configuration:
...
*** Configuration score-unknown-elf is obsolete.
*** Support has been REMOVED.
make: *** [Makefile:12806: configure-gdb] Error 1
...
Also remove the related line from the "Target Instruction Set Architectures"
list in gdb/MAINTAINERS, such that gdb/gdb_mbuild.sh no longer tries to build
it.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 0705ccf..e84e222 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -26,6 +26,7 @@ case $targ in m68*-*-os68k* | \ mips*-*-pe | \ rs6000-*-lynxos* | \ + score-*-* | \ sh*-*-pe | \ hppa*-*-hpux* | \ ia64-*-hpux* | \ |