This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Re: [patch 2/2] physname reg.: linespec eager keep_name_info
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 1 Jul 2011 22:22:02 +0200
- Subject: [commit] Re: [patch 2/2] physname reg.: linespec eager keep_name_info
- References: <20110605202713.GC20427@host1.jankratochvil.net>
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