Hi Dave,
A small cosmetic patch to force sys_ni_syscall when needed.
Olivier
=====================================================
--- crash-4.0-3.2/kernel.c 2006-08-23 17:09:48.000000000 +0200
+++ crash-4.0-3.2-patch/kernel.c 2006-09-01 22:14:21.000000000 +0200
@@ -3189,9 +3189,9 @@
struct syment *sp, *spn;
long size;
#ifdef S390X
- unsigned int *sct, *sys_call_table, addr;
+ unsigned int *sct, *sys_call_table, sys_ni_syscall, addr;
#else
- ulong *sys_call_table, *sct, addr;
+ ulong *sys_call_table, *sct, sys_ni_syscall, addr;
#endif
if (GDB_PATCHED())
error(INFO, "line numbers are not available\n"); @@
-3208,6 +3208,7 @@
readmem(symbol_value("sys_call_table"), KVADDR, sys_call_table,
size, "sys_call_table", FAULT_ON_ERROR);
+ sys_ni_syscall=symbol_value("sys_ni_syscall");
if (spec)
open_tmpfile();
@@ -3228,6 +3229,9 @@
}
fprintf(fp, (output_radix == 16) ? "%3x " : "%3d ",
i);
+ if (sys_ni_syscall && *sct == sys_ni_syscall)
+ fprintf(fp, "%-26s ", "sys_ni_syscall");
+ else
fprintf(fp, "%-26s ", scp);
/*
----------------------------------------------------------------
Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre