Subject: Re: port-sparc64/23473: kdump dumps core on sparc64/compat_svr4
To: None <>
From: David Laight <>
List: netbsd-bugs
Date: 11/22/2003 19:55:09
kdump has been fixed so that it wong get so confused when the traced
arguments are incorrect.

However is still won't work for 32bit binaries on 64bit kernels.
The syscall entry code carefully converts the args from int64[] to
int32[] but the tracing code uses a count based on nargs * sizeof (int32)
so the wrong amount of information is traced.

I'd actually suggest removing the code that converts the argument list
and changing kdump to handle 32bit argument arrays from 32bit processes
on 64bit kernels.  kdump already keeps track of the emulation for each pid.


David Laight: