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.
This commit is contained in:
Iain Buclaw 2014-01-18 17:27:28 +00:00
parent ec9f644ac9
commit 50367cd2ad
5 changed files with 637 additions and 598 deletions

View file

@ -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 */