projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix handling of undocumented SLL instruction for the Z80 target.
[binutils-gdb.git]
/
gdb
/
dwarf2-frame-tailcall.c
diff --git
a/gdb/dwarf2-frame-tailcall.c
b/gdb/dwarf2-frame-tailcall.c
index 1d3e1f445bba24407c8d73c1018f55f03210406e..f565a2eecc84e953c7d0b17ab72b5e9d21f84a68 100644
(file)
--- a/
gdb/dwarf2-frame-tailcall.c
+++ b/
gdb/dwarf2-frame-tailcall.c
@@
-318,6
+318,9
@@
tailcall_frame_sniffer (const struct frame_unwind *self,
int next_levels;
struct tailcall_cache *cache;
+ if (!dwarf2_frame_unwinders_enabled_p)
+ return 0;
+
/* Inner tail call element does not make sense for a sentinel frame. */
next_frame = get_next_frame (this_frame);
if (next_frame == NULL)