Use linux_get_auxv to get AT_PHDR in the PPC stub
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.h
index d825184835d9965a629a1ad0294a8c5d3389a893..d5d074efc509981919e05724888cac71263855a2 100644 (file)
@@ -435,6 +435,14 @@ bool thread_db_thread_handle (ptid_t ptid, gdb_byte **handle, int *handle_len);
 
 extern int have_ptrace_getregset;
 
+/* Search for the value with type MATCH in the auxv vector with
+   entries of length WORDSIZE bytes.  If found, store the value in
+   *VALP and return 1.  If not found or if there is an error, return
+   0.  */
+
+int linux_get_auxv (int wordsize, CORE_ADDR match,
+                   CORE_ADDR *valp);
+
 /* Fetch the AT_HWCAP entry from the auxv vector, where entries are length
    WORDSIZE.  If no entry was found, return zero.  */
 
This page took 0.024764 seconds and 4 git commands to generate.