regcache.c: Remove unused typedefs
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 16 May 2018 16:41:19 +0000 (12:41 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 16 May 2018 16:41:19 +0000 (12:41 -0400)
gdb/ChangeLog:

* regcache.c (regcache_read_ftype, regcache_write_ftype):
Remove.

gdb/ChangeLog
gdb/regcache.c

index 57a4075a121da94d6a4f6d9ff8ce04afa448e0d6..3e0c53daa236105b4b013d2a5be0668c6a96e809 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * regcache.c (regcache_read_ftype, regcache_write_ftype):
+       Remove.
+
 2018-05-15  Tamar Christina  <tamar.christina@arm.com>
 
        PR binutils/21446
index a3cc7743a2e6123e9b41c0fb055e284089cd18ed..83bcbd22a374060d9bf995316abed2a4c76288fa 100644 (file)
@@ -845,11 +845,6 @@ regcache::cooked_write (int regnum, const gdb_byte *buf)
 /* Perform a partial register transfer using a read, modify, write
    operation.  */
 
-typedef void (regcache_read_ftype) (struct regcache *regcache, int regnum,
-                                   void *buf);
-typedef void (regcache_write_ftype) (struct regcache *regcache, int regnum,
-                                    const void *buf);
-
 enum register_status
 readable_regcache::read_part (int regnum, int offset, int len, void *in,
                              bool is_raw)