From 8a6c0ccdd27188047da2be9c2a49544c27dcade3 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Tue, 20 Oct 2015 12:58:47 -0400 Subject: [nto] Implement TARGET_OBJECT_AUXV. Fix 'info auxv' for nto. gdb/ChangeLog: * nto-procfs.c (sys/auxv.h): Include. (procfs_xfer_partial): Implement TARGET_OBJECT_AUXV. * nto-tdep.c (nto_read_auxv_from_initial_stack): New function. * nto-tdep.h (nto_read_auxv_from_initial_stack): New declaration. --- gdb/nto-tdep.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/nto-tdep.h') diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index bd85d2a..d029f07 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -168,4 +168,7 @@ int nto_in_dynsym_resolve_code (CORE_ADDR pc); char *nto_extra_thread_info (struct target_ops *self, struct thread_info *); +LONGEST nto_read_auxv_from_initial_stack (CORE_ADDR inital_stack, + gdb_byte *readbuf, + LONGEST len, size_t sizeof_auxv_t); #endif -- cgit v1.1