summaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 85a44ff7e71..5d6138c4398 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -116,6 +116,9 @@ struct monitor_ops
struct target_ops *target; /* target operations */
int stopbits; /* number of stop bits */
char **regnames; /* array of register names in ascii */
+ /* deprecated: use regname instead */
+ const char *(*regname) (int index);
+ /* function for dynamic regname array */
int num_breakpoints; /* If set_break != NULL, number of supported
breakpoints */
int magic; /* Check value */