[commit] Re: [patch 2/2] physname reg.: linespec eager keep_name_info

Jan Kratochvil jan.kratochvil@redhat.com
Fri Jul 1 20:22:00 GMT 2011


On Sun, 05 Jun 2011 22:27:13 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Stop on first linespec terminator instead of eating what we can.
> 	* linespec.c (is_linespec_boundary): New function.
> 	(name_end): Remove function.
> 	(keep_name_info): New parameter on_boundary, replace the body.
> 	(decode_line_1): Provide the parameter to keep_name_info.
> 	(decode_compound): Likewise.  Drop the trailing java return type
> 	handling.  Twice.
> 
> gdb/testsuite/
> 2011-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Stop on first linespec terminator instead of eating what we can.
> 	* gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
> 	* gdb.cp/minsym-fallback.cc (C::operator ()): Define.
> 	* gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
> 	(break C::f()): ... this one.
> 	(break C::operator()()): New test.
> 	* gdb.cp/minsym-fallback.h (C::operator ()): Declare.
> 	* gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
> 	test.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-07/msg00030.html


Thanks,
Jan



More information about the Gdb-patches mailing list