/* Remote target communications for serial-line targets in custom GDB protocol
- Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ Copyright (C) 1999-2022 Free Software Foundation, Inc.
This file is part of GDB.
struct target_desc;
struct remote_target;
+class process_stratum_target;
+
/* True when printing "remote" debug statements is enabled. */
extern bool remote_debug;
extern void send_remote_packet (gdb::array_view<const char> &buf,
send_remote_packet_callbacks *callbacks);
+
+/* Return true if TARGET is a remote, or extended-remote target, otherwise,
+ return false. */
+
+extern bool is_remote_target (process_stratum_target *target);
+
#endif