This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11407] New: -stack-list-locals should catch python exceptions and return the error per variable
- From: "niko dot sams at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 20 Mar 2010 16:31:08 -0000
- Subject: [Bug python/11407] New: -stack-list-locals should catch python exceptions and return the error per variable
- Reply-to: sourceware-bugzilla at sourceware dot org
Printing an uninitialized std::map results in an exception like
"Cannot access memory at address 0x6c894ce02464895c"
When calling -stack-list-locals and such an uninitialized std::map is
in scope it fails with this exception.
And this is not so good as there are no locals shown until the map is
initialized.
-stack-list-locals should catch python exceptions and return the error per
variable.
Same issue with -stack-list-arguments, -stack-list-variables and possibly other
commands.
--
Summary: -stack-list-locals should catch python exceptions and
return the error per variable
Product: gdb
Version: 7.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned at sourceware dot org
ReportedBy: niko dot sams at gmail dot com
CC: gdb-prs at sourceware dot org
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.