[PATCH 3/3] bitpos: Minor python changes for bitpos expansion

Siddhesh Poyarekar siddhesh@redhat.com
Sat Aug 4 19:24:00 GMT 2012


Hi,

This is the final (and the smallest) patch in the bitpos expansion
changes. This patch changes python-types code to use
PyLong_FromLongLong for bitpos and type.length.

I have verified that there are not regressions in the testsuite as a
result of this patch.

Regards,
Siddhesh

gdb/ChangeLog

2012-08-05  Siddhesh Poyarekar  <siddhesh@redhat.com>

	* python/py-type.c (convert_field): Use PyLong_FromLongLong for
	TYPE_FIELD_BITPOS.
	(typy_get_sizeof): Likewise for TYPE_LENGTH.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitpos-expand-python.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120804/523ce82f/attachment.bin>


More information about the Gdb-patches mailing list