* cp-support.c (cp_class_name_from_physname): Rewrite.
authorDaniel Jacobowitz <drow@false.org>
Sat, 26 Mar 2005 21:56:46 +0000 (21:56 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 26 Mar 2005 21:56:46 +0000 (21:56 +0000)
commit5e5100cb9c0c310eb1c4378441c24b3a95d3c46d
treeb05fcb9db2faf518f35e4f02694d1ab9f6e69419
parentdc6a2ca431e122957469f9f245d53df307a0d063
* cp-support.c (cp_class_name_from_physname): Rewrite.
(unqualified_name_from_comp): New function, broken out from
method_name_from_physname.  Correct handling for typed names
and templates.
(method_name_from_physname): Use unqualified_name_from_comp.
(cp_func_name, remove_params): Move earlier in the file.  Add
better comments.  Use the component tree to parse the name.
(_initialize_cp_support): Remove stray whitespace.
gdb/ChangeLog
gdb/cp-support.c