From: qiyaoltc@gmail.com (Yao Qi)
To: linux-arm-kernel@lists.infradead.org
Subject: Unwinding stop on irq handler or across it?
Date: Wed, 17 May 2017 17:04:26 +0100 [thread overview]
Message-ID: <86o9ur8o6t.fsf@gmail.com> (raw)
Hi,
When use GDB debug Linux kernel, GDB can't stop on unwinding from an irq
handler,
#0 gic_handle_irq (regs=0xffffffc07d9c7e30) at drivers/irqchip/irq-gic.c:263
#1 0xffffffc000083ce4 in el1_irq () at arch/arm64/kernel/entry.S:346
#2 0xffffffc000083ce4 in el1_irq () at arch/arm64/kernel/entry.S:346
#3 0xffffffc000083ce4 in el1_irq () at arch/arm64/kernel/entry.S:346
....
This problem can be fixed by either adding .cfi directives in entry.S
or adding some Linux awareness into GDB. I want to know what is the
expected behavior? Is it reasonable that stack unwinding stops on irq
handler, like el1_irq in this case? or something else?
--
Yao (??)
next reply other threads:[~2017-05-17 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 16:04 Yao Qi [this message]
2017-05-23 12:49 ` Unwinding stop on irq handler or across it? Johannes Stoelp
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=86o9ur8o6t.fsf@gmail.com \
--to=qiyaoltc@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 NNTP newsgroup(s).