aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-07-15 19:11:34 +0000
committerDaniel Jacobowitz <drow@false.org>2008-07-15 19:11:34 +0000
commit7f0df27888b662a1b4800036cb0f0fa266f297d5 (patch)
treef88741f440a0af5d5a3a33d364b2a135656e7a5e /gdb/blockframe.c
parent54af988d1e631ef9f44c83cc23cbc33bdcf12cf5 (diff)
downloadgdb-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/blockframe.c')
-rw-r--r--gdb/blockframe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index a1a4535..289e20c 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -77,7 +77,7 @@ get_pc_function_start (CORE_ADDR pc)
bl = block_for_pc (pc);
if (bl)
{
- struct symbol *symbol = block_function (bl);
+ struct symbol *symbol = block_linkage_function (bl);
if (symbol)
{
@@ -106,7 +106,7 @@ get_frame_function (struct frame_info *frame)
struct block *bl = get_frame_block (frame, 0);
if (bl == 0)
return 0;
- return block_function (bl);
+ return block_linkage_function (bl);
}
@@ -119,7 +119,7 @@ find_pc_sect_function (CORE_ADDR pc, struct bfd_section *section)
struct block *b = block_for_pc_sect (pc, section);
if (b == 0)
return 0;
- return block_function (b);
+ return block_linkage_function (b);
}
/* Return the function containing pc value PC.