This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/11407] -stack-list-locals should catch python exceptions and return the error per variable
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 28 Jun 2010 17:15:02 -0000
- Subject: [Bug mi/11407] -stack-list-locals should catch python exceptions and return the error per variable
- References: <20100320163108.11407.niko.sams@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-06-25 15:35 -------
Subject: Bug 11407
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-06-25 15:34:46
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.dwarf2: dw2-ref-missing-frame-main.c
dw2-ref-missing-frame.S
dw2-ref-missing-frame.exp
Added files:
gdb/testsuite/gdb.dwarf2: dw2-ref-missing-frame-func.c
Log message:
gdb/testsuite/
Test PR python/11407.
* gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
* gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
executable_nofb and executable_fb. New variables srcsfile, objsfile,
srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
binfile. Call gdb_compile with clean_restart twice.
(func_nofb print, func_nofb backtrace, func_loopfb print)
(func_loopfb backtrace): New.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2350&r2=1.2351
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-main.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp.diff?cvsroot=src&r1=1.4&r2=1.5
------- Additional Comments From pmuldoon at redhat dot com 2010-06-28 17:15 -------
A patch was posted for the CLI interpretation of the bug here:
http://sourceware.org/ml/gdb-cvs/2010-06/msg00169.html
A patch for MI is currently being discussed here. Here is the latest rendition
of tha patch:
http://sourceware.org/ml/gdb-patches/2010-06/msg00599.html
Assigned this bug to MI component.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|python |mi
http://sourceware.org/bugzilla/show_bug.cgi?id=11407
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.