diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-03-10 16:22:29 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-03-10 16:22:29 +0000 |
commit | c0cc3a767075f2411cf855ec10d038e591ae5368 (patch) | |
tree | 7ba3a4e5468116fe17355bd326f99eeb3903316c /gdb/cp-support.h | |
parent | 452fa0647cbaf4fbf4eb5eeb16ef4ac01c88e76f (diff) | |
download | binutils-gdb-c0cc3a767075f2411cf855ec10d038e591ae5368.tar.gz |
2010-03-09 Sami Wagiaalla <swagiaal@redhat.com>
PR C++/11236:
* cp-namespace.c (cp_add_using): Deleted.
(cp_add_using_directive): Use obstack allocations.
Merged the function cp_add_using into this one.
Added 'struct obstack *' argument.
(cp_scan_for_anonymous_namespaces): Updated.
* cp-support.h: Updated.
* dwarf2read.c (read_import_statement): Updated.
(read_namespace): Updated.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 619dc1f3bad..e10f5a979fd 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -90,12 +90,8 @@ extern int cp_is_anonymous (const char *namespace); extern void cp_add_using_directive (const char *dest, const char *src, - const char *alias); - -extern struct using_direct *cp_add_using (const char *dest, - const char *src, - const char *alias, - struct using_direct *next); + const char *alias, + struct obstack *obstack); extern void cp_initialize_namespace (void); |