Hi, This is part 2 of the patch for bitpos expansion. This part adds additional checks that ensure that a type is small enough to fit into host gdb, i.e. it fits into size_t. I have verified that the change does not introduce any regressions on x86_64. I haven't made any test cases for this change, but I can try to write one if it is necessary. Regards, Siddhesh