(KEDBG ONLY) Variables lookup handlers need to use readmema and writemem
All those handlers are in librevm/lang/access.c . This error cause the inform command to fail on kedbg, for example:
type ivtent = seg:short off:short
[*] Added type ivtent succesfully
~type ivt = ent:ivtent[256]
[*] Added type ivt succesfully
inform ivt toto 0 [*] Type ivt succesfully informed of variable $toto [0x00000000]
(kedbg-0.82-a9-dev@local) ivt
.:: IVT ::.
0x00 | 0xf000ff53 0xf000ff53 0xf000e2c3 0xf000ff53 0xf000ff53 0xf000ff54 0xf0008288 0xf000ff53 [...]
(kedbg-0.82-a9-dev@local) print $toto.ent[0].seg
short $toto.ent[0] = {short $toto.ent[0] = }
(kedbg-0.82-a9-dev@local) print $toto
ivt $toto = { ivtent ent { short seg = 18(0x12) @ off(0), short off = 0(0x0) }}
Those values are incorrects and even most of the time we have a segfault when using informed variables within kedbg.
Ticket: 98 Reported by: camoroz0 on Fri Dec 5 00:30:20 2008