/* Ada Ravenscar thread support.
- Copyright 2004-2013 Free Software Foundation, Inc.
+ Copyright (C) 2004-2021 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 *);
+ virtual ~ravenscar_arch_ops ()
+ {
+ }
+
+ virtual void fetch_registers (struct regcache *, int) = 0;
+ virtual void store_registers (struct regcache *, int) = 0;
};
#endif /* !defined (RAVENSCAR_THREAD_H) */