Files
binutils-gdb/sim/common
Doug Evans f33673061f * callback.c (os_stat): Make 3rd arg a host struct stat ptr.
(os_fstat): Likewise.  Validate fd argument.
	(cb_host_to_target_stat): Delete big_p arg.  If HS arg is NULL,
	just compute target stat struct length.
	* syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
	(ENOSYS,ENAMETOOLONG): Provide definitions if missing.
	(get_string): Return host errno values so they can be properly
	translated later.
	(cb_syscall): Likewise.
	(cb_syscall, cases open,unlink): Use get_path instead of get_string.
	(cb_syscall, case read): Use read_stdin for file descriptor 0.
	(cb_syscall, case write): Use write_stderr for file descriptor 2.
	(cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
	(get_path): New function.
1997-11-25 09:33:34 +00:00
..
1997-04-07 05:58:59 +00:00
1997-09-04 00:49:57 +00:00
1997-03-21 03:56:07 +00:00
1997-05-15 02:22:37 +00:00
1997-09-04 10:08:44 +00:00
1997-03-21 03:56:07 +00:00
1997-03-07 09:15:56 +00:00
1997-05-21 06:54:13 +00:00
1997-11-19 08:10:40 +00:00
1997-05-07 13:58:52 +00:00
1997-10-27 03:00:12 +00:00