diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2014-01-18 17:27:28 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2014-01-18 18:11:24 +0000 |
commit | 50367cd2ada722ddf5bede594d8ed7631fcde5ab (patch) | |
tree | 9e8df16bcb44f2e6e1e468ec6b3393de094079e8 /gdb/d-lang.h | |
parent | ec9f644ac9d154de4dde490bb1174be09c8fc540 (diff) | |
download | binutils-50367cd2ada722ddf5bede594d8ed7631fcde5ab.zip binutils-50367cd2ada722ddf5bede594d8ed7631fcde5ab.tar.gz binutils-50367cd2ada722ddf5bede594d8ed7631fcde5ab.tar.bz2 |
Move D demangling routines out of d-lang.c and into d-support.c, which
is intended to house other D language support functions.
gdb/ChangeLog:
2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
* Makefile.in (SFILES): Add d-support.c.
(COMMON_OBS): Add d-support.o.
* d-lang.h (d_parse_symbol): Add comment, now defined in
d-support.c.
* d-lang.c (parse_call_convention)
(parse_attributes, parse_function_types)
(parse_function_args, parse_type, parse_identifier)
(call_convention_p, d_parse_symbol): Move functions to ...
* d-support.c: ... New file.
Diffstat (limited to 'gdb/d-lang.h')
-rw-r--r-- | gdb/d-lang.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/d-lang.h b/gdb/d-lang.h index a1b4456..ca9126b 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 *); +/* Defined in d-support.c */ + extern const char *d_parse_symbol (struct obstack *, const char *); /* Defined in d-valprint.c */ |