From: Yao Qi <qiyaoltc@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/9] Centralize unwinder api exceptions handling
Date: Mon, 31 Jul 2017 22:22:00 -0000 [thread overview]
Message-ID: <1501539715-8049-1-git-send-email-yao.qi@linaro.org> (raw)
This patch series changes GDB to handle unwinder api exceptions in target
independent code, instead of in each unwinder. See more details on patch
#5. Patch 6 ~ 9 lifts the restrictions on each unwinder, that is, each
unwinder has to handle NOT_AVAILABLE_ERROR. Patches 1 ~ 4 are preparatory
ones. They can go in independently.
The patch series is tested on x86_64-linux and aarch64-linux. Note that
rs6000 and s390 unwinders still catch exceptions. I'll change them latter,
as I still need sometime understanding the code.
*** BLURB HERE ***
Yao Qi (9):
Move dwarf2_frame_state_reg.exp_len to union .loc
Class-fy dwarf2_frame_state
Class-fy dwarf2_frame_state_reg_info
Reset *THIS_CACHE in frame_unwind_try_unwinder in case of exception
Handle unwinding exceptions
Throw exception in dwarf2 unwinders
Throw exception in amd64 unwinders
Throw exception in i386 unwinders
Throw exception in aarch64 unwinder
gdb/aarch64-tdep.c | 48 +-------
gdb/amd64-tdep.c | 95 ++++-----------
gdb/dwarf2-frame.c | 331 +++++++++++++++++++++++------------------------------
gdb/dwarf2-frame.h | 114 ++++++++++++++----
gdb/frame-unwind.c | 7 +-
gdb/frame-unwind.h | 3 +-
gdb/frame.c | 109 +++++++++++++++---
gdb/i386-tdep.c | 111 +++++-------------
gdb/sparc-tdep.c | 2 +-
9 files changed, 390 insertions(+), 430 deletions(-)
--
1.9.1
next reply other threads:[~2017-07-31 22:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 22:22 Yao Qi [this message]
2017-07-31 22:22 ` [PATCH 5/9] Handle unwinding exceptions Yao Qi
2017-07-31 22:22 ` [PATCH 9/9] Throw exception in aarch64 unwinder Yao Qi
2017-07-31 22:22 ` [PATCH 3/9] Class-fy dwarf2_frame_state_reg_info Yao Qi
2017-07-31 22:22 ` [PATCH 1/9] Move dwarf2_frame_state_reg.exp_len to union .loc Yao Qi
2017-07-31 22:22 ` [PATCH 8/9] Throw exception in i386 unwinders Yao Qi
2017-07-31 22:22 ` [PATCH 6/9] Throw exception in dwarf2 unwinders Yao Qi
2017-07-31 22:22 ` [PATCH 2/9] Class-fy dwarf2_frame_state Yao Qi
2017-07-31 22:22 ` [PATCH 7/9] Throw exception in amd64 unwinders Yao Qi
2017-07-31 22:22 ` [PATCH 4/9] Reset *THIS_CACHE in frame_unwind_try_unwinder in case of exception Yao Qi
2017-08-11 16:47 ` Pedro Alves
2017-08-17 15:27 ` Yao Qi
2017-08-11 8:35 ` [PATCH 0/9] Centralize unwinder api exceptions handling Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501539715-8049-1-git-send-email-yao.qi@linaro.org \
--to=qiyaoltc@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox