diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/features/microblaze-with-stack-protect.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-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/features/microblaze-with-stack-protect.c')
-rw-r--r-- | gdb/features/microblaze-with-stack-protect.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/features/microblaze-with-stack-protect.c b/gdb/features/microblaze-with-stack-protect.c index 574dc02..91da87c 100644 --- a/gdb/features/microblaze-with-stack-protect.c +++ b/gdb/features/microblaze-with-stack-protect.c @@ -6,13 +6,15 @@ #include "target-descriptions.h" const struct target_desc *tdesc_microblaze_with_stack_protect; + static void initialize_tdesc_microblaze_with_stack_protect (void) { target_desc_up result = allocate_target_description (); struct tdesc_feature *feature; - feature = tdesc_create_feature (result.get (), "org.gnu.gdb.microblaze.core"); + feature + = tdesc_create_feature (result.get (), "org.gnu.gdb.microblaze.core"); tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "data_ptr"); tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); @@ -71,7 +73,8 @@ initialize_tdesc_microblaze_with_stack_protect (void) tdesc_create_reg (feature, "rtlblo", 55, 1, NULL, 32, "int"); tdesc_create_reg (feature, "rtlbhi", 56, 1, NULL, 32, "int"); - feature = tdesc_create_feature (result.get (), "org.gnu.gdb.microblaze.stack-protect"); + feature = tdesc_create_feature (result.get (), + "org.gnu.gdb.microblaze.stack-protect"); tdesc_create_reg (feature, "rslr", 57, 1, NULL, 32, "int"); tdesc_create_reg (feature, "rshr", 58, 1, NULL, 32, "int"); |