From ce36ef63aa74c30016334db0f6a4638d1ffe7256 Mon Sep 17 00:00:00 2001 From: Guinevere Larsen Date: Thu, 14 Mar 2024 16:14:26 +0100 Subject: gdb: add "unwinder class" to frame unwinders A future patch will add a way to disable certain unwinders based on different characteristics. This patch aims to make it more convenient to disable related unwinders in bulk, such as architecture specific ones, by identifying all unwinders by which part of the code adds it. The classes, and explanations, are as follows: * GDB: An internal unwinder, added by GDB core, such as the unwinder for dummy frames; * EXTENSION: Unwinders added by extension languages; * DEBUGINFO: Unwinders installed by the debug info reader; * ARCH: Unwinders installed by the architecture specific code. Reviewed-By: Eli Zaretskii Reviewed-by: Thiago Jung Bauermann Approved-By: Simon Marchi Approved-By: Andrew Burgess --- gdb/amd64-obsd-tdep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/amd64-obsd-tdep.c') diff --git a/gdb/amd64-obsd-tdep.c b/gdb/amd64-obsd-tdep.c index 5b1e77b..5359959 100644 --- a/gdb/amd64-obsd-tdep.c +++ b/gdb/amd64-obsd-tdep.c @@ -409,6 +409,7 @@ static const struct frame_unwind amd64obsd_trapframe_unwind = which really is not what we want here. */ "amd64 openbsd trap", NORMAL_FRAME, + FRAME_UNWIND_ARCH, default_frame_unwind_stop_reason, amd64obsd_trapframe_this_id, amd64obsd_trapframe_prev_register, -- cgit v1.1