i tried to solve my problem for 5 days but i couldnt.

my host machine is windows 10 x64.

i want to debug linux ubuntu 16.0.4 lts i386. i created two virtual machine with virtual box and installed both ubuntu i386 16.0.4 lts version. one is to be debugged and other is for remote debugger. i compiled same kernel of ubuntu 16.0.4 lts i386 with debug info and other settings like kgdb settings.

i used kgdb + virtualbox tecnique for debugging.i also used serial communication for kgdb.

my problem is that if i put breakpoint anywhere in kernel from remote gdb and type c for continue , ubuntu machine doesnt stop at breakpoint.

http://i67.tinypic.com/2em3eap.png http://i63.tinypic.com/262bnh4.jpg

above two pictures are my problem.

if i disable "Enable Vt-x/AMD-V option" for ubuntu_debugged virtual machine, then kernel gives kernel panic .

picture of kernel panic: i66.tinypic.com/20rk1sw.png

by the way, if i put breakpoint anywhere in kernel, kernel gives kernel panic. it's not related to start_kernel.

thanks in advance.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.