diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-02-11 21:39:01 +0800 |
---|---|---|
committer | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-02-11 21:46:30 +0800 |
commit | 4185814eb444c3a793dcb7ef567acf3d74019d07 (patch) | |
tree | b18707a939f4f162f645e2c178a11f7c631d7055 /elfcpp | |
parent | b99bf4e352f8590ccee3fbe3b4b031efdfcccdab (diff) | |
download | gdb-4185814eb444c3a793dcb7ef567acf3d74019d07.zip gdb-4185814eb444c3a793dcb7ef567acf3d74019d07.tar.gz gdb-4185814eb444c3a793dcb7ef567acf3d74019d07.tar.bz2 |
sim/mcore/interp.c: Include "unistd.h".
The related warnings:
gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DDEFAULT_INLINE=0 -I. -I../../../binutils-gdb/sim/mcore -I../common -I../../../binutils-gdb/sim/mcore/../common -I../../include -I../../../binutils-gdb/sim/mcore/../../include -I../../bfd -I../../../binutils-gdb/sim/mcore/../../bfd -I../../opcodes -I../../../binutils-gdb/sim/mcore/../../opcodes -g -O2 -c -o interp.o -MT interp.o -MMD -MP -MF .deps/interp.Tpo ../../../binutils-gdb/sim/mcore/interp.c
../../../binutils-gdb/sim/mcore/interp.c: In function ‘handle_trap1’:
../../../binutils-gdb/sim/mcore/interp.c:559:22: warning: implicit declaration of function ‘link’ [-Wimplicit-function-declaration]
cpu.gr[RET1] = link ((char *) a[0], (char *) a[1]);
^
../../../binutils-gdb/sim/mcore/interp.c:585:22: warning: implicit declaration of function ‘access’ [-Wimplicit-function-declaration]
cpu.gr[RET1] = access ((char *) a[0], a[1]);
^
2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
* interp.c: Include "unistd.h".
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions