This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/15816] python-selftest.exp false FAIL on RETURN_MASK_ALL


http://sourceware.org/bugzilla/show_bug.cgi?id=15816

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-08-20 15:12:53

Modified files:
    gdb            : ChangeLog exceptions.h 

Log message:
    fix PR python/15816

    This fixes PR python/15816.

    The bug here is that python-selftest.exp can fail:

    No symbol "RETURN_MASK_ALL" in current context.

    RETURN_MASK_ALL is a macro, so if macros do not end up in the
    debuginfo (very typical) then the test fails.

    It seemed simplest to me to simply turn the RETURN_MASK_ defines into
    enum constants.  This way they end up in the debuginfo and all is
    well.

    PR python/15816:
    * exceptions.h (return_mask): Now an enum.
    (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
    enum constants.

    Built and regtested on x86-64 Fedora 18.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15912&r2=1.15913
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/exceptions.h.diff?cvsroot=src&r1=1.42&r2=1.43

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]