diff options
Diffstat (limited to 'gdb/nto-tdep.h')
-rw-r--r-- | gdb/nto-tdep.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index d029f07..6ed9da0 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -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); @@ -171,4 +181,7 @@ 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 |