From: Bo Gan <ganboing@gmail.com>
To: Ben Dooks <ben.dooks@codethink.co.uk>,
Ben Dooks <ben.dooks@sifive.com>,
u-boot@lists.denx.de
Cc: rick@andestech.com
Subject: Re: [PATCH] riscv: add backtrace support
Date: Tue, 13 Jun 2023 23:25:34 -0700 [thread overview]
Message-ID: <aa7b71c8-79e2-a489-954a-c132ccc6bf9c@gmail.com> (raw)
In-Reply-To: <32369479-7490-f437-4c12-3250476d1862@codethink.co.uk>
On 5/25/23 4:05 AM, Ben Dooks wrote:
> On 15/05/2023 14:03, Ben Dooks wrote:
>> When debugging, it is useful to have a backtrace to find
>> out what is in the call stack as the previous function (RA)
>> may not have been the culprit.
>>
>> Since this adds size to the build, do not add it by default
>> and avoid putting it in the SPL build if not needed.
>
> Hi, has anyone had time to review this?
>
Hi Ben, this looks really useful. I'd like to use it in SPL,
but I'm unable to enable CONFIG_SPL_FRAMEPOINTER=y. It's likely
that you need to add a SPL_FRAMEPOINTER entry to Kconfig as well.
next prev parent reply other threads:[~2023-06-14 6:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 13:03 [PATCH] riscv: add backtrace support Ben Dooks
2023-05-25 11:05 ` Ben Dooks
2023-06-14 6:25 ` Bo Gan [this message]
2023-06-14 17:15 ` Ben Dooks
2023-06-15 19:01 ` Bo Gan
2023-06-16 8:55 ` Ben Dooks
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=aa7b71c8-79e2-a489-954a-c132ccc6bf9c@gmail.com \
--to=ganboing@gmail.com \
--cc=ben.dooks@codethink.co.uk \
--cc=ben.dooks@sifive.com \
--cc=rick@andestech.com \
--cc=u-boot@lists.denx.de \
/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