Skip to content

Instantly share code, notes, and snippets.

View mpictor's full-sized avatar

Mark mpictor

  • Austin, TX
View GitHub Profile
@mpictor
mpictor / run.sh
Created April 27, 2020 20:48
gdb / qemu kernel debug notes
# notes from when I had trouble with kexec some time back. possibly useful to others.
# disable kaslr or boot with nokaslr, or no symbols will match and no breakpoints will be hit
#
# hbreak used to be necessary? not any more
qemu-system-x86_64 --version
#QEMU emulator version 4.0.0
gdb --version
#GNU gdb (Gentoo 8.3 vanilla) 8.3