From: Masao Uebayashi <uebayasi@gmail.com>
To: gdb@sourceware.org
Subject: mips sim syscall
Date: Fri, 06 Jun 2008 06:20:00 -0000 [thread overview]
Message-ID: <20080606.152013.212798583.uebayasi@gmail.com> (raw)
Hi!
I'm new to this list.
Does GDB MIPS simulator support system call emulation? If I read code
(sim/mips/interp.c) correctly, if SystemCall or Trap is triggered, it
just looks at the exception vector and execute (emulate) that code.
This won't work for *nix like environment, right?
And it'd be possible to emulate only simple system calls (e.g.,
read(2), write(2), ...) by executing native ones, right? Is there any
specific reason why MIPS interp.c doesn't do this OTOH sim/sh/interp.c
does? Am I missing anything?
Masao
next reply other threads:[~2008-06-06 6:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 6:20 Masao Uebayashi [this message]
2008-06-06 7:08 ` Chris Demetriou
2008-06-06 10:23 ` Masao Uebayashi
2008-06-06 17:13 ` David Daney
2008-06-11 1:14 ` Masao Uebayashi
2008-06-11 16:27 ` David Daney
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=20080606.152013.212798583.uebayasi@gmail.com \
--to=uebayasi@gmail.com \
--cc=gdb@sourceware.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