diff options
Diffstat (limited to 'gdb/block.h')
-rw-r--r-- | gdb/block.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/block.h b/gdb/block.h index 680b7d0..d1f4409 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -231,6 +231,13 @@ struct block void set_using (struct using_direct *using_decl, struct obstack *obstack); + /* Return the symbol for the function which contains a specified + lexical block, described by a struct block. The return value + will not be an inlined function; the containing function will be + returned instead. */ + + struct symbol *linkage_function () const; + /* Addresses in the executable code that are in this block. */ CORE_ADDR m_start; @@ -364,8 +371,6 @@ private: struct block *m_blocks[1]; }; -extern struct symbol *block_linkage_function (const struct block *); - extern struct symbol *block_containing_function (const struct block *); /* Return true if block A is lexically nested within block B, or if a |