From be23e44263d7ee05a7044fe8371c2f921d91262d Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 19 Jun 2024 09:52:01 +0200 Subject: [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 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index bb7c4a6..47677cb 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -8,6 +8,11 @@ ** The "scopes" request will now return a scope holding global variables from the stack frame's compilation unit. +* For ARM targets, the offset of the pc in the jmp_buf has been fixed to match + glibc 2.20 and later. This should only matter when not using libc probes. + This may cause breakage when using an incompatible libc, like uclibc or + newlib, or an older glibc. + *** Changes in GDB 15 * The MPX commands "show/set mpx bound" have been deprecated, as Intel -- cgit v1.1