projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix TCL error in gdb.python/py-format-string.exp.
[deliverable/binutils-gdb.git]
/
sim
/
common
/
syscall.c
diff --git
a/sim/common/syscall.c
b/sim/common/syscall.c
index 397cd80c504422c4cd5d25c860dfa796054a9fb1..18128c74930c7a3ad9256fedb33ce0ea982ea60e 100644
(file)
--- a/
sim/common/syscall.c
+++ b/
sim/common/syscall.c
@@
-1,5
+1,5
@@
/* Remote target system call support.
/* Remote target system call support.
- Copyright 1997-20
14
Free Software Foundation, Inc.
+ Copyright 1997-20
20
Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GDB.
Contributed by Cygnus Solutions.
This file is part of GDB.
@@
-24,7
+24,7
@@
supported. */
#ifdef HAVE_CONFIG_H
supported. */
#ifdef HAVE_CONFIG_H
-#include "c
c
onfig.h"
+#include "config.h"
#endif
#include "ansidecl.h"
#include "libiberty.h"
#endif
#include "ansidecl.h"
#include "libiberty.h"
@@
-240,7
+240,7
@@
cb_syscall (host_callback *cb, CB_SYSCALL *sc)
#endif /* wip */
case CB_SYS_exit :
#endif /* wip */
case CB_SYS_exit :
- /* Caller must catch and handle. */
+ /* Caller must catch and handle
; see sim_syscall as an example
. */
break;
case CB_SYS_open :
break;
case CB_SYS_open :
@@
-455,7
+455,7
@@
cb_syscall (host_callback *cb, CB_SYSCALL *sc)
result = -1;
goto FinishSyscall;
}
result = -1;
goto FinishSyscall;
}
- result = (*cb->stat) (cb, path, &statbuf);
+ result = (*cb->
to_
stat) (cb, path, &statbuf);
free (path);
if (result < 0)
goto ErrorFinish;
free (path);
if (result < 0)
goto ErrorFinish;
@@
-488,7
+488,7
@@
cb_syscall (host_callback *cb, CB_SYSCALL *sc)
struct stat statbuf;
TADDR addr = sc->arg2;
struct stat statbuf;
TADDR addr = sc->arg2;
- result = (*cb->fstat) (cb, sc->arg1, &statbuf);
+ result = (*cb->
to_
fstat) (cb, sc->arg1, &statbuf);
if (result < 0)
goto ErrorFinish;
buflen = cb_host_to_target_stat (cb, NULL, NULL);
if (result < 0)
goto ErrorFinish;
buflen = cb_host_to_target_stat (cb, NULL, NULL);
@@
-526,7
+526,7
@@
cb_syscall (host_callback *cb, CB_SYSCALL *sc)
result = -1;
goto FinishSyscall;
}
result = -1;
goto FinishSyscall;
}
- result = (*cb->lstat) (cb, path, &statbuf);
+ result = (*cb->
to_
lstat) (cb, path, &statbuf);
free (path);
if (result < 0)
goto ErrorFinish;
free (path);
if (result < 0)
goto ErrorFinish;
This page took
0.023585 seconds
and
4
git commands to generate.