qemu doesn't stop execution upon hitting a breakpoint

Bug #581353 reported by Eugene Gorodinsky
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Using Qemu 0.12.3 and gdb 7.1 on Ubuntu Lucid.

I'm trying to debug some bootloader code. Using qemu -s -S to run the bootloader and gdb to connect to qemu, I set the breakpoint at 0x7c00. Then I type continue in gdb. The breakpoint is hit and gdb shows debug information. However qemu apparently continues to execute the code of the bootloader as the text is printed on the screen etc.

Revision history for this message
Eugene Gorodinsky (e-gorodinsky) wrote :

Attached is the bootloader (no debug symbols as I'm debugging without them)

Revision history for this message
Alfredo Mungo (chimeranet89) wrote :

Same thing happens to me, same versions as above.. I must turn to another app to accomplish my work while awaiting for a bug-fix, the code is perfectly executed but while gdb hits the breakpoints qemu goes on..

Revision history for this message
Alfredo Mungo (chimeranet89) wrote :

Ok this issue has been fixed in qemu 0.12.4.

Just type 'qemu --version' to see what version you have, it is probably outdated.

Revision history for this message
Thomas Huth (th-huth) wrote :

According to comment #3, this has been fixed, so let's change the bug status accordingly.

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.