public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug exp/13206] support gcc's typeof
Date: Thu, 19 Jul 2012 15:39:00 -0000	[thread overview]
Message-ID: <bug-13206-4717-NgabSor3MI@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13206-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=13206

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-07-19 15:38:48 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-07-19 15:38:18

Modified files:
    gdb            : ChangeLog ax-gdb.c breakpoint.c c-exp.y eval.c 
                     expprint.c parse.c std-operator.def varobj.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.cp: casts.cc casts.exp 

Log message:
    PR exp/13206:
    * ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases.
    * breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF,
    OP_DECLTYPE>: New cases.
    * c-exp.y (TYPEOF, DECLTYPE): New tokens.
    (type_exp): Add new productions.
    (ident_tokens): Add __typeof__, typeof, __typeof, __decltype,
    and decltype.
    * eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>:
    New case.
    * expprint.c (dump_subexp_body_standard) <OP_TYPEOF,
    OP_DECLTYPE>: New case.
    * parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>:
    New case.
    * std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants.
    * varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE.
    gdb/testsuite
    * gdb.cp/casts.exp: Add tests for typeof and decltype.
    * gdb.cp/casts.cc (decltype): New function.
    (main): Use it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14494&r2=1.14495
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ax-gdb.c.diff?cvsroot=src&r1=1.104&r2=1.105
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.693&r2=1.694
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.99&r2=1.100
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&r1=1.166&r2=1.167
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/expprint.c.diff?cvsroot=src&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/std-operator.def.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/varobj.c.diff?cvsroot=src&r1=1.196&r2=1.197
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3297&r2=1.3298
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/casts.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/casts.exp.diff?cvsroot=src&r1=1.18&r2=1.19

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-07-19 15:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 21:41 [Bug exp/13206] New: " dje at google dot com
2012-02-22 15:39 ` [Bug exp/13206] " tromey at redhat dot com
2012-02-22 17:10 ` dje at google dot com
2012-02-22 20:50 ` tromey at redhat dot com
2012-06-28 15:39 ` tromey at redhat dot com
2012-07-19 15:39 ` cvs-commit at gcc dot gnu.org [this message]
2012-07-19 15:42 ` tromey at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13206-4717-NgabSor3MI@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).