All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Westermann <mw@microdata-pos.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] single stepping with ppc-target
Date: Thu, 15 Jul 2004 09:47:55 +0200	[thread overview]
Message-ID: <20040715094755.M20351@microdata-pos.de> (raw)

Hello,

I've the folling problem:

I will extract an compressed ipl-loader from a ppc-mca box' firmware . I work
on a linux-port for a dual-ppc box with mca.

I have:
     - read the firmware flash-eprom (and disassemle this file).
     - load this file at phys_ram_base+0, 
     - set all gpr-register to required values,
     - gpr1 as stack to phys_ram_base+0x400000.  (fix in ppc_prep.ci ;-))
     - assemble a branch to the decomress routine at phys_ram_base+0 
     - start quemu with -S 
     - start gdbserver
     - compile a gdb for ppc-linux target
     - connect this gdb to the quemu

I want to trace my ppc-routine with gdb step by step (with si)
or set a breakpoint with b *address, but qemu will run it without 
honoring breakpoints or single step.

Is there a way to trace my ppc routine step by step, or set a breakpoint?

Michael

                 reply	other threads:[~2004-07-15  7:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040715094755.M20351@microdata-pos.de \
    --to=mw@microdata-pos.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.