Re: having System.map reflect the running kernel

Werner Almesberger (almesber@lrc.epfl.ch)
Tue, 5 Sep 1995 12:51:15 +0200 (MET DST)


David Holland <dholland@hcs.harvard.edu> wrote:
> The load image should be compressed, and the symbols should follow the
> load image. This permits lseek. It might require hacking binutils a
> bit to get full support, though.

Yup, or attach a second executable header. This approach is bad for
people using boot floppies, LOADLIN+mtools or such, but that's
probably not that much of an issue ...

> The question, then: should there be space made in /proc for a link to
> the current kernel image, and should programs needing kernel symbols
> be changed to use it?

No, because
- you might not currently run the kernel you're analyzing
- the kernel doesn't necessarily know its own location

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, DI-LRC,EPFL,CH   werner.almesberger@lrc.di.epfl.ch /
/_IN_R_311__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/