I'm trying to debug Linux kernel using qemu and gdb. The problem is that gdb won't stop at the 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 .
Unfortunately, I don't know what it means to add nokaslr to the command line and the way to do that. Any ideas would be appreciated.