Open phryniszak opened 4 years ago
Sorry - this one slipped past. You can't set CONFIG_GDB_SCRIPTS=y
without also setting CONFIG_DEBUG_INFO=y
.
Edited - that should have said CONFIG_DEBUG_INFO=y
.
I had CONFIG_DEBUG_INFO=y. I could see all symbols in GDB. One thing that didn't work were all python lx- commands. I try to rebuild 5.4 once more to confirm it.
I tried again 5.4.49 and no luck. I used original rpi config and add in CONFIG_DEBUG_INFO=y
and CONFIG_GDB_SCRIPTS=y
I can debug kernel with symbols but no lx- commands.
I have to stay with 4.19 for the moment.
Same here with 5.18.2
After switching to kernel 5.4.(45) gdb kernel scripts stopped working. Was working for my in 4.19.
I have in .config:
But in GDB no sign of lx- commands.
Any clues?