X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fauxv.h;h=d73368a4ad859c10ae7095c388dc8f8056fd6fbb;hb=3b27ef472df3b4cdcdd54629281610d594c99c97;hp=c3f2322fdd1861f1739ae9ad3f1be223a1e05bdf;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/auxv.h b/gdb/auxv.h index c3f2322fdd..d73368a4ad 100644 --- a/gdb/auxv.h +++ b/gdb/auxv.h @@ -1,6 +1,6 @@ /* Auxiliary vector support for GDB, the GNU debugger. - Copyright (C) 2004-2014 Free Software Foundation, Inc. + Copyright (C) 2004-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -24,6 +24,13 @@ /* See "include/elf/common.h" for the definition of valid AT_* values. */ +/* The default implementation of to_auxv_parse, used by the target + stack. */ + +extern int default_auxv_parse (struct target_ops *ops, gdb_byte **readptr, + 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.