public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* AArch64 and fixed return address register (x30)
@ 2023-01-03  0:50 Sylwester Garncarek
  2023-01-05 14:36 ` Luis Machado
  0 siblings, 1 reply; 3+ messages in thread
From: Sylwester Garncarek @ 2023-01-03  0:50 UTC (permalink / raw)
  To: gdb

Hi All,

I've been working on adding CFI directives to assembler sources (GNU 
Asm) of an RTOS and I noticed that GDB seems to ignore 
.cfi_return_column directive. I checked GDB sources and indeed for 
AArch64 architecture the return address is fixed to x30 register. 
Normally this is not a problem, but for exception/interrupt the return 
address is in ELR_mode register. Because GDB is fixed to x30, there is 
no way to get a valid call stack. Are there any plans to make the return 
address register adjustable according to the info provided in DWARF data?

Thanks,
Sylwester

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

end of thread, other threads:[~2023-01-06  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  0:50 AArch64 and fixed return address register (x30) Sylwester Garncarek
2023-01-05 14:36 ` Luis Machado
     [not found]   ` <d394976c-451b-cfd6-a8dc-3ad715221024@gmail.com>
2023-01-06  9:37     ` Luis Machado

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