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/arm-pikeos-tdep.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-users/simark/clang-format.zip gdb-users/simark/clang-format.tar.gz gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/arm-pikeos-tdep.c')
-rw-r--r-- | gdb/arm-pikeos-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arm-pikeos-tdep.c b/gdb/arm-pikeos-tdep.c index 2d7e6df..9540d6c 100644 --- a/gdb/arm-pikeos-tdep.c +++ b/gdb/arm-pikeos-tdep.c @@ -55,8 +55,8 @@ arm_pikeos_osabi_sniffer (bfd *abfd) if (storage_needed <= 0) return GDB_OSABI_UNKNOWN; - gdb::unique_xmalloc_ptr<asymbol *> symbol_table - ((asymbol **) xmalloc (storage_needed)); + gdb::unique_xmalloc_ptr<asymbol *> symbol_table ((asymbol **) + xmalloc (storage_needed)); number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table.get ()); if (number_of_symbols <= 0) @@ -66,8 +66,7 @@ arm_pikeos_osabi_sniffer (bfd *abfd) { const char *name = bfd_asymbol_name (symbol_table.get ()[i]); - if (strcmp (name, "_vm_stack") == 0 - || strcmp (name, "__p4_stack") == 0) + if (strcmp (name, "_vm_stack") == 0 || strcmp (name, "__p4_stack") == 0) pikeos_stack_found = 1; if (strcmp (name, "_vm_stack_size") == 0 @@ -82,6 +81,7 @@ arm_pikeos_osabi_sniffer (bfd *abfd) } void _initialize_arm_pikeos_tdep (); + void _initialize_arm_pikeos_tdep () { |