[RFA] "Error in re-setting breakpoint," c++/12750

Tom Tromey tromey@redhat.com
Tue May 31 20:59:00 GMT 2011


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> 	PR c++/12750
Keith> 	* linespec.c (get_search_block): New function.
Keith> 	(find_methods): Add FILE_SYMTATB parameter and use it and
Keith> 	get_search_block to pass an appropriate block to
Keith> 	lookup_symbol_in_namespace.
Keith> 	(decode_line_1): Record if *ARGPTR is single-quote enclosed.
Keith> 	Check if *ARGPTR starts with a filename first.
Keith> 	If it does, call locate_first_half again to locate the next
Keith> 	"first half" of the linespec.
Keith> 	Pass FILE_SYMTATB to decode_objc and decode_compound.
Keith> 	Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED.
Keith> 	(locate_first_half): Stop on the first colon seen.
Keith> 	(decode_compound): Add FILE_SYMTAB parameter.
Keith> 	Pass FILE_SYMTAB to lookup_prefix_sym and find_method.
Keith> 	(lookup_prefix_sym): Add FILE_SYMTAB parameter and use
Keith> 	get_search_block with lookup_symbol.
Keith> 	(find_method): Add FILE_SYMTAB parameter and pass it to
Keith> 	find_methods.
Keith> 	(decode_objc): Use get_search_block.

Keith> 2010-05-18  Keith Seitz  <keiths@redhat.com>
Keith> 	PR c++/12750
Keith> 	* gdb.cp/static-method.cc: New file.
Keith> 	* gdb.cp/static-method.exp: New file.

Ok.

Tom



More information about the Gdb-patches mailing list