aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.h
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2015-10-20 12:58:47 -0400
committerAleksandar Ristovski <aristovski@qnx.com>2015-10-20 13:02:33 -0400
commit8a6c0ccdd27188047da2be9c2a49544c27dcade3 (patch)
tree2bc08f13d9f6515b08bfe19a56c9ba79b971ffdd /gdb/nto-tdep.h
parent609c3040c2df944239d4d96644d736df605a6831 (diff)
downloadgdb-8a6c0ccdd27188047da2be9c2a49544c27dcade3.zip
gdb-8a6c0ccdd27188047da2be9c2a49544c27dcade3.tar.gz
gdb-8a6c0ccdd27188047da2be9c2a49544c27dcade3.tar.bz2
[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.
Diffstat (limited to 'gdb/nto-tdep.h')
-rw-r--r--gdb/nto-tdep.h3
1 files changed, 3 insertions, 0 deletions
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