/* Auxiliary vector support for GDB, the GNU debugger.
- Copyright (C) 2004-2015 Free Software Foundation, Inc.
+ Copyright (C) 2004-2017 Free Software Foundation, Inc.
This file is part of GDB.
extern int target_auxv_search (struct target_ops *ops,
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 };
+
+extern void fprint_auxv_entry (struct ui_file *file, const char *name,
+ const char *description,
+ enum auxv_format format, CORE_ADDR type,
+ CORE_ADDR val);
+
+/* The default implementation of gdbarch_print_auxv_entry. */
+
+extern void default_print_auxv_entry (struct gdbarch *gdbarch,
+ struct ui_file *file, CORE_ADDR type,
+ CORE_ADDR val);
+
/* Print the contents of the target's AUXV on the specified file. */
extern int fprint_target_auxv (struct ui_file *file, struct target_ops *ops);