From 7f0df27888b662a1b4800036cb0f0fa266f297d5 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 15 Jul 2008 19:11:34 +0000 Subject: * block.c (block_function): Renamed to ... (block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this. --- gdb/block.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/block.c') 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); -- cgit v1.1