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/15461] crash: gdb-7.6 gdbarch in archpy_disassemble() overwritten with NULL causes crash due to assert(gdbarch != NULL)


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

--- 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:    pmuldoon@sourceware.org    2013-08-30 10:12:19

Modified files:
    gdb            : ChangeLog 
    gdb/python     : py-arch.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.python: py-arch.exp 

Log message:
    2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>

    PR python/15461

    * python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro.
    (archpy_name): Check for valid architecture.
    (archpy_disassemble): Ditto.

    2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>

    * gdb.python/py-arch.exp: Tests for invalid architecture.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15951&r2=1.15952
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-arch.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3793&r2=1.3794
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-arch.exp.diff?cvsroot=src&r1=1.3&r2=1.4

-- 
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]