It works! Thank you very much!
Best,
Yaodong
--
Yaodong Yang
Ph.D. Student
Department of Computer Science & Engineering
University of Nebraska-Lincoln
Email: yaodong.ya...@gmail.com OR yy...@cse.unl.edu
On Aug 9, 2013, at 12:25 PM, Max Filippov wro
On Fri, Aug 9, 2013 at 9:14 PM, Peter Maydell wrote:
> On 9 August 2013 18:11, Yaodong Yang wrote:
>> 2. how to invoke QEMU with gdb,
>> because my previous attempt failed. "gdb sudo
>> /usr/local/kvm/bin/qemu-system/x86_64 -s -enable-kvm -hda"
>
> This won't work because you're running gdb as yo
On 9 August 2013 18:11, Yaodong Yang wrote:
> I think I did not make my question clear. I do not know
> 1. how to add "-g" flag when compile QEMU, in order to use gdb
This is what passing --enable-debug to configure does.
> 2. how to invoke QEMU with gdb,
> because my previous attempt failed. "g
Hello Peter,
Best,
Yaodong
--
Yaodong Yang
Ph.D. Student
Department of Computer Science & Engineering
University of Nebraska-Lincoln
Email: yaodong.ya...@gmail.com OR yy...@cse.unl.edu
On Aug 9, 2013, at 11:56 AM, Peter Maydell wrote:
> On 9 Augu
On 9 August 2013 17:45, Yaodong Yang wrote:
> I tried the following commands.
>
> ./configure --enable-debug --disable-werror --enable-kvm
> --prefix=/usr/local/kvm
--disable-werror is usually not a good idea for developers.
> make -j4
>
> sudo make install
>
> gdb sudo /usr/local/kvm/bin/qemu-s
Hello everyone,
I have a simple question about the debugging of qemu.
I used the qemu-1.5.1, and added several .c and .h files related the block
drivers. I want to debug my own implementations using gdb. but I have no
idea how to do it.
I tried the following commands.
./configure --enable-debug