bitpos expansion patches summary

Siddhesh Poyarekar
2012-08-04T19:24:29Z

Hi,

I have finally finished another instance of the bitpos changes after
reviewing the report from the processed splint output. Please see the
following discussion for context on this:

http://sourceware.org/ml/gdb-patches/2012-06/msg00851.html

I have uploaded a new version of the splint outputs and reports here:

http://siddhesh.fedorapeople.org/20120805-splint-bitpos.tar.xz

I have broken down the patch into three parts:

* The first part is the original patch with additional type expansions
done as needed. The other major change is that I have reverted
expansion of insert/remove watchpoint functions, since the
ok_for_watchpoint function should take care of the sizes that go into
them.

* The second part implements checks to ensure that types fit into
size_t whenever they need to be written out/read using native
functions like memcpy, memcmp, write_memory, etc.

* The final part is a small change in python-types.c. I've kept this
separate just for the sake of clarity.

These patches and their changelogs will follow shortly. For all the
patches, I have run the testsuite to ensure that I don't introduce any
regressions on x86_64. I have also reviewed the splint output to try
and ensure that I haven't missed any places that need to be expanded.
There are however a couple of cases where I was not sure what to do and
they are marked as such in the report.

Regards,
Siddhesh