diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-01-13 14:03:18 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-01-13 14:03:18 -0500 |
commit | 89e94ec9af58bfab38d469fe42c3eaf2aeb35e31 (patch) | |
tree | a452f37cf961c9f8579f79817bd0924ab799ce3d /binutils | |
parent | 2552728af832542a1760c0ea8e9107635188eba2 (diff) | |
download | gdb-89e94ec9af58bfab38d469fe42c3eaf2aeb35e31.zip gdb-89e94ec9af58bfab38d469fe42c3eaf2aeb35e31.tar.gz gdb-89e94ec9af58bfab38d469fe42c3eaf2aeb35e31.tar.bz2 |
gdbserver: include gdbsupport/common-inferior.h in inferiors.c
So that the definitions of get_inferior_cwd/set_inferior_cwd see their
declarations.
CXX inferiors.o
/home/smarchi/src/binutils-gdb/gdb/gdbserver/inferiors.c: In function ‘const char* get_inferior_cwd()’:
/home/smarchi/src/binutils-gdb/gdb/gdbserver/inferiors.c:228:1: error: no previous declaration for ‘const char* get_inferior_cwd()’ [-Werror=missing-declarations]
get_inferior_cwd ()
^~~~~~~~~~~~~~~~
/home/smarchi/src/binutils-gdb/gdb/gdbserver/inferiors.c: In function ‘void set_inferior_cwd(const char*)’:
/home/smarchi/src/binutils-gdb/gdb/gdbserver/inferiors.c:236:1: error: no previous declaration for ‘void set_inferior_cwd(const char*)’ [-Werror=missing-declarations]
set_inferior_cwd (const char *cwd)
^~~~~~~~~~~~~~~~
gdb/gdbserver/ChangeLog:
* inferiors.c: Include gdbsupport/common-inferior.h.
Change-Id: Iae5ccb3e1dc37ce79f03f08465f603a0411e7af0
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions