binutils-gdb/gdb/cli
Keith Seitz c00f848495 * linespec.c (find_methods): Canonicalize NAME before looking
up the symbol.
	(name_end): New function.
	(keep_name_info): New function.
	(decode_line_1): Use keep_name_info.
	(decode_compound): Likewise.
	* cli/cli-utils.h (remove_trailing_whitespace): New function.
	* cli/cli-utils.c (remove_trailing_whitespace): Likewise.

	PR c++/12273
	* linespec.c (locate_first_half): Keep overload information, too.
	(decode_compound): Use a string to represent break characters
	to escape the loop.
	If P points to a break character, do not increment it.
	For C++ and Java, keep overload information and relevant keywords.
	If we cannot find a symbol, search the minimal symbols.

	PR c++/11734
	* linespec.c (decode_compound): Rename SAVED_ARG to
	THE_REAL_SAVED_ARG.
	Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
	single-quotes.
	Pass a valid block to lookup_symbol.
	(lookup_prefix_sym): Likewise.
	(find_method): Construct search name based on SYM_CLASS instead
	of SAVED_ARG.
	* psymtab.c (lookup_partial_symbol): Add language parameter.
	(lookup_symbol_aux_psymtabs): Likewise.
	Don't assume that the psymtab we found was the right one. Search
	for the desired symbol in the symtab to be certain.
	(psymtab_search_name): New function.
	(lookup_partial_symbol): Use psymtab_search_name.
	Add language parameter.
	(read_symtabs_for_function): Add language parameter and pass to
	lookup_partial_symbol.
	(find_symbol_file_from_partial): Likewise.
2011-03-16 21:12:12 +00:00
..
cli-cmds.c * cli/cli-cmds.c (shell_escape): Use lbasename. 2011-03-09 12:48:56 +00:00
cli-cmds.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-decode.c 2011-03-11 Michael Snyder <msnyder@vmware.com> 2011-03-12 22:59:24 +00:00
cli-decode.h 2011-03-11 Michael Snyder <msnyder@vmware.com> 2011-03-12 22:59:24 +00:00
cli-dump.c 2011-03-01 Michael Snyder <msnyder@vmware.com> 2011-03-02 01:09:52 +00:00
cli-dump.h * reverse.c: Include cli-utils.h. 2011-02-21 18:13:17 +00:00
cli-interp.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-logging.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
cli-script.c 2011-03-04 Michael Snyder <msnyder@vmware.com> 2011-03-04 18:20:43 +00:00
cli-script.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-setshow.c 2011-02-14 Michael Snyder <msnyder@vmware.com> 2011-02-14 23:41:33 +00:00
cli-setshow.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cli-utils.c * linespec.c (find_methods): Canonicalize NAME before looking 2011-03-16 21:12:12 +00:00
cli-utils.h * linespec.c (find_methods): Canonicalize NAME before looking 2011-03-16 21:12:12 +00:00