old-cross-binutils/gdb/python
Keith Seitz 3a93a0c2ef PR c++/12266
* cp-name-parser.y (struct demangle_info): Remove unused
	member PREV.
	(d_grab): Likewise.
	(allocate_info): Change return type to struct demangle_info *.
	Always allocate a new demangle_info.
	Remove unused PREV pointer.
	(cp_new_demangle_parse_info): New function.
	(cp_demangled_name_parse_free): New function.
	(do_demangled_name_parse_free_cleanup): New function.
	(make_cleanup_cp_demangled_name_parse_free): New function.
	(cp_demangled_name_to_comp): Change return type to
	struct demangle_parse_info *.
	Allocate a new storage for each call.
	(main): Update usage for cp_demangled_name_to_comp
	API change.
	* cp-support.h (struct demangle_parse_info): New structure.
	(cp_demangled_name_to_comp): Update API change for
	return type.
	(cp_new_demangle_parse_info): Declare.
	(make_cleanup_cp_demangled_name_parse_free): New declaration.
	(cp_demangled_name_parse_free): Declare.
	* cp-support.c (cp_canonicalize_string): Update API
	change for cp_demangled_name_to_comp.
	(mangled_name_to_comp): Likewise.
	Return struct demangle_parse_info, too.
	(cp_class_name_from_physname): Update mangled_name_to_comp
	API change.
	(method_name_from_physname): Likewise.
	(cp_func_name): Update API change for cp_demangled_name_to_comp.
	(cp_remove_params): Likewise.
	* python/py-type.c (typy_legacy_template_argument): Likewise.

	* cp-support.h (cp_canonicalize_string_no_typedefs): Declare.
	(cp_merge_demangle_parse_infos): Declare.
	* cp-support.c (ignore_typedefs): New file global.
	(copy_string_to_obstack): New function.
	(inspect_type): New function.
	(replace_typedefs): New function.
	(replace_typedefs_qualified_name): New function.
	(cp_canonicalize_string_no_typedefs): New function.
	* cp-name-parser.y (cp_merge_demangle_parse_infos): New function.
	(cp_new_demangle__parse_info): Allocate and initialize the obstack.
	* linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs
	instead of cp_canonicalize_string.
	(find_method): Likewise.
	(decode_compound): Before looking up the name, call
	cp_canonicalize_string_no_typedefs.
	(decode_variable): Likewise.
2011-08-18 16:17:39 +00:00
..
lib/gdb 2011-08-17 Phil Muldoon <pmuldoon@redhat.com> 2011-08-17 10:41:22 +00:00
py-auto-load.c 2011-08-04 Pedro Alves <pedro@codesourcery.com> 2011-08-04 19:10:14 +00:00
py-block.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-bpevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-breakpoint.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-cmd.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-continueevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-event.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-event.h gdb 2011-06-03 15:32:44 +00:00
py-events.h 2011-06-16 Tristan Gingold <gingold@adacore.com> 2011-06-16 05:54:09 +00:00
py-evtregistry.c 2011-06-16 Tristan Gingold <gingold@adacore.com> 2011-06-16 05:54:09 +00:00
py-evts.c Fix ARI warning about functions without parameters that do not 2011-03-14 15:43:51 +00:00
py-exitedevent.c gdb 2011-06-03 15:32:44 +00:00
py-frame.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-function.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-inferior.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-infthread.c 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> 2011-07-11 12:10:19 +00:00
py-lazy-string.c * python/python.c (gdbpy_solib_name): Use gdb_py_longest and 2011-01-26 20:53:45 +00:00
py-objfile.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-param.c * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the 2011-08-05 14:24:10 +00:00
py-prettyprint.c * varobj.c (update_dynamic_varobj_children): Make 'name' const. 2011-06-24 19:47:37 +00:00
py-progspace.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-signalevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-stopevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-stopevent.h Fix ARI warning about function names in first column. 2011-03-14 16:55:04 +00:00
py-symbol.c * NEWS: Mention new "type" attribute of python gdb.Symbol objects. 2011-08-12 22:21:57 +00:00
py-symtab.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-threadevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-type.c PR c++/12266 2011-08-18 16:17:39 +00:00
py-utils.c 2011-02-28 Michael Snyder <msnyder@vmware.com> 2011-03-01 19:00:16 +00:00
py-value.c * valops.c (find_overload_match): Call do_cleanups before early 2011-06-27 19:21:51 +00:00
python-config.py allow building GDB with Python support on MinGW 2011-01-31 04:42:08 +00:00
python-internal.h * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. 2011-06-28 13:09:12 +00:00
python.c 2011-08-09 Phil Muldoon <pmuldoon@redhat.com> 2011-08-09 12:45:40 +00:00
python.h 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> 2011-03-14 16:09:55 +00:00