This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 1bff71c3251e2f0836163e49ecd4b55861f4eb83
- From: sergiodj at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Mar 2014 21:10:46 -0000
- Subject: gdb and binutils branch master updated. 1bff71c3251e2f0836163e49ecd4b55861f4eb83
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 1bff71c3251e2f0836163e49ecd4b55861f4eb83 (commit)
from 90e289504f844c162ab2e701f99a309d2b37a62a (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=1bff71c3251e2f0836163e49ecd4b55861f4eb83
commit 1bff71c3251e2f0836163e49ecd4b55861f4eb83
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Thu Mar 20 18:08:31 2014 -0300
Fix probe-related internal error on AIX
-- Initial message by Tom Tromey:
While testing on AIX, I happened to notice an internal error coming
from parse_probes. This happens because there are no probes defined
on this platform. This patch fixes the problem by changing an assert
into an ordinary error, and then changing the relevant caller to cope.
This fixes a few tests on AIX; also regtested on x86-64 Fedora 18.
-- Followup by Sergio Durigan Junior:
By reading the patch (and the original code), I found it a little bit
obscure, so I took the liberty to try to improve it. Here's the patch.
Could you please take a look and see if it works on AIX (and also if you
like the approach)?
gdb/
2014-03-20 Tom Tromey <tromey@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* probe.c (parse_probes): Turn assert into an ordinary error.
* break-catch-throw.c (re_set_exception_catchpoint): Ignore
exceptions when parsing probes. Rearrange the code for clarity.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 7 +++++++
gdb/break-catch-throw.c | 37 ++++++++++++++++++++-----------------
gdb/probe.c | 3 ++-
3 files changed, 29 insertions(+), 18 deletions(-)
hooks/post-receive
--
gdb and binutils