This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable
- From: "jens dot elmenthaler at verigy dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 31 Mar 2010 13:23:21 -0000
- Subject: [Bug python/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 jens dot elmenthaler at verigy dot com 2010-03-31 13:23 -------
(In reply to comment #5)
> Does setting
> help maintenance set python print-stack off
> help in this circumstance?
No. Here is what I get:
688,131 37-interpreter-exec console "maintenance set python print-stack off"
688,133 37^done
688,134 (gdb)
689,771 38-exec-next --thread 1 1
689,773 38^running
689,776 *running,thread-id="all"
689,776 (gdb)
689,779 *stopped,reason="end-stepping-range",frame=
{addr="0x0000000000400fce",func="main",args=[],fi\
le="../src/sneha.cpp",fullname="/home/jelmenth/Projects/ws-dsf-
test/sneha/src/sneha.cpp",line="60"},\
thread-id="1",stopped-threads="all",core="1"
689,779 (gdb)
689,821 39-stack-list-locals --thread 1 --frame 0 1
689,824 39^error,msg="Cannot access memory at address 0x64697469617700"
689,826 (gdb)
689,828 40-stack-info-depth --thread 1 5
689,829 40^done,depth="1"
689,830 (gdb)
------- Additional Comments From pmuldoon at redhat dot com 2010-03-31 13:23 -------
Created an attachment (id=4692)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4692&action=view)
Mi errors output
I attached the output with the stack listing turned off? In this view you only
see the locals output?
--
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.