Commit abf0c8c
gdb-rhbz795424-bitpos-23of25.patch
;; Fix `GDB cannot access struct member whose offset is larger than 256MB'
;; (RH BZ 795424).
;;=push
http://sourceware.org/ml/gdb-patches/2012-09/msg00630.html
--MP_/X_WjDOvz/B_fvlsrmCwRdxe
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
This is the last part of the bitpos change. This patch does the same
thing that patch 1/4 does, except that it does so in the *-tdep files
wherever necessary. I separated these changes mainly because they are
related and can be reviewed independently. Tested on Fedora 16 x86_64.
Regards,
Siddhesh
--MP_/X_WjDOvz/B_fvlsrmCwRdxe
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=ChangeLog-tdep
gdb/ChangeLog
* alpha-tdep.c (alpha_push_dummy_call): Expand ACCUMULATE_SIZE,
REQUIRED_ARG_REGS, OFFSET, LEN, TLEN to ssize_t.
(struct alpha_arg): Expand members LEN, OFFSET to ssize_t.
* amd64-tdep.c (amd64_push_arguments): Expand NUM_ELEMENTS,
ELEMENT and LEN to LONGEST.
(amd64_return_value): Expand LEN to LONGEST.
* amd64-windows-tdep.c (amd64_windows_return_value): Expand LEN
to LONGEST.
* arm-tdep.c (arm_vfp_cprc_sub_candidate): Return LONGEST.
Expand COUNT, SUB_COUNT to LONGEST.
(arm_vfp_call_candidate): Expand C to LONGEST.
(arm_push_dummy_call): Expand LEN to LONGEST.
* avr-tdep.c (struct stack_item): Expand member LEN to ssize_t.
(push_stack_item): Expand parameter LEN to ssize_t.
(avr_push_dummy_call): Expand LAST_REGNUM, J, LEN to ssize_t.
* bfin-tdep.c (bfin_push_dummy_call): Expand TOTAL_LEN,
CONTAINER_LEN to ssize_t.
* cris-tdep.c (struct stack_item): Expand member LEN to ssize_t.
(push_stack_item): Expand parameter LEN to ssize_t.
(cris_push_dummy_call): Expand LEN, REG_DEMAND, I to ssize_t.
* h8300-tdep.c (h8300_push_dummy_call): Expand STACK_ALLOC,
STACK_OFFSET to LONGEST. Expand LEN, PADDED_LEN, OFFSET to
ssize_t.
* hppa-tdep.c (hppa64_push_dummy_call): Expand LEN to LONGEST.
(hppa64_return_value): Likewise.
* i386-darwin-tdep.c (i386_darwin_push_dummy_call): Expand
ARGS_SPACE to LONGEST.
* i386-tdep.c (i386_push_dummy_call): Expand ARG_SPACE,
ARG_SPACE_USED, LEN to LONGEST.
(i386_reg_struct_return_p): Expand LEN to LONGEST.
(i386_convert_register_p): Likewise.
(i386_register_to_value): Likewise.
(i386_value_to_register): Likewise.
* ia64-tdep.c (ia64_push_dummy_call): Expand ARGOFFSET, LEN,
NSLOTS, MEMSLOTS to LONGEST.
* iq2000-tdep.c (iq2000_push_dummy_call): Expand TYPELEN,
STACKSPACE to LONGEST.
* m32r-tdep.c (m32r_push_dummy_call): Expand LEN to LONGEST.
* m68k-tdep.c (m68k_reg_struct_return_p): Expand LEN to LONGEST.
(m68k_push_dummy_call): Expand LEN, CONTAINER_LEN, OFFSET to
LONGEST.
* m88k-tdep.c (m88k_store_arguments): Expand NUM_STACK_WORDS,
LEN, STACK_WORD to LONGEST.
* mep-tdep.c (push_large_arguments): Expand ARG_LEN to ULONGEST.
* microblaze-tdep.c (microblaze_store_return_value): Expand LEN to
LONGEST.
* mips-tdep.c (mips_xfer_register): Expand parameter BUF_OFFSET to
LONGEST. Use plongest to format print BUF_OFFSET.
(mips_eabi_push_dummy_call): Expand LEN to LONGEST. Use plongest
to format print LEN.
(mips_n32n64_fp_arg_chunk_p): Expand parameter OFFSET to LONGEST.
Expand POS to LONGEST.
(mips_n32n64_push_dummy_call): Expand LEN to LONGEST.
(mips_n32n64_return_value): Expand OFFSET to LONGEST. Use
plongest to format print OFFSET.
(mips_o32_push_dummy_call): Expand LEN to LONGEST. Use plongest
to format print LEN.
(mips_o64_push_dummy_call): Expand LEN, STACK_OFFSET to LONGEST.
Use plongest to format print LEN.
* mn10300-tdep.c (mn10300_push_dummy_call): Expand LEN to
LONGEST.
* mt-tdep.c (mt_push_dummy_call): Expand STACK_DEST, TYPELEN to
LONGEST.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Expand
ARGSPACE, ARGOFFSET, STRUCTOFFSET, LEN, to LONGEST.
(ppc64_sysv_abi_push_dummy_call): Expand BYTE, LEN to ssize_t.
* rl78-tdep.c (rl78_push_dummy_call): Expand LEN, CONTAINER_LEN
to LONGEST.
* rs6000-aix-tdep.c (rs6000_push_dummy_call): Expand ARGBYTES,
LEN to LONGEST.
(ran_out_of_registers_for_arguments): Expand SPACE, JJ to
LONGEST.
* s390-linux-tdep.c (s390_value_from_register): Expand LEN to LONGEST.
(is_power_of_two): Expand parameter N to ULONGEST.
(s390_push_dummy_call): Expand LENGTH to ULONGEST.
* score-tdep.c (score_push_dummy_call): Expand ARGLEN to
LONGEST.
* sh-tdep.c (sh_use_struct_convention) Expand len to LONGEST.
(sh_justify_value_in_reg): Expand parameter LEN to LONGEST.
(sh_push_dummy_call_fpu): Expand LEN to LONGEST. Expand REG_SIZE
to ssize_t.
(sh_push_dummy_call_nofpu): Likewise.
* sh64-tdep.c (sh64_push_dummy_call): Expand STACK_OFFSET,
STACK_ALLOC, LEN to LONGEST.
* sparc-tdep.c (sparc32_store_arguments): Expand LEN to LONGEST.
* sparc64-tdep.c (sparc64_store_floating_fields): Expand
parameter BITPOS to LONGEST. Expand SUBPOS to LONGEST.
(sparc64_extract_floating_fields): Likewise.
(sparc64_store_arguments): Expand LEN to LONGEST.
* spu-tdep.c (spu_push_dummy_call): Expand N_REGS, LEN to LONGEST.
(spu_value_from_register): Expand LEN to LONGEST.
* tic6x-tdep.c (tic6x_push_dummy_call): Expand REFERENCES_OFFST,
LEN to LONGEST. Expand LEN to ssize_t. Use plongest to format
print LEN.
* tilegx-tdep.c (tilegx_push_dummy_call): Expand TYPELEN,
SLACKLEN, ALIGNLEN to LONGEST.
* v850-tdep.c (v850_push_dummy_call): Expand LEN to LONGEST.
* vax-tdep.c (vax_store_arguments): Expand COUNT, LEN to LONGEST.
(vax_return_value): Expand LEN to LONGEST.
* xstormy16-tdep.c (xstormy16_push_dummy_call): Expand J, TYPELEN
to LONGEST.
* xtensa-tdep.c (xtensa_store_return_value): Print LEN instead of
TYPE_LENGTH..
(struct argument_info): Expoand member LENGTH to ssize_t.
(struct argument_info.u): Expand member OFFSET to ssize_t.
(xtensa_push_dummy_call): Expand SIZE, ONSTACK_SIZE to LONGEST.
Expand N to ssize_t. Use pulongest to format print TYPE_LENGTH.
--MP_/X_WjDOvz/B_fvlsrmCwRdxe
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-tdep.patch1 parent 72d2e4b commit abf0c8c
File tree
30 files changed
+135
-127
lines changed- gdb
30 files changed
+135
-127
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
| 307 | + | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
| 433 | + | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | | - | |
909 | | - | |
| 908 | + | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
985 | | - | |
| 985 | + | |
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3440 | 3440 | | |
3441 | 3441 | | |
3442 | 3442 | | |
3443 | | - | |
| 3443 | + | |
3444 | 3444 | | |
3445 | 3445 | | |
3446 | 3446 | | |
| |||
3523 | 3523 | | |
3524 | 3524 | | |
3525 | 3525 | | |
3526 | | - | |
| 3526 | + | |
3527 | 3527 | | |
3528 | 3528 | | |
3529 | 3529 | | |
| |||
3546 | 3546 | | |
3547 | 3547 | | |
3548 | 3548 | | |
3549 | | - | |
| 3549 | + | |
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
3553 | 3553 | | |
3554 | | - | |
| 3554 | + | |
3555 | 3555 | | |
3556 | 3556 | | |
3557 | 3557 | | |
| |||
3575 | 3575 | | |
3576 | 3576 | | |
3577 | 3577 | | |
3578 | | - | |
| 3578 | + | |
3579 | 3579 | | |
3580 | 3580 | | |
3581 | 3581 | | |
3582 | 3582 | | |
3583 | | - | |
3584 | | - | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
3585 | 3587 | | |
3586 | 3588 | | |
3587 | 3589 | | |
| |||
3617 | 3619 | | |
3618 | 3620 | | |
3619 | 3621 | | |
3620 | | - | |
| 3622 | + | |
3621 | 3623 | | |
3622 | 3624 | | |
3623 | 3625 | | |
| |||
3699 | 3701 | | |
3700 | 3702 | | |
3701 | 3703 | | |
3702 | | - | |
| 3704 | + | |
3703 | 3705 | | |
3704 | 3706 | | |
3705 | 3707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1192 | 1192 | | |
1193 | 1193 | | |
1194 | 1194 | | |
1195 | | - | |
| 1195 | + | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | | - | |
| 1201 | + | |
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
1291 | | - | |
| 1290 | + | |
| 1291 | + | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
1295 | | - | |
| 1295 | + | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | 1298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
| 529 | + | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
| 660 | + | |
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
| 817 | + | |
818 | 818 | | |
819 | | - | |
820 | | - | |
| 819 | + | |
| 820 | + | |
821 | 821 | | |
822 | | - | |
823 | 822 | | |
| 823 | + | |
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
| 652 | + | |
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
| 681 | + | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
1181 | | - | |
| 1181 | + | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | 1184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments