tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: [GSoC] Remote kernel debugging over Ethernet



   
   It wouldn't handle modular kernels properly, unless you grab a copy of
   /dev/ksyms from the target system beforehand. Even better, one could modify
   libkvm to grab symbols from the core image. That would be slightly more
   involved, but savecore already contains code to produce a fake ELF binary
   from the core image so it would just be a case of adapting that.


rather than making libkvm have this knowledge, i'd rather that we
created gdb scripts to handle this.  it isn't that difficult to
arrange for gdb to find modules, load their symbols etc.  the
main benefit of this over libkvm is that it doesn't require the
same host platform while debugging, which is sometimes necessary,
and often useful.


.mrg.


Home | Main Index | Thread Index | Old Index