This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[keiths-expr-cumulative] [commit] Fix compilation error due tolinkage_name
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: archer at sourceware dot org
- Date: Fri, 7 Aug 2009 00:32:47 +0200
- Subject: [keiths-expr-cumulative] [commit] Fix compilation error due tolinkage_name
solib-darwin.c: In function ‘_initialize_darwin_solib’:
solib-darwin.c:451: error: assignment from incompatible pointer type
commit 46ea8264dc1de2556c00be635663a8533063131a
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date: Fri Aug 7 00:29:57 2009 +0200
Fix compilation error due to linkage_name.
Branch archer-keiths-linkage_name-redux commit
3a3ee2d5c2509a005e24af5a1975b29c4d9608a4 did remove the linkage_name parameter.
Fix it up for one forgotten file.
* solib-darwin.c (darwin_lookup_lib_symbol): Remove the unused
parameter linkage_name.
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 97cc29c..f655956 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -401,7 +401,6 @@ darwin_relocate_section_addresses (struct so_list *so,
static struct symbol *
darwin_lookup_lib_symbol (const struct objfile *objfile,
const char *name,
- const char *linkage_name,
const domain_enum domain)
{
return NULL;