Can 'adb' be used to see/modify values in kernel mem?

Doug Toppin toppin at melpar.UUCP
Thu Jul 27 02:00:08 AEST 1989


I have a driver with some constants in it that I would like to be
able to modify directly in memory without remaking or rebooting.
I have been trying to use 'adb' to examine and change the values
but can't get to them.  This is what I tried:
      adb /xenix /dev/mem   (kmem produces same result)
      var-name/u
This returns a value which is definitely wrong. I get the same result
if I try to look at known kernel variables such as NBUF.
I also tried getting the address with:
      var-name=a
And then:
      *address/u
This produced the same result. Does anyone know if this is possible and
if so how? This does work correctly if I just look at the kernel without
using the memory device but I would still like to go directly to memory.
I am running IBM Xenix on the 286
thanks
Doug Toppin
uunet!melpar!toppin



More information about the Comp.unix.questions mailing list