aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.c
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2009-07-07 17:25:11 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2009-07-07 17:25:11 +0000
commit8c902bb1fe198081e40e925140473001c1c9e486 (patch)
tree08a7815a21e2b3a64ec52e961b7ffaaafc6aa682 /gdb/cp-support.c
parent1103f72c0fdb73eeedc115a71cd0d03a31165b6a (diff)
downloadbinutils-8c902bb1fe198081e40e925140473001c1c9e486.zip
binutils-8c902bb1fe198081e40e925140473001c1c9e486.tar.gz
binutils-8c902bb1fe198081e40e925140473001c1c9e486.tar.bz2
2009-07-07 Sami Wagiaalla <swagiaal@redhat.com>
* cp-support.h (struct using_direct): Rename members inner and outer to import_src, and import_dest respectively. * cp-namespace.c (cp_add_using_directive): Update. (cp_add_using): Update. (cp_copy_usings): Update. (cp_lookup_symbol_namespace): Update. (cp_scan_for_anonymous_namespaces): Update. * cp-support.c (make_symbol_overload_list_using): Update. * cp-support.h (cp_add_using_directive, cp_add_using): Rename arguments from inner and outer to src and dest respectively. * cp-namespace.c (cp_add_using_directive): Ditto. (cp_add_using): Ditto.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r--gdb/cp-support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index bf42636..f12d785 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -716,10 +716,10 @@ make_symbol_overload_list_using (const char *func_name,
current != NULL;
current = current->next)
{
- if (strcmp (namespace, current->outer) == 0)
+ if (strcmp (namespace, current->import_dest) == 0)
{
make_symbol_overload_list_using (func_name,
- current->inner);
+ current->import_src);
}
}