This is the mail archive of the gdb-prs@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]

[Bug python/18445] New: shouldn't divulge implementation details in memory error messages from pretty printers


https://sourceware.org/bugzilla/show_bug.cgi?id=18445

            Bug ID: 18445
           Summary: shouldn't divulge implementation details in memory
                    error messages from pretty printers
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com
  Target Milestone: ---

This pr is a corollary to PR 18438.

If the user prints an object with a pretty-printer that uses lazy strings,
s/he may get this error:
Cannot create a lazy string with address 0x0, and a non-zero length.

This may be confusing to the user. Lazy string? What's that?

OTOH the error text may be useful in other circumstances.
Should the pretty-printer machinery replace this text with something more
generic?
See print_stack_unless_memory_error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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