Kernel Debugging with QEMU: Difference between revisions

Raboof (talk | contribs)
link to PR that fixes building the gdb integration script
Axka (talk | contribs)
m Use extraStructuredConfig instead of extraConfig in boot.kernelPatches as the latter is deprecated
Line 21: Line 21:
       name = "enable debugging information";
       name = "enable debugging information";
       patch = null;
       patch = null;
       extraConfig = ''
       extraStructuredConfig = {
         GDB_SCRIPTS y
         GDB_SCRIPTS = lib.kernel.yes;
         DEBUG_INFO y
         DEBUG_INFO = lib.kernel.yes;
         KALLSYMS y
         KALLSYMS = lib.kernel.yes;
       '';
       };
     }
     }
     {
     {