This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/15461] crash: gdb-7.6 gdbarch in archpy_disassemble() overwritten with NULL causes crash due to assert(gdbarch != NULL)
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 30 Aug 2013 10:12:20 +0000
- Subject: [Bug python/15461] crash: gdb-7.6 gdbarch in archpy_disassemble() overwritten with NULL causes crash due to assert(gdbarch != NULL)
- Auto-submitted: auto-generated
- References: <bug-15461-4717 at http dot sourceware dot org/bugzilla/>
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.