]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/tdep] Simplify ARM_LINUX_JB_PC_EABI
authorTom de Vries <tdevries@suse.de>
Wed, 19 Jun 2024 07:52:01 +0000 (09:52 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 19 Jun 2024 07:52:01 +0000 (09:52 +0200)
commitbe23e44263d7ee05a7044fe8371c2f921d91262d
tree41bbe9a4779c6b2b344a931a6b794cab0dbb84de
parent9c39329d1c5af43fa20edc7abde465ab4c127262
[gdb/tdep] Simplify ARM_LINUX_JB_PC_EABI

In commit 1a7d840a216 ("[gdb/tdep] Fix ARM_LINUX_JB_PC_EABI"), in absense of
osabi settings for newlib and uclibc for arm, I chose a best-effort approach
using ifdefs.

Post-commit review [1] pointed out that this may be causing more problems than
it's worth.

Fix this by removing the ifdefs and simply defining ARM_LINUX_JB_PC_EABI to 1.

Rebuild on x86_64-linux with --enable-targets=all.

Fixes: 1a7d840a216 ("[gdb/tdep] Fix ARM_LINUX_JB_PC_EABI")
[1] https://sourceware.org/pipermail/gdb-patches/2024-June/209779.html
gdb/NEWS
gdb/arm-linux-tdep.c