Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/9] Centralize unwinder api exceptions handling
@ 2017-07-31 22:22 Yao Qi
  2017-07-31 22:22 ` [PATCH 7/9] Throw exception in amd64 unwinders Yao Qi
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Yao Qi @ 2017-07-31 22:22 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-08-17 15:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 22:22 [PATCH 0/9] Centralize unwinder api exceptions handling 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-07-31 22:22 ` [PATCH 2/9] Class-fy dwarf2_frame_state 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 1/9] Move dwarf2_frame_state_reg.exp_len to union .loc 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 5/9] Handle unwinding exceptions Yao Qi
2017-07-31 22:22 ` [PATCH 9/9] Throw exception in aarch64 unwinder Yao Qi
2017-08-11  8:35 ` [PATCH 0/9] Centralize unwinder api exceptions handling Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox