From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1770 invoked by alias); 12 Nov 2013 18:03:42 -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 1749 invoked by uid 9211); 12 Nov 2013 18:03:41 -0000 Date: Tue, 12 Nov 2013 18:03:00 -0000 Message-ID: <20131112180339.1723.qmail@sourceware.org> From: uweigand@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. ee7615e1f3384c36e41fdf176abdabf8f21d1505 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 8943b874760d9cf35b71890a70af9866e4fab2a6 X-Git-Newrev: ee7615e1f3384c36e41fdf176abdabf8f21d1505 X-SW-Source: 2013-q4/txt/msg00120.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 ee7615e1f3384c36e41fdf176abdabf8f21d1505 (commit) from 8943b874760d9cf35b71890a70af9866e4fab2a6 (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=ee7615e1f3384c36e41fdf176abdabf8f21d1505 commit ee7615e1f3384c36e41fdf176abdabf8f21d1505 Author: Andreas Arnez Date: Tue Nov 12 18:03:54 2013 +0100 Fix GDB crash with upstream GCC due to qsort(NULL, ...) Upstream GCC's new pass '-fisolate-erroneous-paths' may introduce traps at places where GCC has determined undefined behavior, e.g. when passing a NULL pointer to a function that defines this argument as __attribute__(__nonnull__(...)). In particular this applies to uniquify_strings(), because it invokes qsort() with NULL when the 'strings' vector is empty. I hit this problem on s390x when trying to execute "break main" on a C program. gdb/ 2013-11-12 Andreas Arnez * objc-lang.c (uniquify_strings): Prevent invoking qsort with NULL. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 5 +++++ gdb/objc-lang.c | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) hooks/post-receive -- gdb and binutils