diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-21 14:08:59 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-22 20:35:21 -0700 |
commit | 37b3ab5b547de7e727c5426c6615ece0284168c7 (patch) | |
tree | 17ef7b890e4dc472911ef4be63e9fbfddbba7c5f | |
parent | 3fabc0163acbdffd9d77d7608604f737fc981399 (diff) | |
download | gdb-37b3ab5b547de7e727c5426c6615ece0284168c7.zip gdb-37b3ab5b547de7e727c5426c6615ece0284168c7.tar.gz gdb-37b3ab5b547de7e727c5426c6615ece0284168c7.tar.bz2 |
Declare remote_target in remote-fileio.h
remote-fileio.h refers to remote_target, so forward-declare it.
gdb/ChangeLog
2019-01-22 Tom Tromey <tom@tromey.com>
* remote-fileio.h (struct remote_target): Declare.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote-fileio.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63b66b0..44ec0a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2019-01-22 Tom Tromey <tom@tromey.com> + * remote-fileio.h (struct remote_target): Declare. + +2019-01-22 Tom Tromey <tom@tromey.com> + * python/py-arch.c: Do not include py-ref.h. * python/py-bpevent.c: Do not include py-ref.h. * python/py-cmd.c: Do not include py-ref.h. diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h index f84e253..4b3b2b2 100644 --- a/gdb/remote-fileio.h +++ b/gdb/remote-fileio.h @@ -25,6 +25,7 @@ #include "fileio.h" struct cmd_list_element; +struct remote_target; /* Unified interface to remote fileio, called in remote.c from remote_wait () and remote_async_wait (). */ |