This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: implement new dynamic varobj spec


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]