summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert change for revision.jimb-ppc64-linux-20030528-branchcvs/jimb-ppc64-linux-20030528-branchJim Blandy2003-06-131-102/+0
|
* Fix typo in ChangeLog entry.Jim Blandy2003-06-131-1/+1
|
* * ppc-linux-tdep.c (ppc64_linux_bfd_entry_point): New function.Jim Blandy2003-06-122-0/+105
| | | | (ppc_linux_init_abi): Register it as our bfd_entry_point address.
* * gdbarch.sh (gdbarch_bfd_entry_point): New gdbarch method.Jim Blandy2003-06-127-1/+60
| | | | | | | | * arch-utils.c (generic_bfd_entry_point): New function. * arch-utils.h (generic_bfd_entry_point): New declaration. * gdbarch.c, gdbarch.h: Regenerated. * solib-svr4.c (enable_break): Call it, instead of accessing tmp_bfd->start_address directly.
* Revert patch for revision.Jim Blandy2003-06-127-60/+1
|
* * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): NewJim Blandy2003-06-122-0/+47
| | | | | | function. (ppc_linux_init_abi): Register it as the CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
* Revert for revision.Jim Blandy2003-06-122-43/+0
|
* Revert call to set_gdbarch_long_double_bit; rs6000-tdep.c handles thisJim Blandy2003-06-122-5/+0
| | | | correctly.
* * gdbarch.sh (gdbarch_bfd_entry_point): New gdbarch method.Jim Blandy2003-06-117-1/+60
| | | | | | | | * arch-utils.c (generic_bfd_entry_point): New function. * arch-utils.h (generic_bfd_entry_point): New declaration. * gdbarch.c, gdbarch.h: Regenerated. * solib-svr4.c (enable_break): Call it, instead of accessing tmp_bfd->start_address directly.
* * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPCJim Blandy2003-06-112-0/+4
| | | | Linux entry point symbols for _dl_debug_state, too.
* * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.Jim Blandy2003-06-111-7/+22
| | | | | | | | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to bfd_lookup_symbol, since we only want symbols in code sections. (look_for_base): Pass zero as the SECT_FLAGS argument to bfd_lookup_symbol, since we're not concerned about which section the symbol is in.
* * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): NewJim Blandy2003-06-112-0/+43
| | | | | | function. (ppc_linux_init_abi): Register it as the CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
* * ppc-linux-tdep.c (ppc_linux_init_abi): long doubles are 16 bytesJim Blandy2003-06-112-0/+5
| | | | long.
* * arch-utils.c (always_use_struct_convention): New function.Jim Blandy2003-06-118-49/+36
| | | | | | | | | | | | | | | | | | | * arch-utils.h (always_use_struct_convention): New prototype. * alpha-tdep.c (alpha_use_struct_convention): Delete. (alpha_gdbarch_init): Register always_use_struct_convention, instead of alpha_use_struct_convention. * cris-tdep.c (cris_use_struct_convention): Delete. (cris_gdbarch_init): Register always_use_struct_convention, instead of cris_use_struct_convention. * frv-tdep.c (frv_use_struct_convention): Delete. (frv_gdbarch_init): Register always_use_struct_convention, instead of frv_use_struct_convention. * h8300-tdep.c (h8300_use_struct_convention): Delete. (h8300_gdbarch_init): Register always_use_struct_convention, instead of h8300_use_struct_convention. * mips_o32-tdep.c (mips_o32_use_struct_convention): Delete. (mips_o32_gdbarch_init): Register always_use_struct_convention, instead of mips_o32_use_struct_convention.
* * ppc-linux-tdep.c (ppc64_call_dummy_address): New function.Jim Blandy2003-06-102-0/+18
| | | | | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address method.
* * ppc-linux-tdep.c (ppc64_desc_entry_point): New function.Jim Blandy2003-06-102-1/+14
| | | | (ppc64_standard_linkage_target): Use it.
* Recognize and skip 64-bit PowerPC Linux linkage functions.Jim Blandy2003-06-102-4/+274
| | | | | | | | | | | | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct insn_pattern, insns_match_pattern, d_field, ds_field): New functions, macros, and types for working with PPC instructions. (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, ppc64_skip_trampoline_code): New functions, variables, and macros for recognizing and skipping linkage functions. (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
* *** empty log message ***Jim Blandy2003-06-101-285/+3
|
* *** empty log message ***Jim Blandy2003-06-101-9/+39
|
* Finish the reversion.Jim Blandy2003-06-101-11/+4
|
* Revert change for revision.Jim Blandy2003-06-101-29/+6
|
* Revert changes for revision.Jim Blandy2003-06-101-18/+0
|
* * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-areaJim Blandy2003-06-102-11/+19
| | | | register offsets for both the 32- and 64-bit interfaces.
* Revert change for revision.Jim Blandy2003-06-102-21/+11
|
* * ppc-linux-tdep.c (ppc64_call_dummy_address): New function.Jim Blandy2003-06-072-0/+18
| | | | | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address method.
* * ppc-linux-tdep.c (ppc64_desc_entry_point): New function.Jim Blandy2003-06-072-1/+14
| | | | (ppc64_standard_linkage_target): Use it.
* Merged from trunk:Jim Blandy2003-06-062-24/+64
| | | | | | | 2003-05-29 Kevin Buettner <kevinb@redhat.com> From Jimi X <jimix@watson.ibm.com>: * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
* * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-areaJim Blandy2003-06-062-2/+10
| | | | | offsets for floating-point registers in both 32- and 64-bit interfaces.
* Recognize and skip 64-bit PowerPC Linux linkage functions.Jim Blandy2003-06-052-4/+273
| | | | | | | | | | | | | | | | | | | | | | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct insn_pattern, insns_match_pattern, d_field, ds_field): New functions, macros, and types for working with PPC instructions. (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, ppc64_skip_trampoline_code): New functions, variables, and macros for recognizing and skipping linkage functions. (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. Use gdbarch methods for solib stuff on PowerPC Linux. * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will show through. Remove later #definition of SKIP_TRAMPOLINE_CODE. (ppc_linux_skip_trampoline_code): Delete declaration. * ppc-linux-tdep.c (ppc_linux_init_abi): Register IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, giving the same effect as the #definitions above. (ppc_linux_skip_trampoline_code): Make this static.
* Use gdbarch methods for solib stuff on PowerPC Linux.Jim Blandy2003-06-053-5/+22
| | | | | | | | | | | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will show through. Remove later #definition of SKIP_TRAMPOLINE_CODE. (ppc_linux_skip_trampoline_code): Delete declaration. * ppc-linux-tdep.c (ppc_linux_init_abi): Register IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, giving the same effect as the #definitions above. (ppc_linux_skip_trampoline_code): Make this static.
* Revert patch for revision.Jim Blandy2003-06-053-17/+0
|
* gdb/ChangeLog:Jim Blandy2003-05-297-3/+216
| | | | | | | | | | | | | | | | | | | | 2003-05-29 Jim Blandy <jimb@redhat.com> Support gdbserver on 64-bit PowerPC Linux. * configure.tgt (powerpc64-*-linux*): Build gdbserver, please. * regformats/reg-ppc64.dat: New file. gdb/gdbserver/ChangeLog: 2003-05-29 Jim Blandy <jimb@redhat.com> Add support for Linux on the 64-bit PowerPC. * linux-ppc64-low.c: New file. * configure.srv (powerpc64-*-linux*): New case. (powerpc*-*-linux*): Adjust case pattern not to match powerpc64-*-linux*. * Makefile.in (linux-ppc64-low.o, reg-ppc64.o, reg-ppc64.c): New rules. (clean): Delete reg-ppc64.c, too.
* Revert change for revisions.Jim Blandy2003-05-292-13/+0
|
* Revert previous patch for revision.Jim Blandy2003-05-295-210/+3
|
* * linux-low.c (usr_store_inferior_registers): Transfer buf inJim Blandy2003-05-292-2/+7
| | | | | | PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing away part of the register's value.
* Revert patch for revision.Jim Blandy2003-05-292-6/+1
|
* Use gdbarch methods for solib stuff on PowerPC Linux.Jim Blandy2003-05-293-0/+17
| | | | | | | | | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will show through. * ppc-linux-tdep.c (ppc_linux_init_abi): Register IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, giving the same effect as the #definitions above.
* gdb/ChangeLog:Jim Blandy2003-05-297-3/+225
| | | | | | | | | | | | | | | | | | | | 2003-05-29 Jim Blandy <jimb@redhat.com> Support gdbserver on 64-bit PowerPC Linux. * configure.tgt (powerpc64-*-linux*): Build gdbserver, please. * regformats/reg-ppc64.dat: New file. gdb/gdbserver/ChangeLog: 2003-05-29 Jim Blandy <jimb@redhat.com> Add support for Linux on the 64-bit PowerPC. * linux-ppc64-low.c: New file. * configure.srv (powerpc64-*-linux*): New case. (powerpc*-*-linux*): Adjust case pattern not to match powerpc64-*-linux*. * Makefile.in (linux-ppc64-low.o, reg-ppc64.o, reg-ppc64.c): New rules. (clean): Delete reg-ppc64.c, too.
* * linux-low.c (usr_store_inferior_registers): Transfer buf inJim Blandy2003-05-292-1/+8
| | | | | | PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing away part of the register's value.
* * ppc-linux-nat.c (store_altivec_registers): Don't cast fourthJim Blandy2003-05-282-2/+6
| | | | | argument to ptrace to int; the system headers should give it the right type, and pointers don't fit in ints on powerpc64-*-*.
* * ppc-linux-nat.c (ppc_register_u_addr): Compute u-area offsetsJim Blandy2003-05-282-9/+13
| | | | using the tdep's wordsize, not just '4'.
* * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This isJim Blandy2003-05-282-0/+4
| | | | 'long' on ppc64-*-linux*.
* * gdb.asm/asm-source.exp: Don't handle powerpc64-*-* along withJim Blandy2003-05-282-0/+11
| | | | | | powerpc-*-*; treat the former as an architecture this test doesn't support. At the moment, the asm-source test program hangs and becomes an unkillable process on PPC64 Linux.
* * configure.host, configure.tgt: Add entries forJim Blandy2003-05-283-0/+57
| | | | | | | | | | | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and powerpc/linux.mt. * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: New files. * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ isn't #defined, assume the register doesn't exist: act as if tdep->ppc_mq_regnum were -1.
* * configure.host, configure.tgt: Add entries forJim Blandy2003-05-28721-121248/+7
| | | | | | | | | | | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and powerpc/linux.mt. * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: New files. * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ isn't #defined, assume the register doesn't exist: act as if tdep->ppc_mq_regnum were -1.
* *** empty log message ***jimb-ppc64-linux-20030528-branchpointgdbadmin2003-05-281-1/+1
|
* * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.Mark Kettenis2003-05-273-11/+15
| | | | * configure: Regenerate.
* * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.Richard Sandiford2003-05-272-2/+8
| | | | (mips_elf_link_hash_table): Likewise.
* *** empty log message ***gdbadmin2003-05-271-1/+1
|
* 2003-05-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-05-263-9/+15
| | | | | | | | * stabsread.c (dbx_lookup_type): Make static. (read_type): Ditto. (add_undefined_type): Ditto. * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do not export.