diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-20 12:58:47 -0400 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-20 13:02:33 -0400 |
commit | 8a6c0ccdd27188047da2be9c2a49544c27dcade3 (patch) | |
tree | 2bc08f13d9f6515b08bfe19a56c9ba79b971ffdd /gdb/nto-tdep.h | |
parent | 609c3040c2df944239d4d96644d736df605a6831 (diff) | |
download | gdb-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.h | 3 |
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 |