aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/riscv.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/arch/riscv.c
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/arch/riscv.c')
-rw-r--r--gdb/arch/riscv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arch/riscv.c b/gdb/arch/riscv.c
index 6f6fcb0..dae4eea 100644
--- a/gdb/arch/riscv.c
+++ b/gdb/arch/riscv.c
@@ -88,7 +88,7 @@ riscv_create_target_description (const struct riscv_gdbarch_features features)
targets. We don't support creating vector features on native targets
(yet). */
if (features.vlen != 0)
- error (_("unable to create vector feature"));
+ error (_ ("unable to create vector feature"));
return tdesc;
}
@@ -107,9 +107,9 @@ struct riscv_gdbarch_features_hasher
/* Cache of previously seen target descriptions, indexed by the feature set
that created them. */
-static std::unordered_map<riscv_gdbarch_features,
- const target_desc_up,
- riscv_gdbarch_features_hasher> riscv_tdesc_cache;
+static std::unordered_map<riscv_gdbarch_features, const target_desc_up,
+ riscv_gdbarch_features_hasher>
+ riscv_tdesc_cache;
/* See arch/riscv.h. */