[Crash-utility] [PATCH] [ppc] Restore the complete functionality of ppc_get_frame
Suzuki K. Poulose
suzuki at in.ibm.com
Wed Jan 18 09:12:03 UTC 2012
In one of my patches to add support for PPC32, I removed some
code to find the stack pointer value for an active task in non-kdump
case.
This patch restores the same.
Signed-off-by : Suzuki K. Poulose <suzuki at in.ibm.com>
---
ppc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ppc.c b/ppc.c
index 6a1db2a..89b409b 100755
--- a/ppc.c
+++ b/ppc.c
@@ -1202,6 +1202,9 @@ ppc_dumpfile_stack_frame(struct bt_info *bt, ulong *getpc, ulong *getsp)
else
*getpc = (sp->value - 4);
}
+
+ if (getsp)
+ get_ppc_frame(bt, NULL, getsp);
}
/*
More information about the Crash-utility
mailing list