breakpoint already hit 1001 times
(gdb) x/10i tc_ptr
0xb50c9900: mov 0x28(%ebp),%ebx
0xb50c9903: mov 0x8(%ebp),%esi
0xb50c9906: mov %ebx,%edi
0xb50c9908: mov %esi,%ecx
0xb50c990a: mov $0xf27ef,%edx
However, the second time, I did the exactly same thing, and the results became:
breakpoint already hit 1001 times
(gdb) x/5i tc_ptr
0xb50c9bb0: mov 0x1c(%ebp),%ebx
0xb50c9bb3: push %ebx
0xb50c9bb4: mov %ebx,%edx
0xb50c9bb6: mov %ebx,%eax
0xb50c9bb8: shr $0x8,%edx
So Qemu was actually executing different TBs. I wonder the reason of this? And is it possible to make it as static? It make it difficult for debugging.
And the start option is just -hda to the test image path.
Thanks!
Michael Chen