-/* Copyright (C) 1986-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1986-2018 Free Software Foundation, Inc.
This file is part of GDB.
#define INFRUN_H 1
#include "symtab.h"
+#include "common/byte-vector.h"
struct target_waitstatus;
struct frame_info;
started or re-started). */
extern void all_uis_on_sync_execution_starting (void);
+/* Base class for displaced stepping closures (the arch-specific data). */
+
+struct displaced_step_closure
+{
+ virtual ~displaced_step_closure () = 0;
+};
+
+/* A simple displaced step closure that contains only a byte buffer. */
+
+struct buf_displaced_step_closure : displaced_step_closure
+{
+ buf_displaced_step_closure (int buf_size)
+ : buf (buf_size)
+ {}
+
+ gdb::byte_vector buf;
+};
+
#endif /* INFRUN_H */