summaryrefslogtreecommitdiff
path: root/gdb/block.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-07-15 19:11:34 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-07-15 19:11:34 +0000
commit46609608f01da769ab805d327b2af3d711c0a355 (patch)
treef259eef5091060ca6174bc171a595bc21c4130f5 /gdb/block.c
parent39cfa69e72d29101a012f7d3bc23b2da77c3cbcf (diff)
downloadgdb-46609608f01da769ab805d327b2af3d711c0a355.tar.gz
* block.c (block_function): Renamed to ...
(block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this.
Diffstat (limited to 'gdb/block.c')
-rw-r--r--gdb/block.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/block.c b/gdb/block.c
index d2f1fd7013b..fd96a523602 100644
--- a/gdb/block.c
+++ b/gdb/block.c
@@ -53,10 +53,12 @@ contained_in (const struct block *a, const struct block *b)
/* Return the symbol for the function which contains a specified
- lexical block, described by a struct block BL. */
+ lexical block, described by a struct block BL. The return value
+ will not be an inlined function; the containing function will be
+ returned instead. */
struct symbol *
-block_function (const struct block *bl)
+block_linkage_function (const struct block *bl)
{
while (BLOCK_FUNCTION (bl) == 0 && BLOCK_SUPERBLOCK (bl) != 0)
bl = BLOCK_SUPERBLOCK (bl);