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
This commit is contained in:
Simon Marchi
2020-11-24 09:57:21 -05:00
parent 50757f95a8
commit 1c64f6cbcf
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2020-11-24 Simon Marchi <simon.marchi@polymtl.ca>
* regcache.h (struct cached_reg): Remove typedef.
2020-11-24 Joel Brobecker <brobecker@adacore.com>
* README: Fix the URL of the MPFR library.

View File

@@ -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. */