[PATCH] [ppc] Restore the complete functionality of ppc_get_frame

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---

 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
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux