Debugging Kernel with gdb along with bochs
Posted: Thu Jun 01, 2017 11:39 pm
Hello
I enable bochs gdb stub , and everything went good, but when i connect to bochs with port 1234 , connection times out.
gdbstub: enabled=1, port=1234, text_base=0, data_base=0, bss_base=0
The bochs waits for connection on port 1234. when i use to connect to the boch on new terminal , connection times out , no error, just time out
$gdb
.
.
.
gdb> target remote :1234 and target remote localhost:1234 , i tried both
I enable bochs gdb stub , and everything went good, but when i connect to bochs with port 1234 , connection times out.
gdbstub: enabled=1, port=1234, text_base=0, data_base=0, bss_base=0
The bochs waits for connection on port 1234. when i use to connect to the boch on new terminal , connection times out , no error, just time out
$gdb
.
.
.
gdb> target remote :1234 and target remote localhost:1234 , i tried both