aboutsummaryrefslogtreecommitdiff
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
parent * frame.c (frame_unwind_id): Renamed to ... (diff)
downloadbinutils-gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.gz
binutils-gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.tar.bz2
binutils-gdb-7f0df27888b662a1b4800036cb0f0fa266f297d5.zip
* 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 a1a453541a8..289e20c216d 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.