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 c++/15401] "set print object on" + printing variables of type: a reference to derived class.
Date: Wed, 22 May 2013 20:51:00 -0000	[thread overview]
Message-ID: <bug-15401-4717-SQkUMNXhwo@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15401-4717@http.sourceware.org/bugzilla/>

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2013-05-22 20:51:51 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-05-22 20:51:49

Modified files:
    gdb            : ChangeLog c-valprint.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.cp: class2.cc class2.exp 

Log message:
    PR c++/15401:
    * c-valprint.c (c_value_print): Use value_addr for
    references.  Convert back to reference type with value_ref.
    gdb/testsuite
    * gdb.cp/class2.cc (main): New local 'aref'.
    * gdb.cp/class2.exp: Check printing of 'aref'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15616&r2=1.15617
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-valprint.c.diff?cvsroot=src&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3674&r2=1.3675
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/class2.cc.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/class2.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:[~2013-05-22 20:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 19:14 [Bug c++/15401] New: " marcin.konarski at gmail dot com
2013-05-07 17:51 ` [Bug c++/15401] " jan.kratochvil at redhat dot com
2013-05-08 18:13 ` tromey at redhat dot com
2013-05-22 20:51 ` cvs-commit at gcc dot gnu.org [this message]
2013-05-22 20:52 ` 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-15401-4717-SQkUMNXhwo@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).