aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-16 12:41:19 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-16 12:41:19 -0400
commit3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3 (patch)
treed162c1383defbaf5b6af238d4f899ae034259291
parent7cf7fcc83ca9fb4c4b591b3142bcf12e6e8a2aa5 (diff)
downloadgdb-3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3.zip
gdb-3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3.tar.gz
gdb-3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3.tar.bz2
regcache.c: Remove unused typedefs
gdb/ChangeLog: * regcache.c (regcache_read_ftype, regcache_write_ftype): Remove.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/regcache.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 57a4075..3e0c53d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/regcache.c b/gdb/regcache.c
index a3cc774..83bcbd2 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)