This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/20769] New: lazy strings of non string objects
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 04 Nov 2016 18:33:58 +0000
- Subject: [Bug python/20769] New: lazy strings of non string objects
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20769
Bug ID: 20769
Summary: lazy strings of non string objects
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
Target Milestone: ---
Filing this to at least document the issue.
int my_int_variable;
(gdb) py print gdb.parse_and_eval("my_int_variable").lazy_string().type
What should that print?
I think the lazy_string() call should throw an error.
If one wants a lazy string of wide characters, say, where each element is an
int, then the argument to lazy_string should either be int* or int[].
--
You are receiving this mail because:
You are on the CC list for the bug.