From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18757 invoked by alias); 28 May 2014 22:08:57 -0000 Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org Received: (qmail 18732 invoked by uid 9683); 28 May 2014 22:08:56 -0000 Date: Wed, 28 May 2014 22:08:00 -0000 Message-ID: <20140528220854.18666.qmail@sourceware.org> From: palves@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. 6143b8235e8d14685d8ab747cdd4f8faa94d1fe0 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7f3c034326ce5d487e897826a12c3a4b9d457b49 X-Git-Newrev: 6143b8235e8d14685d8ab747cdd4f8faa94d1fe0 X-SW-Source: 2014-q2/txt/msg00020.txt.bz2 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 6143b8235e8d14685d8ab747cdd4f8faa94d1fe0 (commit) via 6e933ccc75f683a19dda3c92c6d9a35f857b98b3 (commit) via 0aaa9a3aa1e68d309a4746633494b9a01a0575f5 (commit) from 7f3c034326ce5d487e897826a12c3a4b9d457b49 (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=6143b8235e8d14685d8ab747cdd4f8faa94d1fe0 commit 6143b8235e8d14685d8ab747cdd4f8faa94d1fe0 Author: Pedro Alves Date: Wed May 28 23:06:44 2014 +0100 Fix demangler testsuite crashes with CP_DEMANGLE_DEBUG defined Running the demangler's testsuite with CP_DEMANGLE_DEBUG defined crashes, with: Program received signal SIGSEGV, Segmentation fault. 0x000000000040a8c3 in d_dump (dc=0x1, indent=12) at ../../src/libiberty/cp-demangle.c:567 567 switch (dc->type) (gdb) bt 3 #0 0x000000000040a8c3 in d_dump (dc=0x1, indent=12) at ../../src/libiberty/cp-demangle.c:567 #1 0x000000000040ae47 in d_dump (dc=0x7fffffffd098, indent=10) at ../../src/libiberty/cp-demangle.c:787 #2 0x000000000040ae47 in d_dump (dc=0x7fffffffd0c8, indent=8) at ../../src/libiberty/cp-demangle.c:787 Note dc=0x1, which is obviously a bogus pointer. This is the end of d_dump recursing for a component type that that doesn't actually have subtrees: 787 d_dump (d_left (dc), indent + 2); 788 d_dump (d_right (dc), indent + 2); This fixes the two cases the testsuite currently trips on. libiberty/ 2014-05-28 Pedro Alves * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM and DEMANGLE_COMPONENT_NUMBER. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e933ccc75f683a19dda3c92c6d9a35f857b98b3 commit 6e933ccc75f683a19dda3c92c6d9a35f857b98b3 Author: Thomas Schwinge Date: Wed May 28 23:06:43 2014 +0100 Fix test in libiberty/testsuite/demangle-expected. libiberty/ * testsuite/demangle-expected: Fix last commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210803 138bc75d-0d04-0410-961f-82ee72b054a4 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0aaa9a3aa1e68d309a4746633494b9a01a0575f5 commit 0aaa9a3aa1e68d309a4746633494b9a01a0575f5 Author: Andrew Burgess Date: Wed May 28 23:06:43 2014 +0100 cplus-demangler, free resource after a failed call to gnu_special. libiberty/ 2014-05-14 Andrew Burgess * cplus-dmem.c (internal_cplus_demangle): Free any resources allocated by possible previous call to gnu_special. (squangle_mop_up): Reset pointers to NULL after calling free. * testsuite/demangle-expected: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210425 138bc75d-0d04-0410-961f-82ee72b054a4 ----------------------------------------------------------------------- Summary of changes: libiberty/ChangeLog | 16 ++++++++++++++++ libiberty/cp-demangle.c | 6 ++++++ libiberty/cplus-dem.c | 7 +++++++ libiberty/testsuite/demangle-expected | 5 +++++ 4 files changed, 34 insertions(+), 0 deletions(-) hooks/post-receive -- gdb and binutils