diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2024-03-14 16:14:26 +0100 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2025-01-17 11:49:16 -0300 |
commit | ce36ef63aa74c30016334db0f6a4638d1ffe7256 (patch) | |
tree | 930ede1f932d2cb6b5408d295994abde127efb8d /gdb/amd64-obsd-tdep.c | |
parent | 3919cf8a704138e4f2dd79c66e33a62087180f1f (diff) | |
download | binutils-ce36ef63aa74c30016334db0f6a4638d1ffe7256.zip binutils-ce36ef63aa74c30016334db0f6a4638d1ffe7256.tar.gz binutils-ce36ef63aa74c30016334db0f6a4638d1ffe7256.tar.bz2 |
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 <eliz@gnu.org>
Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/amd64-obsd-tdep.c')
-rw-r--r-- | gdb/amd64-obsd-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |