* Makefile.in (SFILES): Add cp-names.y.
authorDaniel Jacobowitz <drow@false.org>
Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)
commitfb4c6eba439c4dcd3a58caae407d5d49a7d6e96d
treecaf532075e218670637faf0ab7f4e7354e86f369
parent0fa77c953fa63fc96ebcc2b2560481c0bd0b4b56
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.
gdb/ChangeLog
gdb/Makefile.in
gdb/config/djgpp/fnchange.lst
gdb/cp-names.y [new file with mode: 0644]
gdb/cp-support.c
gdb/cp-support.h