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/12183] raising gdb.GdbError from a gdb.Functionsubclass' invoke method prints a stack trace


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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-03-22 09:38:22 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    pmuldoon@sourceware.org    2011-03-22 09:38:16

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

Log message:
    2011-03-21  Phil Muldoon  <pmuldoon@redhat.com>

    PR python/12183

    * python/py-function.c (fnpy_call): Treat GdbErrors differently to
    other error classes.  Do not print stack trace.

    2011-03-21  Phil Muldoon  <pmuldoon@redhat.com>

    PR python/12183

    * gdb.python/py-function.exp: Add GdbError tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12848&r2=1.12849
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-function.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.2646&r2=1.2647
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-function.exp.diff?cvsroot=src&r1=1.6&r2=1.7

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]