Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* mips sim syscall
@ 2008-06-06  6:20 Masao Uebayashi
  2008-06-06  7:08 ` Chris Demetriou
  0 siblings, 1 reply; 6+ messages in thread
From: Masao Uebayashi @ 2008-06-06  6:20 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-11 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-06  6:20 mips sim syscall Masao Uebayashi
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox