This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips sim syscall


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]