[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] QEMU via GDB
From: |
Davide |
Subject: |
[Qemu-devel] QEMU via GDB |
Date: |
Fri, 21 Oct 2011 08:29:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 |
Dear all,
I am trying to debug QEMU via GDB.
I configured and compiled QEMU with debugging flags, i.e.,
# CFLAGS="-g3 -O0" ./configure --disable-gfx-check
and run gdb:
# gdb ./i386-linux-user/qemu-i386
(gdb) break main
(gdb) run
Starting program: /home/test/femu/i386-linux-user/qemu-i386
Failed to read a valid object file image from memory.
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x2f7df: Input/output error.
Is there any extra flag to be specified with the GDB for QEMU debugging?
I am wondering if the QEMU virtual machine creates any problem to the
GDB virtual machine.
Thanks.
G.
- [Qemu-devel] QEMU via GDB,
Davide <=