Re: Patch: implement new dynamic varobj spec

Tom Tromey
2009-09-18T18:25:34Z

>>>>> "Volodya" == Vladimir Prus <vladimir@codesourcery.com> writes:

Volodya> 2. pretty-printer for string should catch exception and return
Volodya> "<inaccessible>" or some such. Alternatively, GDB should not
Volodya> fallback to regular display if Python pretty-printer fails. Yet
Volodya> alternatively, GDB should distinguish between different failure
Volodya> modes of Python pretty-printer, since memory access error
Volodya> likely to be caused by uninitalized data and should not cause
Volodya> fallback.

Volodya> Does this make any sense?

Yes. Of these options I lean more toward the last one.
However, I haven't thought carefully about it all yet.

Tom