aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 7be4aca..412bf93 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -492,6 +492,11 @@ struct target_ops
equal to what was written. */
void (*to_flash_done) (struct target_ops *);
+ /* Describe the architecture-specific features of this target.
+ Returns the description found, or NULL if no description
+ was available. */
+ const struct target_desc *(*to_read_description) (struct target_ops *ops);
+
int to_magic;
/* Need sub-structure for target machine related rather than comm related?
*/
@@ -1179,6 +1184,8 @@ extern int target_stopped_data_address_p (struct target_ops *);
#define target_stopped_data_address_p(CURRENT_TARGET) (1)
#endif
+extern const struct target_desc *target_read_description (struct target_ops *);
+
/* This will only be defined by a target that supports catching vfork events,
such as HP-UX.