mirror of
https://github.com/crash-utility/crash
synced 2025-02-23 17:06:49 +00:00
Fix for the ARM64 "bt -R <symbol>" option if the only reference
to the kernel text symbol in a backtrace is contained within the "[PC: <address> [<symbol+offset>]" line of an exception frame dump. Without the patch, the reference will only be picked up if the PC's hexadecimal address value is used. (anderson@redhat.com)
This commit is contained in:
parent
4978028e9e
commit
b349598bb7
2
arm64.c
2
arm64.c
@ -2762,6 +2762,8 @@ arm64_print_exception_frame(struct bt_info *bt, ulong pt_regs, int mode, FILE *o
|
||||
|
||||
if (BT_REFERENCE_CHECK(bt)) {
|
||||
arm64_do_bt_reference_check(bt, regs->pc, NULL);
|
||||
if ((sp = value_search(regs->pc, &offset)))
|
||||
arm64_do_bt_reference_check(bt, 0, sp->name);
|
||||
arm64_do_bt_reference_check(bt, LR, NULL);
|
||||
arm64_do_bt_reference_check(bt, SP, NULL);
|
||||
arm64_do_bt_reference_check(bt, regs->pstate, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user