qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Helmar Wodtke" <helmwo@web.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem with QEMU on PPC
Date: Sat, 06 Nov 2004 11:46:00 +0200	[thread overview]
Message-ID: <14819810@web.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]

> Hi,
>
> On Thu, 4 Nov 2004, Helmar Wodtke wrote:
>
> > I want to run x86 code (more specific my FORTH at
> > http://www.printly.de/HelFORTH/ )  with user mode emulation on PPC
> > linux. I've made some debugging and figured out that the following code
> > (for fasm)
> > does not run:
>
> Means segmentation fault? Or does not start? Or does nothing?

It says:

helmar@imac helforth04b $ bin/qemu-i386 hf
()<1234567qemu: uncaught target signal 11 (Segmentation fault) - exiting
helmar@imac helforth04b $ bin/qemu-i386 test
qemu: uncaught target signal 11 (Segmentation fault) - exiting
helmar@imac helforth04b $ 

The first command is my FORTH with some debugging code I added and "test" is the code I send in last mail. BTW: Does the segmentation fault message mean it's the emulator or it's the program?

> > x86/x86 works fine, so I think this is a bug in PPC version. Also "inc
> > dword [bla[" would work.
>
> Tip: Enable single stepping, enable all logging (or at least in_asm and
> cpu) and then compare between PPC and x86 host. You should get an idea
> which insn is causing the glitch.

How? Can you point me to documentation? I dont know structure of QEMU well - as far as I've seen there are a lot optimisations for PCC. I dont understand PPC-assembler and dont like to learn it for this problem (I would implement a C-FORTH instead...).

Bis dann,
Helmar

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Helmar Wodtke.vcf --]
[-- Type: text/x-vCard; name="Helmar Wodtke.vcf", Size: 186 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Wodtke;Helmar;;;
FN:Helmar Wodtke
ADR;HOME:;;Hauptstraße 12;Belgershain;;04683;Deutschland
EMAIL;INTERNET:helmwo@web.de
EMAIL;INTERNET:helmwo@web.de
END:VCARD
\0

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 1433 bytes --]

             reply	other threads:[~2004-11-06 10:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-06  9:46 Helmar Wodtke [this message]
2004-11-06 14:34 ` [Qemu-devel] Problem with QEMU on PPC Johannes Schindelin
  -- strict thread matches above, loose matches on Subject: below --
2004-11-04 15:29 Helmar Wodtke
2004-11-05 12:37 ` Johannes Schindelin

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=14819810@web.de \
    --to=helmwo@web.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 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).