linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Possible to annotate ARM64 IRQ handling to help gdb?
@ 2019-02-01 21:38 Doug Anderson
  2019-02-04 12:31 ` Dave Martin
  2019-02-04 13:12 ` Mark Rutland
  0 siblings, 2 replies; 7+ messages in thread
From: Doug Anderson @ 2019-02-01 21:38 UTC (permalink / raw)
  To: Linux ARM; +Cc: kgdb-bugreport, Will Deacon, Dave Martin, Stephen Boyd

Hi,

I was wondering if anyone out there has given any thought to
annotating the ARM64 IRQ handling in such a way that we could stack
crawl past el1_irq() when in gdb.

I spent a bit of time on this a few months ago and documented all my
findings in:

https://bugs.chromium.org/p/chromium/issues/detail?id=908721

I can copy and paste all the discussion from that bug here, but since
it's public hopefully folks can read the discussion / investigation
there.  To put it briefly, though: I can stack crawl past "el1_irq"
with the normal linux stack crawl (which is what kdb uses) but I can't
crawl past "el1_irq" in gdb().  After talking to some of our tools
guys here I'm fairly certain that we could solve this with the right
CFI directives, but when I poked at it I wasn't able to figure out the
magic.


Anyway, I figured I'd check to see if anyone here happens to know the
right magic.


-Doug

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-02-13 21:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-01 21:38 Possible to annotate ARM64 IRQ handling to help gdb? Doug Anderson
2019-02-04 12:31 ` Dave Martin
2019-02-11 17:27   ` Doug Anderson
2019-02-11 19:57     ` Dave Martin
2019-02-13 21:19       ` Doug Anderson
2019-02-04 13:12 ` Mark Rutland
2019-02-11 18:05   ` Doug Anderson

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 NNTP newsgroup(s).