Handling extra signals in syscall.c/syscalls.h. Patch
is attached.
Thanks,
Ilya
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/s
--- Pierre d'Herbemont <[EMAIL PROTECTED]> wrote:
> ...
> cvs diff -u would be easier to read for me. (or diff
> -u). You could
> send this patch to the qemu-devel, that would be
> cool.
>
Pierre,
Please see the diff file attached.
> ...
> Ouch! I have noticed the same: qemu can trigger bu
--- Pierre d'Herbemont <[EMAIL PROTECTED]> wrote:
Hi Pierre,
Thanks for your reply - please see comments inserted
below:
> Hi Ilya!
>
> On 23 févr. 07, at 21:32, Ilya Shar wrote:
>
> > I'm running i386-darwin-usrer on i386 and some
> apps
> > (Safar
Hi,
I'm running i386-darwin-usrer on i386 and some apps
(Safari browser) crash because cmpxchg8b attempts to
wrie to a qemu-allocated page which is readable but
write-protected. When I comment out mprotect in
exec.c
//mprotect(g2h(page_addr),
qemu_host_page_size,
// (pr
Every Cocoa application I try to run under
i386-darwin-user/qemu-i386 exits on an illegal
instruction:
Starting
/Applications/Calculator.app/Contents/MacOS/Calculator
with qemu
queue_signal: sig=4
qemu: uncaught target signal 4 (Illegal instruction) -
exiting
The last block alwa
I am trying to step through i386-darwin-user/qemu-i386
in gdb but I am getting a KERN_PROTECTION_FAILURE
fairly early in the run:
(gdb) run /bin/ls
Starting program:
/Users/ilya/tmp/feb11/qemu-0.9.0/i386-darwin-user/qemu-i386
/bin/ls
Reading symbols for shared libraries . done
Starting /bin/ls wi
Thanks to pointers/patches from Mike and Pierre, I can
build i386-darwin-user binary. There is a glitch
though with signal-handling. The following fragment
in cpu_signal_handler() in cpu-exec.c
pc = uc->uc_mcontext.gregs[REG_EIP];
trapno = uc->uc_mcontext.gregs[REG_TRAPNO];
appears to
d'Herbemont wrote:
>
> > Hi,
> >
> > On 3 févr. 07, at 02:37, Ilya Shar wrote:
> >
> >> I am trying to build i386-darwin-user to run it
> on an
> >> x86 Mac. I'm on Mac OS 10.4 Intel with gcc 3.3
> and
> >> I'm getting com
Hi,
I am trying to build i386-darwin-user to run it on an
x86 Mac. I'm on Mac OS 10.4 Intel with gcc 3.3 and
I'm getting compiler errors right away:
$ cvs
-d:pserver:[EMAIL PROTECTED]:/cvsroot/darwine
co qemu
$ cd qemu/
$ ./configure --target-list=i386-darwin-user
--cc=/opt/gcc3/bin/gcc
$ make