aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/block.h')
-rw-r--r--gdb/block.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/block.h b/gdb/block.h
index 2243c9a..b9f1ba8 100644
--- a/gdb/block.h
+++ b/gdb/block.h
@@ -208,6 +208,10 @@ struct block
struct objfile *objfile () const;
+ /* Return the architecture of this block. */
+
+ struct gdbarch *gdbarch () const;
+
/* Addresses in the executable code that are in this block. */
CORE_ADDR m_start;
@@ -335,10 +339,6 @@ private:
struct block *m_blocks[1];
};
-/* 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 *);