S/390 zTPF: Handle skip trace addresses when unwinding
authorJim Johnston <jjohnst@us.ibm.com>
Fri, 3 Apr 2020 06:46:11 +0000 (08:46 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Fri, 3 Apr 2020 06:46:11 +0000 (08:46 +0200)
commitb749b5ec58acd1da57f2afabac732027e8a88755
tree935bd6a0185d65b54e1175ba2d5bb18d90f156ff
parent535ce76acbeb0791da0c2d707b543b54a9e0668f
S/390 zTPF: Handle skip trace addresses when unwinding

Check for and handle new skip trace addresses when unwinding on zTPF.

libgcc/ChangeLog:

2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>

* config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
(TPFRA_OFFSET): Macros removed.
(CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
(CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
(PG3_SKIPPING_OFFSET): New macros.
(__isPATrange): Use cinfc_fast for the check.
(__isSkipResetAddr): New function.
(s390_fallback_frame_state): Check for skip trace addresses. Use
either ICST_CRET or ICST_SRET to calculate return address
location.
(__tpf_eh_return): Handle skip trace addresses.
libgcc/ChangeLog
libgcc/config/s390/tpf-unwind.h