[Bug ada/24919] FAIL: gdb.ada/catch_ex.exp: insert catchpoint on Program_Error (GDB internal error)

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Sep 20 19:26:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=24919

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d42076962798cd2329090cea213e797f4c69c03c

commit d42076962798cd2329090cea213e797f4c69c03c
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri Sep 20 11:34:21 2019 -0600

    Fix crash in Ada "catch exception"

    PR ada/24919 concerns a crash that Tom de Vries noticed when running
    the "catch_ex" Ada test case.  He sent a test executable and tracked
    this down to commit f21c2bd7b7 ("Fix Fortran regression with variables
    in nested functions").

    Looking at that patch, you can see the obvious error:

        -  return 0;
        +  return true;

    Oops!  This patch fixes the bug.

    Tested on x86-64 Fedora 29.

    gdb/ChangeLog
    2019-09-20  Tom Tromey  <tromey@adacore.com>

        PR ada/24919:
        * block.c (contained_in): Fix final return value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list