Subject: Re: DDD and Linux emulation.
To: Jesus M. Gonzalez <>
From: Frank van der Linden <>
List: port-i386
Date: 04/11/1996 20:10:46
Quoting Jesus M. Gonzalez,

> 	I'm trying tu run a Linux version of DDD (the graphical
> user interface to gdb) on NetBSD-1.1/i386 without success.
> It seems that a syscall is not implemented by the Linux emulation...
> Can anyone confirm this impression? Anyone know if that's
> fixed in -current?


>    460 ddd-1.4b-i486-un RET   read 107/0x6b
>    460 ddd-1.4b-i486-un CALL  lseek(0x4,0xffffffd3,0x1)
>    460 ddd-1.4b-i486-un RET   lseek 62/0x3e
>    460 ddd-1.4b-i486-un CALL  close(0x4)
>    460 ddd-1.4b-i486-un RET   close 0
>    460 ddd-1.4b-i486-un CALL  [146]
>    460 ddd-1.4b-i486-un PSIG  SIGSYS SIG_DFL

146 is the writev() call, which wasn't a system call in Linux before.
However, it was implemented as a system call around 1.3.20 I believe.
NetBSD/1.1 does not emulate it; -current does. If you want, I can
give you a diff to the 1.1 source tree that would fix this.

- Frank