Load a null count from a gdb.Value of an integer (either atomic or not).
(val)
| 226 | |
| 227 | |
| 228 | def load_null_count(val): |
| 229 | """ |
| 230 | Load a null count from a gdb.Value of an integer (either atomic or not). |
| 231 | """ |
| 232 | if get_basic_type(val.type).code != gdb.TYPE_CODE_INT: |
| 233 | val = load_atomic(val) |
| 234 | return val |
| 235 | |
| 236 | |
| 237 | def format_null_count(val): |
no test coverage detected