X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fnto-tdep.h;h=81ed50cb17d5eab37ce75095d59835574983e4e3;hb=93692b589dc7017d5a2fbdffdfad5f84f597d8f1;hp=bd85d2a529b55e90ff33148d3b0e0c82665f3238;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index bd85d2a529..81ed50cb17 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -1,6 +1,6 @@ /* nto-tdep.h - QNX Neutrino target header. - Copyright (C) 2003-2015 Free Software Foundation, Inc. + Copyright (C) 2003-2016 Free Software Foundation, Inc. Contributed by QNX Software Systems Ltd. @@ -142,6 +142,16 @@ struct private_thread_info char name[1]; }; +/* Per-inferior data, common for both procfs and remote. */ +struct nto_inferior_data +{ + /* Last stopped flags result from wait function */ + unsigned int stopped_flags; + + /* Last known stopped PC */ + CORE_ADDR stopped_pc; +}; + /* Generic functions in nto-tdep.c. */ void nto_init_solib_absolute_prefix (void); @@ -168,4 +178,10 @@ 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); + +struct nto_inferior_data *nto_inferior_data (struct inferior *inf); + #endif