stbya at yahoo dot com
2011-10-05 20:42:14 UTC
http://sourceware.org/bugzilla/show_bug.cgi?id=13267
Bug #: 13267
Summary: python: gdb.Value needs a method to get raw memory as
a string
Product: gdb
Version: 7.3
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: ***@sourceware.org
ReportedBy: ***@yahoo.com
Classification: Unclassified
gdb.Value provides a way to get a textual string (gdb.Value.string(...)), but
there's no way to get it as a raw sequence of bytes. Maybe this could be done
with an encoding argument of None?
e.g.
v = gdb.parse_and_eval("var")
data = v.string(None, length=64)
Bug #: 13267
Summary: python: gdb.Value needs a method to get raw memory as
a string
Product: gdb
Version: 7.3
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: ***@sourceware.org
ReportedBy: ***@yahoo.com
Classification: Unclassified
gdb.Value provides a way to get a textual string (gdb.Value.string(...)), but
there's no way to get it as a raw sequence of bytes. Maybe this could be done
with an encoding argument of None?
e.g.
v = gdb.parse_and_eval("var")
data = v.string(None, length=64)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.