I am to a point in my development where I need to create and analyze a core dump. I am currently using qemu/bochs with gdb stubs enabled.
For bochs:
gdbstub: enabled=1, port=1234
For qemu:
-s
I load gdb like this:
gdb -s kernel.bin -ex 'target remote :1234'
kernel.bin is loaded with grub. I can do normal debugging stuff with gdb.
I cannot get (or I cannot figure out how to) gdb to generate a core dump.
When I run "generate-core-file", I get the error, "No target."
There must be an easier way for me to get a core dump generated.
gdb core dump
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am
gdb core dump
I have an 80386SX 20MHz 2MB RAM.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.