diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-16 10:06:35 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-06-25 18:07:29 +0100 |
commit | 4445e8f59ac69e64e64c5f95882aa8172e4788f7 (patch) | |
tree | c4782b45eb9ab87c5d0ded297b7f9791408a4c4d /gdb | |
parent | 767a879e31ce31179e6135c2f991f670a35709fa (diff) | |
download | gdb-4445e8f59ac69e64e64c5f95882aa8172e4788f7.zip gdb-4445e8f59ac69e64e64c5f95882aa8172e4788f7.tar.gz gdb-4445e8f59ac69e64e64c5f95882aa8172e4788f7.tar.bz2 |
gdb/riscv: Fix whitespace error
Should be 'std::vector<type>' not 'std::vector <type>'.
gdb/ChangeLog:
* riscv-tdep.c (struct riscv_register_feature): Fix whitespace
errors.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/riscv-tdep.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f6809a6..0a8a6b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com> + * riscv-tdep.c (struct riscv_register_feature): Fix whitespace + errors. + +2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com> + * riscv-tdep.c (riscv_create_csr_aliases): Handle csr aliases from riscv-opc.h. (class riscv_pending_register_alias): New class. diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 55929ae..bee30e0 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -115,7 +115,7 @@ struct riscv_register_feature /* List of names for this register. The first name in this list is the preferred name, the name GDB should use when describing this register. */ - std::vector <const char *> names; + std::vector<const char *> names; /* When true this register is required in this feature set. */ bool required_p; @@ -127,7 +127,7 @@ struct riscv_register_feature /* List of all the registers that we expect that we might find in this register set. */ - std::vector <struct register_info> registers; + std::vector<struct register_info> registers; }; /* The general x-registers feature set. */ |