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/auxv.h | |
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/auxv.h')
-rw-r--r-- | gdb/auxv.h | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -31,7 +31,8 @@ Return 0 if *READPTR is already at the end of the buffer. Return -1 if there is insufficient buffer for a whole entry. Return 1 if an entry was read into *TYPEP and *VALP. */ -extern int default_auxv_parse (struct target_ops *ops, const gdb_byte **readptr, +extern int default_auxv_parse (struct target_ops *ops, + const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp); @@ -62,9 +63,9 @@ extern gdb::optional<gdb::byte_vector> target_read_auxv_raw (target_ops *ops); an error getting the information. On success, return 1 after storing the entry's value field in *VALP. */ -extern int target_auxv_search (const gdb::byte_vector &auxv, - target_ops *ops, gdbarch *gdbarch, - CORE_ADDR match, CORE_ADDR *valp); +extern int target_auxv_search (const gdb::byte_vector &auxv, target_ops *ops, + gdbarch *gdbarch, CORE_ADDR match, + CORE_ADDR *valp); /* Same as the above, but read the auxv data from the current inferior. Use the current inferior's top target and arch to parse auxv entries. */ @@ -72,7 +73,12 @@ extern int target_auxv_search (const gdb::byte_vector &auxv, extern int target_auxv_search (CORE_ADDR match, CORE_ADDR *valp); /* Print a description of a single AUXV entry on the specified file. */ -enum auxv_format { AUXV_FORMAT_DEC, AUXV_FORMAT_HEX, AUXV_FORMAT_STR }; +enum auxv_format +{ + AUXV_FORMAT_DEC, + AUXV_FORMAT_HEX, + AUXV_FORMAT_STR +}; extern void fprint_auxv_entry (struct ui_file *file, const char *name, const char *description, @@ -87,5 +93,4 @@ extern void default_print_auxv_entry (struct gdbarch *gdbarch, extern target_xfer_partial_ftype memory_xfer_auxv; - #endif |