| /src/external/gpl3/gdb/dist/gdbsupport/ |
| host-defs.h | 28 #if !defined (TARGET_CHAR_BIT) 29 #define TARGET_CHAR_BIT 8 40 #define HOST_CHAR_BIT TARGET_CHAR_BIT
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| host-defs.h | 28 #if !defined (TARGET_CHAR_BIT) 29 #define TARGET_CHAR_BIT 8 40 #define HOST_CHAR_BIT TARGET_CHAR_BIT
|
| /src/external/gpl3/gdb/dist/gdb/ |
| p-lang.c | 107 *length_pos = type->field (0).loc_bitpos () / TARGET_CHAR_BIT; 111 *string_pos = type->field (1).loc_bitpos () / TARGET_CHAR_BIT; 127 *length_pos = type->field (1).loc_bitpos () / TARGET_CHAR_BIT; 131 *string_pos = type->field (2).loc_bitpos () / TARGET_CHAR_BIT;
|
| d-valprint.c | 40 && !val->bits_any_optimized_out (TARGET_CHAR_BIT * embedded_offset, 41 TARGET_CHAR_BIT * type->length ()))
|
| h8300-tdep.c | 1257 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1258 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1270 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1271 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1275 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1276 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1289 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1290 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1294 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1295 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); [all...] |
| typeprint.c | 103 unsigned int hole_byte = hole / TARGET_CHAR_BIT; 104 unsigned int hole_bit = hole % TARGET_CHAR_BIT; 148 unsigned int fieldsize_bit = fieldsize_byte * TARGET_CHAR_BIT; 153 || offset_bitpos % TARGET_CHAR_BIT != 0) 162 real_bitpos / TARGET_CHAR_BIT, 163 real_bitpos % TARGET_CHAR_BIT); 170 (bitpos + offset_bitpos) / TARGET_CHAR_BIT); 187 unsigned int bitpos = type->length () * TARGET_CHAR_BIT;
|
| xstormy16-tdep.c | 776 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 777 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 778 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 779 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 781 set_gdbarch_wchar_bit (gdbarch, 2 * TARGET_CHAR_BIT); 784 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 785 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 786 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 788 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 789 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| value.c | 180 ULONGEST val_len = TARGET_CHAR_BIT * enclosing_type ()->length (); 189 ULONGEST sign = (1ULL << (sizeof (ULONGEST) * 8 - 1)) / TARGET_CHAR_BIT; 197 return bits_available (offset * TARGET_CHAR_BIT, length * TARGET_CHAR_BIT); 236 && t.length == TARGET_CHAR_BIT * enclosing_type ()->length ()) 421 mark_bits_unavailable (offset * TARGET_CHAR_BIT, 422 length * TARGET_CHAR_BIT); 451 OFFSET1_BITS % TARGET_CHAR_BIT == OFFSET2_BITS % TARGET_CHAR_BIT 454 PTR + (OFFSET_BITS / TARGET_CHAR_BIT) [all...] |
| iq2000-tdep.c | 806 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 807 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 808 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); 809 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 810 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 811 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 812 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 813 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
|
| avr-tdep.c | 1477 tdep->void_type = alloc.new_type (TYPE_CODE_VOID, TARGET_CHAR_BIT, "void"); 1479 tdep->pc_type = init_pointer_type (alloc, 4 * TARGET_CHAR_BIT, NULL, 1482 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1483 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1484 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1485 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1486 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1489 set_gdbarch_wchar_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1492 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1493 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| z80-tdep.c | 927 word_size = gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT; 1143 tdep->void_type = alloc.new_type (TYPE_CODE_VOID, TARGET_CHAR_BIT, 1147 tdep->addr_length * TARGET_CHAR_BIT, 1150 set_gdbarch_short_bit (gdbarch, TARGET_CHAR_BIT); 1151 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1152 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1153 set_gdbarch_ptr_bit (gdbarch, tdep->addr_length * TARGET_CHAR_BIT); 1154 set_gdbarch_addr_bit (gdbarch, tdep->addr_length * TARGET_CHAR_BIT); 1165 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1166 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| v850-tdep.c | 1431 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1432 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1433 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1434 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1436 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1437 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1438 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1440 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1441 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT);
|
| gdbtypes.c | 245 gdb_assert ((bit % TARGET_CHAR_BIT) == 0); 246 type->set_length (bit / TARGET_CHAR_BIT); 408 ntype->set_length (gdbarch_ptr_bit (type->arch ()) / TARGET_CHAR_BIT); 491 ntype->set_length (gdbarch_ptr_bit (type->arch ()) / TARGET_CHAR_BIT); 1103 return -(1 << (type->length () * TARGET_CHAR_BIT - 1)); 1171 LONGEST low = -(1 << (type->length () * TARGET_CHAR_BIT - 1)); 1179 type->length () * TARGET_CHAR_BIT, which will not work 1181 LONGEST high = 1 << (type->length () * TARGET_CHAR_BIT - 1); 1455 result_type->set_length ((bit_length + TARGET_CHAR_BIT - 1) 1456 / TARGET_CHAR_BIT); [all...] |
| gnu-v3-abi.c | 151 field0.set_loc_bitpos (offset * TARGET_CHAR_BIT); 160 field1.set_loc_bitpos (offset * TARGET_CHAR_BIT); 169 field2.set_loc_bitpos (offset * TARGET_CHAR_BIT); 178 field3.set_loc_bitpos (offset * TARGET_CHAR_BIT); 212 / TARGET_CHAR_BIT); 1019 field0.set_loc_bitpos (offset * TARGET_CHAR_BIT); 1028 field1.set_loc_bitpos (offset * TARGET_CHAR_BIT);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| p-lang.c | 106 *length_pos = type->field (0).loc_bitpos () / TARGET_CHAR_BIT; 110 *string_pos = type->field (1).loc_bitpos () / TARGET_CHAR_BIT; 126 *length_pos = type->field (1).loc_bitpos () / TARGET_CHAR_BIT; 130 *string_pos = type->field (2).loc_bitpos () / TARGET_CHAR_BIT;
|
| d-valprint.c | 40 && !val->bits_any_optimized_out (TARGET_CHAR_BIT * embedded_offset, 41 TARGET_CHAR_BIT * type->length ()))
|
| h8300-tdep.c | 1257 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1258 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1270 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1271 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1275 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1276 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1289 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1290 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1294 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1295 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); [all...] |
| xstormy16-tdep.c | 776 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 777 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 778 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 779 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 781 set_gdbarch_wchar_bit (gdbarch, 2 * TARGET_CHAR_BIT); 784 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 785 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 786 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 788 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 789 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| value.c | 180 ULONGEST val_len = TARGET_CHAR_BIT * enclosing_type ()->length (); 189 ULONGEST sign = (1ULL << (sizeof (ULONGEST) * 8 - 1)) / TARGET_CHAR_BIT; 197 return bits_available (offset * TARGET_CHAR_BIT, length * TARGET_CHAR_BIT); 236 && t.length == TARGET_CHAR_BIT * enclosing_type ()->length ()) 421 mark_bits_unavailable (offset * TARGET_CHAR_BIT, 422 length * TARGET_CHAR_BIT); 451 OFFSET1_BITS % TARGET_CHAR_BIT == OFFSET2_BITS % TARGET_CHAR_BIT 454 PTR + (OFFSET_BITS / TARGET_CHAR_BIT) [all...] |
| iq2000-tdep.c | 806 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 807 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 808 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); 809 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 810 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 811 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 812 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 813 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
|
| typeprint.c | 103 unsigned int hole_byte = hole / TARGET_CHAR_BIT; 104 unsigned int hole_bit = hole % TARGET_CHAR_BIT; 148 unsigned int fieldsize_bit = fieldsize_byte * TARGET_CHAR_BIT; 153 || offset_bitpos % TARGET_CHAR_BIT != 0) 162 real_bitpos / TARGET_CHAR_BIT, 163 real_bitpos % TARGET_CHAR_BIT); 170 (bitpos + offset_bitpos) / TARGET_CHAR_BIT); 187 unsigned int bitpos = type->length () * TARGET_CHAR_BIT;
|
| avr-tdep.c | 1477 tdep->void_type = alloc.new_type (TYPE_CODE_VOID, TARGET_CHAR_BIT, "void"); 1479 tdep->pc_type = init_pointer_type (alloc, 4 * TARGET_CHAR_BIT, NULL, 1482 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1483 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1484 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1485 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1486 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1489 set_gdbarch_wchar_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1492 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1493 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| z80-tdep.c | 927 word_size = gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT; 1143 tdep->void_type = alloc.new_type (TYPE_CODE_VOID, TARGET_CHAR_BIT, 1147 tdep->addr_length * TARGET_CHAR_BIT, 1150 set_gdbarch_short_bit (gdbarch, TARGET_CHAR_BIT); 1151 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1152 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1153 set_gdbarch_ptr_bit (gdbarch, tdep->addr_length * TARGET_CHAR_BIT); 1154 set_gdbarch_addr_bit (gdbarch, tdep->addr_length * TARGET_CHAR_BIT); 1165 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1166 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); [all...] |
| v850-tdep.c | 1431 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); 1432 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1433 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1434 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1436 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1437 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1438 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); 1440 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); 1441 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT);
|
| gdbtypes.c | 245 gdb_assert ((bit % TARGET_CHAR_BIT) == 0); 246 type->set_length (bit / TARGET_CHAR_BIT); 408 ntype->set_length (gdbarch_ptr_bit (type->arch ()) / TARGET_CHAR_BIT); 491 ntype->set_length (gdbarch_ptr_bit (type->arch ()) / TARGET_CHAR_BIT); 1103 return -(1 << (type->length () * TARGET_CHAR_BIT - 1)); 1171 LONGEST low = -(1 << (type->length () * TARGET_CHAR_BIT - 1)); 1179 type->length () * TARGET_CHAR_BIT, which will not work 1181 LONGEST high = 1 << (type->length () * TARGET_CHAR_BIT - 1); 1455 result_type->set_length ((bit_length + TARGET_CHAR_BIT - 1) 1456 / TARGET_CHAR_BIT); [all...] |