X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fremote-fileio.h;h=f206b04091342c8c341718371a0a4bddd25c4ff2;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=21096a0f515e1586728760a29743e32de780fef6;hpb=7823a9415b2919241f7a7425d9dcc3c62ada0779;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h index 21096a0f51..f206b04091 100644 --- a/gdb/remote-fileio.h +++ b/gdb/remote-fileio.h @@ -1,6 +1,6 @@ /* Remote File-I/O communications - Copyright (C) 2003-2015 Free Software Foundation, Inc. + Copyright (C) 2003-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -22,21 +22,23 @@ #ifndef REMOTE_FILEIO_H #define REMOTE_FILEIO_H -#include "fileio.h" +#include "gdbsupport/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 (). */ -extern void remote_fileio_request (char *buf, int ctrlc_pending_p); +extern void remote_fileio_request (remote_target *remote, + char *buf, int ctrlc_pending_p); /* Cleanup any remote fileio state. */ extern void remote_fileio_reset (void); /* Called from _initialize_remote (). */ extern void initialize_remote_fileio ( - struct cmd_list_element *remote_set_cmdlist, - struct cmd_list_element *remote_show_cmdlist); + struct cmd_list_element **remote_set_cmdlist, + struct cmd_list_element **remote_show_cmdlist); /* Unpack a struct fio_stat. */ extern void remote_fileio_to_host_stat (struct fio_stat *fst,