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 <[email protected]>
---

 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);
 }
 
 /*

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to