public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/26611] New: Arm: PSP thread stack unwinding not supported
@ 2020-09-14 14:34 alahay01 at gcc dot gnu.org
  2022-11-02 12:01 ` [Bug tdep/26611] " luis.machado at arm dot com
  0 siblings, 1 reply; 2+ messages in thread
From: alahay01 at gcc dot gnu.org @ 2020-09-14 14:34 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26611
           Summary: Arm: PSP thread stack unwinding not supported
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: alahay01 at gcc dot gnu.org
  Target Milestone: ---

On cortex M, exception stack can store the registers in a stack pointed to by
the in a PSP register.

This is currently not supported. We only support using the SP register.

See this comment in arm-tdep.c arm_m_exception_cache()

      /* Thread (process) stack used.
         Potentially this could be other register defined by target, but PSP
         can be considered a standard name for the "Process Stack Pointer".
         To be fully aware of system registers like MSP and PSP, these could
         be added to a separate XML arm-m-system-profile that is valid for
         ARMv6-M and ARMv7-M architectures. Also to be able to debug eg a
         corefile off-line, then these registers must be defined by GDB,
         and also be included in the corefile regsets.  */

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

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

* [Bug tdep/26611] Arm: PSP thread stack unwinding not supported
  2020-09-14 14:34 [Bug tdep/26611] New: Arm: PSP thread stack unwinding not supported alahay01 at gcc dot gnu.org
@ 2022-11-02 12:01 ` luis.machado at arm dot com
  0 siblings, 0 replies; 2+ messages in thread
From: luis.machado at arm dot com @ 2022-11-02 12:01 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |luis.machado at arm dot com
             Status|NEW                         |RESOLVED

--- Comment #1 from Luis Machado <luis.machado at arm dot com> ---
Addressed in gdb 12 development (will be in gdb 13).

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

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

end of thread, other threads:[~2022-11-02 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 14:34 [Bug tdep/26611] New: Arm: PSP thread stack unwinding not supported alahay01 at gcc dot gnu.org
2022-11-02 12:01 ` [Bug tdep/26611] " luis.machado at arm dot com

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).