Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 edited title
| link

turning Turning off kASLR to debug linux kernel using qemu and gdb

1
source | link

turning off kASLR to debug linux kernel using qemu and gdb

I'm trying to debug linux kernel using qemu and gdb. The problem is that gdb won't stop at breakpoint. I've searched about it and found that turning kASLR off may help, because kASLR confuses gdb.

-- Install that kernel on the guest.

+- Install that kernel on the guest, turn off KASLR by adding "nokaslr" to the kernel command line .

now I don't know what it means to add nokaslr to command line and the way to do that. Any idea?