GDBStub Bug: Can't stop at start_kernel when debugging linux kernel
Bug #570574 reported by
rockwill
This bug affects 3 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
version: qemu-0.12.3
my environment: arm-linux-gdb + qemu-system-arm + arm926 linux kernel
my operation:
qemu-system-arm -kernel zImage -initrd cramfs.arm.rootfs -s -S
arm-linux-gdb vmlinux
>target remote TCP::1234
>b start_kernel
>c
then qemu start and free run, not stop.
when I pause gdb, qemu stop at rest_init() called by start_kernel()
But if I use qemu-0.11.1 instead of 0.12.3, stopping at start_kernel is all right, and debug action seems allright too,
To post a comment you must log in.

what are the differences between version 0.11.1 and 0.12.3 about gdbstub?
Is it a bug in 0.12.3?
Should I configure some option or something for Qemu?
Thank you!