/* Memory breakpoint interfaces for the remote server for GDB.
- Copyright (C) 2002-2018 Free Software Foundation, Inc.
+ Copyright (C) 2002-2019 Free Software Foundation, Inc.
Contributed by MontaVista Software.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef MEM_BREAK_H
-#define MEM_BREAK_H
+#ifndef GDBSERVER_MEM_BREAK_H
+#define GDBSERVER_MEM_BREAK_H
-#include "break-common.h"
+#include "gdbsupport/break-common.h"
/* Breakpoints are opaque. */
struct breakpoint;
int add_breakpoint_commands (struct gdb_breakpoint *bp, const char **commands,
int persist);
-int any_persistent_commands (void);
+/* Return true if PROC has any persistent command. */
+bool any_persistent_commands (process_info *proc);
/* Evaluation condition (if any) at breakpoint BP. Return 1 if
true and 0 otherwise. */
void clone_all_breakpoints (struct thread_info *child_thread,
const struct thread_info *parent_thread);
-#endif /* MEM_BREAK_H */
+#endif /* GDBSERVER_MEM_BREAK_H */