aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 16:08:24 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-09-29 16:42:34 -0400
commit7dce788191bade507534c745ae1ae997b9e6ed78 (patch)
tree32cf69add25b57145c0336a8c530c01f581bb773 /gdb/auxv.h
parente2df8050fe75d54b03c8f4fbe4392bb568d212a4 (diff)
downloadgdb-7dce788191bade507534c745ae1ae997b9e6ed78.zip
gdb-7dce788191bade507534c745ae1ae997b9e6ed78.tar.gz
gdb-7dce788191bade507534c745ae1ae997b9e6ed78.tar.bz2
gdb: make target_auxv_parse static and rename
It is only used in auxv.c. Also, given it is not strictly a wrapper around target_ops::auxv (since 27a48a9223d0 "Add auxv parsing to the architecture vector."), I think that the name prefixed with target is a bit misleading. Rename to just parse_auxv. Change-Id: I41cca055b92c8ede37c258ba6583746a07d8f77e
Diffstat (limited to 'gdb/auxv.h')
-rw-r--r--gdb/auxv.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/auxv.h b/gdb/auxv.h
index 2e8b2ab..ab2a5de 100644
--- a/gdb/auxv.h
+++ b/gdb/auxv.h
@@ -46,13 +46,6 @@ extern int svr4_auxv_parse (struct gdbarch *gdbarch, const gdb_byte **readptr,
const gdb_byte *endptr, CORE_ADDR *typep,
CORE_ADDR *valp);
-/* Read one auxv entry from *READPTR, not reading locations >= ENDPTR.
- 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 target_auxv_parse (const gdb_byte **readptr, const gdb_byte *endptr,
- CORE_ADDR *typep, CORE_ADDR *valp);
-
/* Extract the auxiliary vector entry with a_type matching MATCH.
Return zero if no such entry was found, or -1 if there was
an error getting the information. On success, return 1 after