X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fravenscar-thread.h;h=ad39e169e8cda2b170e5ca7a32763bd6e7911ca0;hb=b4991d292edd84c16bd2050bd071198ceae764fe;hp=a52f7f67b7cf8dd678f9d325ca19c1da244c7e80;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ravenscar-thread.h b/gdb/ravenscar-thread.h index a52f7f67b7..ad39e169e8 100644 --- a/gdb/ravenscar-thread.h +++ b/gdb/ravenscar-thread.h @@ -1,6 +1,6 @@ /* Ada Ravenscar thread support. - Copyright (C) 2004-2018 Free Software Foundation, Inc. + Copyright (C) 2004-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -24,9 +24,12 @@ 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) */