qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tero Kaarlela <tero.kaarlela@kotinet.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Problems with GDB
Date: Thu, 30 Jun 2005 18:15:36 +0300	[thread overview]
Message-ID: <42C40C98.10104@kotinet.com> (raw)

Hi,

    I am currently trying to use GDB for debugging PPC guest. What I 
would like to do is to step one instruction but if I give command 
'nexti' from GDB affect is exactly same than if i give 'continue'. 
Running does not stop after 1 instruction. My GDB config:

                            GDB version 6.1
                             "--host=i386-linux --target=ppc-linux"

 And here is GDB debug from Qemu:

    Waiting gdb connection on port 1234 (nexti invoked here)
command='Hc-1'
reply=''
command='qC'
reply=''
command='qOffsets'
reply=''
command='?'
reply='S05'
command='Hg0'
reply=''
command='g'
reply='000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffc000030000000000000000000000000000000000000000000'
command='mfffffffc,c'
reply='4bfffe050000000000000000'
command='vCont?'
reply=''
command='Hc0'
reply=''
command='s'


So am I doing something wrong here/is my GDB configured properly.


Thanks

Tero

             reply	other threads:[~2005-06-30 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 15:15 Tero Kaarlela [this message]
2005-06-30 15:38 ` [Qemu-devel] Problems with GDB Paul Brook

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=42C40C98.10104@kotinet.com \
    --to=tero.kaarlela@kotinet.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).