This is an archive of the discontinued LLVM Phabricator instance.

Determine endianness at a time when it doesn't inadvertantly clear gdb's wrap_buffer via gdb.execute.
ClosedPublic

Authored by saugustine on Oct 1 2019, 3:26 PM.

Details

Summary

I haven't managed a small reproduction for this bug; it involves
complicated and deeply nested data structures with a wide variety
of pretty printers. But in general, we shouldn't be combining
gdb's command line interface (via gdb.execute) with pretty-printers.

Diff Detail

Event Timeline

saugustine created this revision.Oct 1 2019, 3:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2019, 3:26 PM
saugustine edited the summary of this revision. (Show Details)Oct 1 2019, 3:26 PM
saugustine added a reviewer: tamur.
tamur accepted this revision.Oct 1 2019, 3:32 PM
This revision is now accepted and ready to land.Oct 1 2019, 3:32 PM
This revision was automatically updated to reflect the committed changes.