Summary: | Confusing python backtrace on iterator end | ||
---|---|---|---|
Product: | gdb | Reporter: | Mark Wielaard <mark> |
Component: | python | Assignee: | Tom Tromey <tromey> |
Status: | NEW --- | ||
Severity: | normal | CC: | tromey |
Priority: | P2 | ||
Version: | archer | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Mark Wielaard
2011-01-21 11:11:00 UTC
This works better with cvs head. I will post some more details tomorrow; I'm not totally sure whether some of my local patches improve this or not. With cvs head gdb I get: (gdb) p it $1 = { first = <error reading variable: Cannot access memory at address 0xfffffff5>, second = { a = 134524960, b = 1 } } I think that seems a lot more reasonable. (In reply to comment #2) > With cvs head gdb I get: > > (gdb) p it > $1 = { > first = > <error reading variable: Cannot access memory at address 0xfffffff5>, > second = { > a = 134524960, > b = 1 > } > } > > I think that seems a lot more reasonable. Yes, much more reasonable, thanks. Although I think it is still a but too verbose. Ideally (for me) the default would just have a short indicator (say "<???>") that tells me the value couldn't be determined. Then if I would like to see why that is (p /v maybe) it would display all the extra explanations. |