qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: Chen.James@inventec-inc.com
Subject: Re: [Qemu-devel] debug qemu-arm
Date: Tue, 28 Jun 2005 13:22:15 +0100	[thread overview]
Message-ID: <200506281322.15501.paul@codesourcery.com> (raw)
In-Reply-To: <A373CBAE0333A4409D517DA697F41D830163DEC0@inc-mx6.inc.iac>

> It will report the following messages:
>
>   Starting program: /home/qemu/arm-user/qemu-arm /home/qemu/tests/hello-arm
>   Warning:
>   Cannot insert breakpoint 1.
>   Error accessing memory address 0x1c7da: Input/output error.
>
> If I remove breakpoint at main and run it, it will be OK, Will you give me
> some help? Thanks!

Compile qemu-arm statically (ie configuer with --static). The default is to 
build as a shared library, which seems to be buggy, and confuses gdb.

Paul

      reply	other threads:[~2005-06-28 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  8:17 [Qemu-devel] debug qemu-arm Chen.James
2005-06-28 12:22 ` Paul Brook [this message]

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=200506281322.15501.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=Chen.James@inventec-inc.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).