diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-07-15 19:11:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-07-15 19:11:34 +0000 |
commit | 7f0df27888b662a1b4800036cb0f0fa266f297d5 (patch) | |
tree | f88741f440a0af5d5a3a33d364b2a135656e7a5e /gdb/block.c | |
parent | 54af988d1e631ef9f44c83cc23cbc33bdcf12cf5 (diff) | |
download | gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.zip gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.gz gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.bz2 |
* 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 d2f1fd7..fd96a52 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); |