diff options
author | Anton Kolesov <Anton.Kolesov@synopsys.com> | 2016-08-22 19:39:46 +0300 |
---|---|---|
committer | Shahab Vahedi <shahab@synopsys.com> | 2020-12-22 12:04:31 +0100 |
commit | b4e3cd0440109d0a5552d3313ccbd35c8103335b (patch) | |
tree | 3db267f0f65f031b5912f6814bc7741758056024 /zlib | |
parent | 6bf6909bf4987cb8b44e3c27e377c377294f0f19 (diff) | |
download | gdb-b4e3cd0440109d0a5552d3313ccbd35c8103335b.zip gdb-b4e3cd0440109d0a5552d3313ccbd35c8103335b.tar.gz gdb-b4e3cd0440109d0a5552d3313ccbd35c8103335b.tar.bz2 |
arc: Add support for signal handlers
This patch adds the necessary infrastructure to handle signal frames for
ARC architecture. It is fairly similar to what any other architecture
would have. Linux specific parts will be in a separate patch.
v2 [1]:
- Make the logic of "arc_sigtramp_frame_sniffer ()" simpler.
[1] Tom's remark for the first version
https://sourceware.org/pipermail/gdb-patches/2020-November/173221.html
gdb/ChangeLog:
* arc-tdep.c (arc_make_sigtramp_frame_cache): New function.
(arc_sigtramp_frame_this_id): Likewise.
(arc_sigtramp_frame_prev_register): Likewise.
(arc_sigtramp_frame_sniffer): Likewise.
(arc_siftramp_frame_unwind): New global variable.
(arc_gdbarch_init): Use sigtramp capabilities.
(arc_dump_tdep): Print sigtramp fields.
* arc-tdep.h (gdbarch_tdep): Add sigtramp fields.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions