[prev in list] [next in list] [prev in thread] [next in thread]
List: linuxppc64-dev
Subject: minor kdb fix
From: linas () austin ! ibm ! com (linas at austin ! ibm ! com)
Date: 2003-07-17 20:51:15
Message-ID: 20030717155115.A26098 () forte ! austin ! ibm ! com
[Download RAW message or body]
Hi,
Could I get someone to apply this minor KDB fix? It fixes a small
annoyance...
--linas
Index: kdbasupport.c
===================================================================
RCS file: /home/linas/cvsroot/linux24/arch/ppc64/kdb/Attic/kdbasupport.c,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 kdbasupport.c
--- kdbasupport.c 15 Jul 2003 18:41:55 -0000 1.1.2.1
+++ kdbasupport.c 17 Jul 2003 20:44:44 -0000
@@ -1372,6 +1372,11 @@
kdb_printf("cpu %d: ", smp_processor_id());
#endif /* CONFIG_SMP */
+ /* If yellow-button'ed in userland, then no exception */
+ if (!fp) {
+ kdb_printf ("No exception frame!\n");
+ return 0;
+ }
kdb_printf("Vector: %lx %s at [%p]\n", fp->trap, getvecname(fp->trap),
fp);
kdb_printf(" pc: %lx", fp->nip);
if (find_tb_table(fp->nip, &tab) && tab.name[0]) {
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic