aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 3226fdd..f417692 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -195,4 +195,10 @@ struct op_print
int right_assoc;
};
+/* The generic method for targets to specify how their registers are
+ named. The mapping can be derived from three sources:
+ REGISTER_NAME; std_regs; or a target specific alias hook. */
+
+extern int target_map_name_to_register PARAMS ((char *, int));
+
#endif /* PARSER_DEFS_H */