Tuesday 15 April 2014

debugging - Is it possible to use gdb and qemu to debug linux user space programs and kernel space simultaneously? -



debugging - Is it possible to use gdb and qemu to debug linux user space programs and kernel space simultaneously? -

so far, gdb + qemu, can step into/over linux kernel source code. possible debug user space programs simultaneously? example, single step programme user space kernel space can observe changes of registers on qemu monitor issuing info registers?

i accomplish using gdb command add-symbol-file add together userspace programs debugging information. must know these programs loading addresses. precise, have launch kernel debugging connecting gdb gdbserver usual; , then, can add together programme debugging information. can utilize .gdbinit script though. read this

debugging linux-kernel gdb qemu

No comments:

Post a Comment