Commit a25d943
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 d6418e9 commit a25d943
30 files changed
Lines changed: 140 additions & 132 deletions
File tree
- gdb
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
| 306 | + | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
| 432 | + | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
882 | | - | |
| 881 | + | |
| 882 | + | |
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
894 | | - | |
| 894 | + | |
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
| 958 | + | |
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
3468 | 3468 | | |
3469 | 3469 | | |
3470 | 3470 | | |
3471 | | - | |
| 3471 | + | |
3472 | 3472 | | |
3473 | 3473 | | |
3474 | 3474 | | |
| |||
3551 | 3551 | | |
3552 | 3552 | | |
3553 | 3553 | | |
3554 | | - | |
| 3554 | + | |
3555 | 3555 | | |
3556 | 3556 | | |
3557 | 3557 | | |
| |||
3574 | 3574 | | |
3575 | 3575 | | |
3576 | 3576 | | |
3577 | | - | |
| 3577 | + | |
3578 | 3578 | | |
3579 | 3579 | | |
3580 | 3580 | | |
3581 | 3581 | | |
3582 | | - | |
| 3582 | + | |
3583 | 3583 | | |
3584 | 3584 | | |
3585 | 3585 | | |
| |||
3603 | 3603 | | |
3604 | 3604 | | |
3605 | 3605 | | |
3606 | | - | |
| 3606 | + | |
3607 | 3607 | | |
3608 | 3608 | | |
3609 | 3609 | | |
3610 | 3610 | | |
3611 | | - | |
3612 | | - | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
3613 | 3615 | | |
3614 | 3616 | | |
3615 | 3617 | | |
| |||
3645 | 3647 | | |
3646 | 3648 | | |
3647 | 3649 | | |
3648 | | - | |
| 3650 | + | |
3649 | 3651 | | |
3650 | 3652 | | |
3651 | 3653 | | |
| |||
3726 | 3728 | | |
3727 | 3729 | | |
3728 | 3730 | | |
3729 | | - | |
| 3731 | + | |
3730 | 3732 | | |
3731 | 3733 | | |
3732 | 3734 | | |
| |||
| 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 | | |
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | | - | |
1290 | | - | |
| 1289 | + | |
| 1290 | + | |
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | | - | |
| 1294 | + | |
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
837 | 837 | | |
838 | | - | |
839 | | - | |
| 838 | + | |
| 839 | + | |
840 | 840 | | |
841 | | - | |
842 | 841 | | |
| 842 | + | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
| 699 | + | |
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
| 987 | + | |
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
1180 | | - | |
| 1180 | + | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments