From c583a2520616c2736cffc389c89a48b159366e6c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 8 Feb 2023 15:36:23 -0500 Subject: Run clang-format.sh Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968 --- gdb/arm-pikeos-tdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/arm-pikeos-tdep.c') 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 symbol_table - ((asymbol **) xmalloc (storage_needed)); + gdb::unique_xmalloc_ptr 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 () { -- cgit v1.1