[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] How to run u-boot in qemu in singlestep mode?‏

From: Alexander Graf
Subject: Re: [Qemu-ppc] How to run u-boot in qemu in singlestep mode?‏
Date: Tue, 16 Jun 2015 11:18:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 06/16/15 08:36, ZhangLei wrote:
  I'm trying to use qemu emulator powerpc, and I have ran u-boot for qemu successfully.
  I want to run uboot in qemu in single step mode, so that I can trace how u-boot run in qemu and registers' value at the same time , etc,  just like emulators (just like freescale's codewarrior does).
  Now I only know command "singlestep on" to enable singlestep execute in qemu, but at this time u-boot does not running. If I typed command "c", it will running ahead not in singlestep mode.
  How can I makes u-boot run again after set singlestep on and run step by step ?

Your best option is to use the built-in gdbstub of QEMU. Just run qemu with the -s option and attach gdb to it from the outside.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]