summaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-01-28 11:14:37 -0800
committerJohn Baldwin <jhb@FreeBSD.org>2022-01-28 11:14:37 -0800
commit5046f3c8c0cf0a641f25cf0b3f6e3a6969f28dd8 (patch)
tree8da64e4dd784788c5e5d442caa777ef6ff646858 /gdb/amd64-tdep.h
parentbf84b776bda0945300f40432580156af99c000f6 (diff)
downloadbinutils-gdb-5046f3c8c0cf0a641f25cf0b3f6e3a6969f28dd8.tar.gz
FreeBSD x86: Remove fallback for detecting signal trampolines by address.
A few FreeBSD releases did not include the page holding the signal code in core dumps. As a workaround, a sysctl was used to fetch the default location of the signal code instead. The youngest affected FreeBSD release is 10.1 released in November 2014 and EOLed in December 2016. The fallback only works for native processes and would require a separate unwinder once the FreeBSD arches are converted to use tramp_frame for signal frames.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r--gdb/amd64-tdep.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h
index 0ffa7422f7f..cdc1d6f6df4 100644
--- a/gdb/amd64-tdep.h
+++ b/gdb/amd64-tdep.h
@@ -145,8 +145,6 @@ extern int amd64nbsd_r_reg_offset[];
extern int amd64obsd_r_reg_offset[];
/* Variables exported from amd64-fbsd-tdep.c. */
-extern CORE_ADDR amd64fbsd_sigtramp_start_addr;
-extern CORE_ADDR amd64fbsd_sigtramp_end_addr;
extern int amd64fbsd_sc_reg_offset[];
#endif /* amd64-tdep.h */