write_pieced_value: Notify memory_changed observers
[deliverable/binutils-gdb.git] / gdb / regcache.h
index fdc47ba35fbc970e7489c1c7a308d02643ccc63a..4cf27a0b673f9e398f8fe33138d022c6e76a5e6f 100644 (file)
@@ -250,6 +250,11 @@ public:
   regcache (const regcache &) = delete;
   void operator= (const regcache &) = delete;
 
+  /* class regcache is only extended in unit test, so only mark it
+     virtual when selftest is enabled.  */
+#if GDB_SELF_TEST
+  virtual
+#endif
   ~regcache ()
   {
     xfree (m_registers);
@@ -269,6 +274,12 @@ public:
   void cooked_write (int regnum, const gdb_byte *buf);
 
   enum register_status raw_read (int regnum, gdb_byte *buf);
+
+  /* class regcache is only extended in unit test, so only mark it
+     virtual when selftest is enabled.  */
+#if GDB_SELF_TEST
+  virtual
+#endif
   void raw_write (int regnum, const gdb_byte *buf);
 
   enum register_status raw_read_signed (int regnum, LONGEST *val);
@@ -293,8 +304,14 @@ public:
 
   void raw_collect (int regnum, void *buf) const;
 
+  void raw_collect_integer (int regnum, gdb_byte *addr, int addr_len,
+                           bool is_signed) const;
+
   void raw_supply (int regnum, const void *buf);
 
+  void raw_supply_integer (int regnum, const gdb_byte *addr, int addr_len,
+                          bool is_signed);
+
   void raw_supply_zeroed (int regnum);
 
   enum register_status get_register_status (int regnum) const;
This page took 0.025149 seconds and 4 git commands to generate.