This is the mail archive of the gdb-cvs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog.cplus cp-names.y cp-support.c


CVSROOT:	/cvs/src
Module name:	src
Branch: 	drow-cplus-branch
Changes by:	drow@sourceware.org	2004-01-13 18:18:04

Modified files:
	gdb            : ChangeLog.cplus cp-names.y cp-support.c 

Log message:
	* cp-names.y: Don't include "cp-demangle.h".  Convert all references
	to d_info, d_comp, and D_COMP_* to demangle_info, demangle_component,
	and DEMANGLE_COMPONENT_*.  Convert all calls to cp_v3_d_* functions
	to new wrapper functions.  Add precedences for VOID and ')'.
	(struct demangle_info): New type.
	(d_grab, d_left, d_right): New macros.
	(fill_comp, make_empty, make_operator, make_dtor, make_builtin_type)
	(make_name): New wrapper functions.
	(function_args): Remove D_PRINT_VOID test.
	(function_arglist): Handle '(' VOID ')'.
	(allocate_info): New function.
	(demangled_name_to_comp): Use it.  Call free.
	(mangled_name_to_comp): Use cplus_demangle_v3_components.
	(cp_print, main): Use fputs instead of puts.
	* cp-support.c (cp_canonicalize_string, class_name_from_physname)
	(method_name_from_physname): Remove calls to cp_v3_d_free_info.
	Test demangled_name before freeing it.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.cplus.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.1.2.27&r2=1.1.2.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-names.y.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.1.2.18&r2=1.1.2.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-support.c.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.1.6.5&r2=1.1.6.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]