Now it builds on alpha again...

This commit is contained in:
Wichert Akkerman 1999-11-18 17:26:45 +00:00
parent 0ae852b90b
commit 221f54f721
5 changed files with 18 additions and 15 deletions

1
defs.h
View File

@ -334,6 +334,7 @@ extern void printtrailer P((struct tcb *));
extern void tabto P((int));
extern void call_summary P((FILE *));
extern void fake_execve P((struct tcb *, char *, char *[], char *[]));
extern void printtv32 P((struct tcb*, long));
extern int internal_fork P((struct tcb *));
extern int internal_exec P((struct tcb *));

2
desc.c
View File

@ -310,7 +310,7 @@ int bitness;
#ifdef ALPHA
if (bitness) {
tv32=(struct timeval32*)&tv;
tprintf(", {%u, %u}", tv32.tv_sec, tv32.tv_usec);
tprintf(", {%u, %u}", tv32->tv_sec, tv32->tv_usec);
} else
#endif
tprintf(", {%lu, %lu}",

View File

@ -236,7 +236,7 @@
{ 4, TI, sys_semget, "semget" }, /* 205 */
{ 4, TI, printargs, "semop" }, /* 206 */
{ 1, 0, printargs, "osf_utsname" }, /* 207 */
{ 3, TF, sys_lchown, "lchown" }, /* 208 */
{ 3, TF, sys_chown, "lchown" }, /* 208 */
{ 3, TI, printargs, "osf_shmat" }, /* 209 */
{ 4, TI, sys_shmctl, "shmctl" }, /* 210 */
{ 4, TI, sys_shmdt, "shmdt" }, /* 211 */

View File

@ -97,14 +97,14 @@ int sys_poll();
/* architecture-specific calls */
#ifdef ALPHA
sys_osf_select();
sys_osf_gettimeofday();
sys_osf_settimeofday();
sys_osf_getitimer();
sys_osf_setitimer();
sys_osf_getrusage();
sys_osf_wait4();
sys_osf_utimes();
int sys_osf_select();
int sys_osf_gettimeofday();
int sys_osf_settimeofday();
int sys_osf_getitimer();
int sys_osf_setitimer();
int sys_osf_getrusage();
int sys_osf_wait4();
int sys_osf_utimes();
#endif

12
time.c
View File

@ -54,16 +54,18 @@ long addr;
}
#ifdef ALPHA
struct timeval32
{
unsigned tv_sec;
unsigned tv_usec;
};
void
printtv32(tcp, addr)
struct tcb *tcp;
long addr;
{
struct timeval32
{
unsigned tv_sec;
unsigned tv_usec;
};
struct timeval32 tv;
if (addr == 0)
tprintf("NULL");