Look up primitive types as symbols.
[deliverable/binutils-gdb.git] / gdb / block.h
index 409a5c750c261cd301d0748a2af147eb1cdbb562..e6c5feb499884c8ba4636c67f9ea48710999d4ed 100644 (file)
@@ -136,6 +136,14 @@ struct blockvector
 #define BLOCKVECTOR_BLOCK(blocklist,n) (blocklist)->block[n]
 #define BLOCKVECTOR_MAP(blocklist) ((blocklist)->map)
 
+/* Return the objfile of BLOCK, which must be non-NULL.  */
+
+extern struct objfile *block_objfile (const struct block *block);
+
+/* Return the architecture of BLOCK, which must be non-NULL.  */
+
+extern struct gdbarch *block_gdbarch (const struct block *block);
+
 extern struct symbol *block_linkage_function (const struct block *);
 
 extern struct symbol *block_containing_function (const struct block *);
This page took 0.025944 seconds and 4 git commands to generate.