aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-descriptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-descriptions.h')
-rw-r--r--gdb/target-descriptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target-descriptions.h b/gdb/target-descriptions.h
index 95fb942..8e85c37 100644
--- a/gdb/target-descriptions.h
+++ b/gdb/target-descriptions.h
@@ -152,7 +152,7 @@ struct type *tdesc_named_type (const struct tdesc_feature *feature,
/* Return the name of register REGNO, from the target description or
from an architecture-provided pseudo_register_name method. */
-const char *tdesc_register_name (int regno);
+const char *tdesc_register_name (struct gdbarch *gdbarch, int regno);
/* Check whether REGNUM is a member of REGGROUP using the target
description. Return -1 if the target description does not