public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tomas.vanek at fbl dot cz" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug tdep/29716] Arm v8 M-profile FNC_RETURN unwinder uses wrong stack
Date: Fri, 04 Nov 2022 20:54:50 +0000	[thread overview]
Message-ID: <bug-29716-4717-aSvvvpC5tM@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29716-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=29716

--- Comment #6 from tomas.vanek at fbl dot cz ---
Desired 'bt' output:

(gdb) bt -frame-info location-and-address
#0  0x0c0004ae in SecCalledFromNS ()
    at C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/Secure/Src/main.c:124
#1  0x0804032e in NSCalledFromNS ()
    at
C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/NonSecure/Src/nsmain.c:173
#2  0x0804034a in NSCalledFromSec ()
    at
C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/NonSecure/Src/nsmain.c:179
#3  <signal handler called>
#4  0x0c00028c in __gnu_cmse_nonsecure_call ()
#5  0x0c0003ba in SecCalledFromSec (back_ns=0x8040341 <NSCalledFromSec>)
    at C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/Secure/Src/main.c:100
#6  0x0c0003e2 in SECURE_Mode (back_ns=0x8040341 <NSCalledFromSec>)
    at C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/Secure/Src/main.c:108
#7  0x0804047c in main ()
    at
C:/dvl/stm32l5trustzone/GPIO_IOToggle_TrustZone/NonSecure/Src/nsmain.c:307
#8  0x0804026e in Reset_Handler ()
    at ../Application/Startup/startup_stm32l552zetxq.s:99

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2022-11-04 20:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21 20:59 [Bug tdep/29716] New: " tomas.vanek at fbl dot cz
2022-10-29 10:47 ` [Bug tdep/29716] " tomas.vanek at fbl dot cz
2022-10-29 15:43 ` tomas.vanek at fbl dot cz
2022-11-04 15:36 ` torbjorn.svensson at st dot com
2022-11-04 18:01 ` tomas.vanek at fbl dot cz
2022-11-04 18:24 ` tomas.vanek at fbl dot cz
2022-11-04 20:54 ` tomas.vanek at fbl dot cz [this message]
2022-11-05  9:50 ` tomas.vanek at fbl dot cz

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=bug-29716-4717-aSvvvpC5tM@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).