aboutsummaryrefslogtreecommitdiff
path: root/gdb/rl78-tdep.c
diff options
context:
space:
mode:
authorGuinevere Larsen <guinevere@redhat.com>2024-03-14 16:14:26 +0100
committerGuinevere Larsen <guinevere@redhat.com>2025-01-17 11:49:16 -0300
commitce36ef63aa74c30016334db0f6a4638d1ffe7256 (patch)
tree930ede1f932d2cb6b5408d295994abde127efb8d /gdb/rl78-tdep.c
parent3919cf8a704138e4f2dd79c66e33a62087180f1f (diff)
downloadbinutils-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/rl78-tdep.c')
-rw-r--r--gdb/rl78-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c
index 46a7ee9..0fcd5f9 100644
--- a/gdb/rl78-tdep.c
+++ b/gdb/rl78-tdep.c
@@ -1187,6 +1187,7 @@ static const struct frame_unwind rl78_unwind =
{
"rl78 prologue",
NORMAL_FRAME,
+ FRAME_UNWIND_ARCH,
default_frame_unwind_stop_reason,
rl78_this_id,
rl78_prev_register,