1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| (gdb) b main Breakpoint 1 at 0x2d9700: file ../softmmu/main.c, line 47. (gdb) b qemu_main_loop Breakpoint 2 at 0x4a38f0: file ../softmmu/runstate.c, line 729. (gdb) i b Num Type Disp Enb Address What 1 breakpoint keep y 0x00000000002d9700 in main at ../softmmu/main.c:47 2 breakpoint keep y 0x00000000004a38f0 in qemu_main_loop at ../softmmu/runstate.c:729 (gdb) r Starting program: /home/wujing/code/qemu/build/qemu-system-x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff753c6c0 (LWP 1027371)]
Thread 1 "qemu-system-x86" hit Breakpoint 1, main (argc=1, argv=0x7fffffffdc18) at ../softmmu/main.c:47 47 qemu_init(argc, argv); (gdb) c Continuing. [New Thread 0x7ffff68236c0 (LWP 1027464)] [New Thread 0x7fffa79ff6c0 (LWP 1027465)] VNC server running on ::1:5900
Thread 1 "qemu-system-x86" hit Breakpoint 2, qemu_main_loop () at ../softmmu/runstate.c:729 729 {
|