From: Andy P. <at...@us...> - 2001-09-01 12:21:19
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel In directory usw-pr-cvs1:/tmp/cvs-serv26693 Modified Files: regdump.c Log Message: I find --- less useful than the numbers. Nasty hack to dump more information Index: regdump.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/regdump.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- regdump.c 2001/08/20 21:30:52 1.3 +++ regdump.c 2001/09/01 12:21:15 1.4 @@ -108,11 +108,18 @@ if (i%4 == 0) { printk(" %08lx ", (unsigned long)(p+i)); } + if ((p+i)<PAGE_OFFSET){ if (get_user(x, p+i)) { printk(" --------"); } else { printk(" %08x", x); } + } else { + x= *(p+i); + printk(" %08x", x); + } + + if (i%4 == 3) { printk("\n"); } |