Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-10749

Create terminal version of KDCOM

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • NTCore
    • None

    Description

      The task is to create a KDCOM.DLL that serves as a replacement for the usual KDCOM but instead of communicating with WinDbg/Kd, it will have a simple Kd like interface available through a serial terminal, so that unix users can use it like kdbg was used. The goal is to get rid of kdbg completely (which is broken and lacks a lot of features) and use the established kd64 part from ntoskrnl to do real and reliable kernel debugging, even on GCC builds and even without pdbs available.

      • kdcom.c from the current kdcom might be reused
      • To access certain kernel variables, a call to KdSystemDebugControl with a custom code will return a structure that contains pointers to all releveant kernel structures.
      • to resolve symbols we still need to try to read the dwarf debugging info, which might not be available for user mode code. But that is no difference to kdbg.
      • See also kd++ branch

      hbelusca
      thephysicist

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              ThePhysicist Timo Kreuzer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: