This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch 10/12] entryval#3: "@entry" in input expressions
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 9 Oct 2011 21:41:30 +0200
- Subject: [commit] [patch 10/12] entryval#3: "@entry" in input expressions
- References: <20110929195417.GK26579@host1.jankratochvil.net>
On Thu, 29 Sep 2011 21:54:17 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-07-18 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Support @entry in input expressions.
> * c-exp.y (ENTRY, unknown_cpp_name): New.
> (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'.
> (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY)
> (variable: name_not_typename '@' ENTRY, name: ENTRY)
> (name_not_typename: ENTRY): New.
> (yylex): Recognize ENTRY.
> * eval.c (evaluate_subexp_standard): Support also OP_VAR_ENTRY_VALUE.
> * expprint.c (print_subexp_standard, dump_subexp_body_standard):
> Likewise.
> * parse.c (operator_length_standard): Likewise.
> * std-operator.def: New operator OP_VAR_ENTRY_VALUE.
>
> gdb/doc/
> 2011-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Support @entry in input expressions.
> * gdb.texinfo (Variables): Describe @entry names suffix.
> (Print Settings): Add anchor for `set print entry-values'.
>
> gdb/testsuite/
> 2011-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Support @entry in input expressions.
> * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
> (entry_stack: p s1@entry, entry_stack: p s2@entry)
> (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
> (tailcall: p j@entry): New tests.
> * gdb.cp/koenig.cc (A::entry): New function.
> (main): Call it.
> * gdb.cp/koenig.exp (p entry (c)): New test.
Checked in:
http://sourceware.org/ml/gdb-cvs/2011-10/msg00065.html
Thanks,
Jan