diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2009-06-29 15:18:07 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2009-06-29 15:18:07 +0000 |
commit | 794684b64f780fbecb3443d6783284919c83c07f (patch) | |
tree | c5ff18ecd050872ef7ed2b7cf7fed96765dfb207 /gdb/cp-support.h | |
parent | 2497b4984582be980b40913ef1bf561ccad2f265 (diff) | |
download | gdb-794684b64f780fbecb3443d6783284919c83c07f.zip gdb-794684b64f780fbecb3443d6783284919c83c07f.tar.gz gdb-794684b64f780fbecb3443d6783284919c83c07f.tar.bz2 |
2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
* dwarf2read.c (read_import_statement): Properly set import location
and destination.
* cp-support.h (cp_add_using, cp_add_using_directive): Now take char*
inner, char* outer arguments. Updated callers.
2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-nested-import.cc: New test.
* gdb.cp/namespace-nested-import.exp: New test.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index e577f7d..ea36608 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -76,13 +76,11 @@ extern struct type *cp_lookup_rtti_type (const char *name, extern int cp_is_anonymous (const char *namespace); -extern void cp_add_using_directive (const char *name, - unsigned int outer_length, - unsigned int inner_length); +extern void cp_add_using_directive (const char *outer, + const char *inner); -extern struct using_direct *cp_add_using (const char *name, - unsigned int inner_len, - unsigned int outer_len, +extern struct using_direct *cp_add_using (const char *outer, + const char *inner, struct using_direct *next); extern void cp_initialize_namespace (void); |