aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.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/ada-lang.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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index cb85617..0eecd90 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4625,7 +4625,7 @@ remove_irrelevant_renamings (struct ada_symbol_info *syms,
if (current_block == NULL)
return nsyms;
- current_function = block_function (current_block);
+ current_function = block_linkage_function (current_block);
if (current_function == NULL)
return nsyms;
@@ -6721,7 +6721,7 @@ ada_find_renaming_symbol (const char *name, struct block *block)
static struct symbol *
find_old_style_renaming_symbol (const char *name, struct block *block)
{
- const struct symbol *function_sym = block_function (block);
+ const struct symbol *function_sym = block_linkage_function (block);
char *rename;
if (function_sym != NULL)