diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-09-14 02:09:39 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-09-14 02:09:39 +0000 |
commit | de17c821b37ffda295746b31cf47e19ca2303b78 (patch) | |
tree | 1c69fa6e900eda6a81b068cca5588cc7a0183b20 /gdb/cp-support.h | |
parent | 94202ba54eea91a125962d653a5d8b0ba0b1c335 (diff) | |
download | gdb-de17c821b37ffda295746b31cf47e19ca2303b78.zip gdb-de17c821b37ffda295746b31cf47e19ca2303b78.tar.gz gdb-de17c821b37ffda295746b31cf47e19ca2303b78.tar.bz2 |
* gdbtypes.c (check_stub_method): Make static.
(check_stub_method_group): New function.
* gdbtypes.h: Update prototypes.
* cp-support.c: New file.
* cp-support.h: New file.
* stabsread.c: Include "cp-abi.h" and "cp-support.h".
(update_method_name_from_physname): New function.
(read_member_functions): Correct method names for operators
and v3 constructors/destructors. Separate v2 constructors and
destructors.
* Makefile.in (stabsread.o): Update dependencies.
(SFILES): Add cp-support.c.
(COMMON_OBS): Add cp-support.o.
(cp_support_h, cp-support.o): Add.
* cp-valprint.c (cp_print_class_method): Call
check_stub_method_group instead of check_stub_method. Remove
extraneous QUITs.
* p-valprint.c (pascal_object_print_class_method): Likewise.
* valops.c (search_struct_method): Likewise.
(find_method_list, value_struct_elt_for_reference): Likewise.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h new file mode 100644 index 0000000..a7d333f --- /dev/null +++ b/gdb/cp-support.h @@ -0,0 +1,25 @@ +/* Helper routines for C++ support in GDB. + Copyright 2002 Free Software Foundation, Inc. + + Contributed by MontaVista Software. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +extern char *class_name_from_physname (const char *physname); + +extern char *method_name_from_physname (const char *physname); |