aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
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/solib.h
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/solib.h')
-rw-r--r--gdb/solib.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index 24c365a..5ae3f4b 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -114,11 +114,9 @@ extern CORE_ADDR gdb_bfd_lookup_symbol (bfd *abfd,
/* Look up symbol from symbol table. */
-extern CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd,
- int (*match_sym)
- (const asymbol *,
- const void *),
- const void *data);
+extern CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (
+ bfd *abfd, int (*match_sym) (const asymbol *, const void *),
+ const void *data);
/* Scan for DESIRED_DYNTAG in .dynamic section of ABFD. If DESIRED_DYNTAG is
found, 1 is returned and the corresponding PTR and PTR_ADDR are set. */
@@ -129,8 +127,8 @@ extern int gdb_bfd_scan_elf_dyntag (const int desired_dyntag, bfd *abfd,
/* If FILENAME refers to an ELF shared object then attempt to return the
string referred to by its DT_SONAME tag. */
-extern gdb::unique_xmalloc_ptr<char> gdb_bfd_read_elf_soname
- (const char *filename);
+extern gdb::unique_xmalloc_ptr<char>
+gdb_bfd_read_elf_soname (const char *filename);
/* Enable or disable optional solib event breakpoints as appropriate. */
@@ -143,15 +141,14 @@ extern void handle_solib_event (void);
/* Associate SONAME with BUILD_ID in ABFD's registry so that it can be
retrieved with get_cbfd_soname_build_id. */
-extern void set_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd,
- const char *soname,
+extern void set_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname,
const bfd_build_id *build_id);
/* If SONAME had a build-id associated with it in ABFD's registry by a
previous call to set_cbfd_soname_build_id then return the build-id
as a NULL-terminated hex string. */
-extern gdb::unique_xmalloc_ptr<char> get_cbfd_soname_build_id
- (gdb_bfd_ref_ptr abfd, const char *soname);
+extern gdb::unique_xmalloc_ptr<char>
+get_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname);
#endif /* SOLIB_H */