]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target-descriptions.h
gdb: Add tdesc_found_register function to tdesc API
[thirdparty/binutils-gdb.git] / gdb / target-descriptions.h
index 3b90dedcd80b4be2b291236df11d9f95427af38f..3ab0ae2542d2d03c86ca9069815aed3ea9744f88 100644 (file)
@@ -170,6 +170,10 @@ int tdesc_numbered_register_choices (const struct tdesc_feature *feature,
                                     struct tdesc_arch_data *data,
                                     int regno, const char *const names[]);
 
+/* Return true if DATA contains an entry for REGNO, a GDB register
+   number.  */
+
+extern bool tdesc_found_register (struct tdesc_arch_data *data, int regno);
 
 /* Accessors for target descriptions.  */