gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / ravenscar-thread.h
index 0e1bfa7d7b66ac74e0ab2adc2047c4204c5b9b22..ad39e169e8cda2b170e5ca7a32763bd6e7911ca0 100644 (file)
@@ -1,6 +1,6 @@
 /* Ada Ravenscar thread support.
 
-   Copyright 2004, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2004-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
 struct ravenscar_arch_ops
 {
-  void (*to_fetch_registers) (struct regcache *, int);
-  void (*to_store_registers) (struct regcache *, int);
-  void (*to_prepare_to_store) (struct regcache *);
-};
-
-/* Register implementations for target ops to_store_registers,
-   to_prepare_to_store and to_fetch_registers when the inferior_ptid
-   is different from the running thread.  In that case, the registers
-   are saved in a architecture-specific location.  */
-/* FIXME: only one architecture can be registered for now.  See
-   implementation.  */
+  virtual ~ravenscar_arch_ops ()
+  {
+  }
 
-extern void ravenscar_register_arch_ops (struct ravenscar_arch_ops *ops);
+  virtual void fetch_registers (struct regcache *, int) = 0;
+  virtual void store_registers (struct regcache *, int) = 0;
+};
 
 #endif /* !defined (RAVENSCAR_THREAD_H) */
This page took 0.02499 seconds and 4 git commands to generate.