aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-lang.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2014-01-18 17:22:00 +0000
committerIain Buclaw <ibuclaw@gdcproject.org>2014-01-18 18:11:06 +0000
commitec9f644ac9d154de4dde490bb1174be09c8fc540 (patch)
treee5a475777b60c8b876871fd411440673af5c9622 /gdb/d-lang.h
parent94b1b47ee13476f376feddf808c63560c036cf1b (diff)
downloadbinutils-ec9f644ac9d154de4dde490bb1174be09c8fc540.zip
binutils-ec9f644ac9d154de4dde490bb1174be09c8fc540.tar.gz
binutils-ec9f644ac9d154de4dde490bb1174be09c8fc540.tar.bz2
Fix and update D demangling support in gdb to the current mangling ABI.
gdb/ChangeLog: 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> * d-lang.h (d_parse_symbol): Add declaration. * d-lang.c (extract_identifiers) (extract_type_info): Remove functions. (parse_call_convention, parse_attributes) (parse_function_types, parse_function_args) (parse_type, parse_identifier, call_convention_p) (d_parse_symbol): New functions. (d_demangle): Use d_parse_symbol to demangle D symbols. gdb/testsuite/ChangeLog: 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> * gdb.dlang/demangle.exp: New file.
Diffstat (limited to 'gdb/d-lang.h')
-rw-r--r--gdb/d-lang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/d-lang.h b/gdb/d-lang.h
index 455c808..a1b4456 100644
--- a/gdb/d-lang.h
+++ b/gdb/d-lang.h
@@ -62,6 +62,8 @@ extern char *d_demangle (const char *mangled, int options);
extern const struct builtin_d_type *builtin_d_type (struct gdbarch *);
+extern const char *d_parse_symbol (struct obstack *, const char *);
+
/* Defined in d-valprint.c */
extern void d_val_print (struct type *type, const gdb_byte *valaddr,