# Mantainer: WinterXMQ # Contributor: WinterXMQ pkgname=bochs-with-debugger pkgrealname=bochs.
Hi
I normally used Bochs internal debugger, but now I build Bochs 2.6.8 with GDB support. I used recently my code I build myself that I tested before using builtin debugger and It worked. My image was built from file boot.s is the 16 bit boot sector, head.s file that initialize idt and gdt tables and finally the main.c
which only prints a string in port 0xE9. Here is my makefile (I used MinGW to build the image):
I used the kernel.img as floppy boot image in Bochs. Anyway here's my Bochs config file:
I connected to bochs using GDB and here is the output:
I know that there is something wrong because bochs is supposed to break at first instruction of the bios.
When I step the execution, nothing happens but when checking log file here is what I got:
I don't know what am I doing wrong. Does anyone have an idea how to solve this ?
Thanks in advance