diff options
author | Daniel Jacobowitz <dan@debian.org> | 2008-07-15 19:11:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2008-07-15 19:11:34 +0000 |
commit | 46609608f01da769ab805d327b2af3d711c0a355 (patch) | |
tree | f259eef5091060ca6174bc171a595bc21c4130f5 /gdb/block.c | |
parent | 39cfa69e72d29101a012f7d3bc23b2da77c3cbcf (diff) | |
download | gdb-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.c | 6 |
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); |