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/record-btrace.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/record-btrace.c')
-rw-r--r-- | gdb/record-btrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c index 4b4248f..809b901 100644 --- a/gdb/record-btrace.c +++ b/gdb/record-btrace.c @@ -1945,6 +1945,7 @@ const struct frame_unwind record_btrace_frame_unwind = { "record-btrace", NORMAL_FRAME, + FRAME_UNWIND_GDB, record_btrace_frame_unwind_stop_reason, record_btrace_frame_this_id, record_btrace_frame_prev_register, @@ -1957,6 +1958,7 @@ const struct frame_unwind record_btrace_tailcall_frame_unwind = { "record-btrace tailcall", TAILCALL_FRAME, + FRAME_UNWIND_GDB, record_btrace_frame_unwind_stop_reason, record_btrace_frame_this_id, record_btrace_frame_prev_register, |