Add `set print repeats' tests for C/C++ arrays
[binutils-gdb.git] / gdb / remote.h
index 0178294ab1d6fc95a49bc4255eb4efc9cf0b2a12..638ffc2e337c1c5e52180c5706ed21745af0d4a5 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
@@ -24,6 +24,8 @@
 struct target_desc;
 struct remote_target;
 
+class process_stratum_target;
+
 /* True when printing "remote" debug statements is enabled.  */
 
 extern bool remote_debug;
@@ -113,4 +115,10 @@ struct send_remote_packet_callbacks
 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