From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29037 invoked by alias); 15 Oct 2014 11:41:32 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 29005 invoked by uid 55); 15 Oct 2014 11:41:31 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug c++/13403] invalid vptr after gdb prints the return value of a virtual function member on x86_64 system Date: Wed, 15 Oct 2014 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: gbenson at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q4/txt/msg00066.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=13403 --- Comment #2 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via ebb8ece2ef50ba3f86e8b4ab7a22a4c7734d114b (commit) via 2d1c107c1b8835f4e85c35320d8595a4a6fcaebe (commit) via 82c48ac732edb0155288a93ef3dd39625ff2d2e1 (commit) via 778811d5e7eb96b5ecb848033ffaa2df455a921e (commit) from 91dc4e0a22515bec2d60a8a402970bca5042f26f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebb8ece2ef50ba3f86e8b4ab7a22a4c7734d114b commit ebb8ece2ef50ba3f86e8b4ab7a22a4c7734d114b Author: Siva Chandra Date: Tue Sep 9 06:50:26 2014 -0700 Fix gnuv3_pass_by_reference to treat dynamic classes as non-trivial. gdb/ChangeLog: * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes as non-trivial. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2d1c107c1b8835f4e85c35320d8595a4a6fcaebe commit 2d1c107c1b8835f4e85c35320d8595a4a6fcaebe Author: Siva Chandra Date: Tue Sep 9 06:46:14 2014 -0700 Add new non-trial return value tests. gdb/testsuite/ChangeLog: * gdb.cp/non-trivial-retval.cc: Add new test cases. * gdb.cp/non-trivial-retval.exp: Add new tests. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=82c48ac732edb0155288a93ef3dd39625ff2d2e1 commit 82c48ac732edb0155288a93ef3dd39625ff2d2e1 Author: Siva Chandra Date: Tue Sep 9 06:03:42 2014 -0700 Fix gnuv3_pass_by_reference to lookup copy c-tors with qualified args. Before this, a copy constructor declared as in the following snippet was not being treated as a copy constructor. class A { public: A (A &); // OK. A (const A &); // Not being treated as a copy constructor because of the // 'const' qualifier. }; gdb/ChangeLog: PR c++/13403 PR c++/15154 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors with qualified args. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=778811d5e7eb96b5ecb848033ffaa2df455a921e commit 778811d5e7eb96b5ecb848033ffaa2df455a921e Author: Siva Chandra Date: Mon Sep 8 07:04:59 2014 -0700 Non trivial return value tests. gdb/testsuite/ChangeLog: PR c++/13403 PR c++/15154 * gdb.cp/non-trivial-retval.cc: New file. * gdb.cp/non-trivial-retval.exp: New file. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 12 +++ gdb/gnu-v3-abi.c | 21 ++++- gdb/testsuite/ChangeLog | 12 +++ gdb/testsuite/gdb.cp/non-trivial-retval.cc | 119 +++++++++++++++++++++++++++ gdb/testsuite/gdb.cp/non-trivial-retval.exp | 36 ++++++++ 5 files changed, 195 insertions(+), 5 deletions(-) create mode 100644 gdb/testsuite/gdb.cp/non-trivial-retval.cc create mode 100644 gdb/testsuite/gdb.cp/non-trivial-retval.exp -- You are receiving this mail because: You are on the CC list for the bug.