From 3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 16 May 2018 12:41:19 -0400 Subject: [PATCH] regcache.c: Remove unused typedefs gdb/ChangeLog: * regcache.c (regcache_read_ftype, regcache_write_ftype): Remove. --- gdb/ChangeLog | 5 +++++ gdb/regcache.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57a4075a121..3e0c53daa23 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-05-16 Simon Marchi + + * regcache.c (regcache_read_ftype, regcache_write_ftype): + Remove. + 2018-05-15 Tamar Christina PR binutils/21446 diff --git a/gdb/regcache.c b/gdb/regcache.c index a3cc7743a2e..83bcbd22a37 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -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) -- 2.30.2