aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-11-24 09:57:21 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2020-11-24 10:30:37 -0500
commit1c64f6cbcfb2acef1f80b6c03d989d77f9237779 (patch)
tree236998b5a096d2cb14f3f4448064407980c26b0a /gdb/regcache.h
parent50757f95a8296b3552362d9d6ac6c0182336766f (diff)
downloadgdb-1c64f6cbcfb2acef1f80b6c03d989d77f9237779.zip
gdb-1c64f6cbcfb2acef1f80b6c03d989d77f9237779.tar.gz
gdb-1c64f6cbcfb2acef1f80b6c03d989d77f9237779.tar.bz2
gdb: remove struct cached_reg typedef
Since we are in C++, this typedef is no longer necessary, we can just refer to the struct name directly. gdb/ChangeLog: * regcache.h (struct cached_reg): Remove typedef. Change-Id: I0168b5a9cf88e9b962521760c7e2d0e6f0b52cdf
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 9390f57..bb7d3c5 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -167,11 +167,11 @@ typedef gdb::function_view<register_status (int regnum, gdb_byte *buf)>
/* A (register_number, register_value) pair. */
-typedef struct cached_reg
+struct cached_reg_t
{
int num;
gdb_byte *data;
-} cached_reg_t;
+};
/* Buffer of registers. */