This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/18445] New: shouldn't divulge implementation details in memory error messages from pretty printers
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 May 2015 20:27:31 +0000
- Subject: [Bug python/18445] New: shouldn't divulge implementation details in memory error messages from pretty printers
- Auto-submitted: auto-generated
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.