minor kdb fix

linas at austin.ibm.com linas at austin.ibm.com
Fri Jul 18 06:51:15 EST 2003


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/





More information about the Linuxppc64-dev mailing list