aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
AgeCommit message (Collapse)AuthorFilesLines
2002-08-222002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-9/+214
* rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and ev_offset fields. (skip_prologue): Add support for BookE/e500 instructions. (e500_extract_return_value): New function. (frame_get_saved_regs): Add support for saving ev registers and pseudo gpr's. (e500_store_return_value): New function. (rs6000_gdbarch_init): Move up default intializations of deprecated_extract_return_value and store_return_value. Overwrite init of store_return_value with e500 specific version. Set extract_return_value for e500.
2002-08-212002-08-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+22
* rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have an e500 executable.
2002-08-202002-08-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-4/+128
* ppc-tdep.h (struct gdbarch_tdep): Add ev registers. * rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit vector type for ev registers. (e500_pseudo_register_read): New function. (e500_pseudo_register_write): New function. (e500_dwarf2_reg_to_regnum): New function. (PPC_UISA_NOFP_SPRS): New macro. (PPC_EV_REGS): New macro. (PPC_GPRS_PSEUDO_REGS): New macro. (registers_e500): New register set for e500. (variants): Add e500 variant. (rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to before setting architectural dependent variations. Initialize ev registers numbers. Add case for e500 architecture. Set the number of pseudo registers.
2002-08-202002-08-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-99/+103
* rs6000-tdep.c: Clean up comments.
2002-08-202002-08-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-183/+0
* rs6000-tdep.c (altivec_register_p): Delete. (rs6000_do_altivec_registers): Delete. (rs6000_altivec_registers_info): Delete. (rs6000_do_registers_info): Delete. (_initialize_rs6000_tdep): Remove command 'info powerpc altivec'. (rs6000_gdbarch_init): Remove setting of do_registers_info.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-36/+113
* rs6000-tdep.c (struct reg): Add field to indicate a pseudo register. (P): New macro to define a register as a pseudo register. (R, R4, R8, R16, FR32, R64, R0): Updated. (struct variant): Add new fields for number of pseudo registers and number of total registers. (tot_num_registers): New macro replacing.... (num_registers): ...deleted macro. (num_registers): New function. (num_pseudo_registers): New function. (variants): Update all variants to intialize new fields correctly. Postpone initialization of number of pseudo regs and real regs. (init_variants): New function. (rs6000_gdbarch_init): Initialize variants. Update calculation of registers offsets.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-16/+12
* rs6000-tdep.c (TDEP): Delete macro. (branch_dest): Replace use of TDEP macro with its body. (rs6000_pop_frame): Ditto. (rs6000_push_arguments): Ditto. (rs6000_skip_trampoline_code): Ditto. (rs6000_frame_saved_pc): Ditto. (rs6000_frame_chain): Ditto. (rs6000_register_name): Ditto. (rs6000_register_byte): Ditto. (rs6000_register_raw_size): Ditto. (rs6000_register_virtual_type): Ditto. (rs6000_register_convertible): Ditto. (rs6000_convert_from_func_ptr_addr): Ditto.
2002-07-152002-07-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-6/+11
* rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn and its setting. Set gdbarch instruction printing functions directly. For non-rs6000 case use new function gdb_print_insn_powerpc. (gdb_print_insn_powerpc): New function.
2002-06-28* rs6000-tdep.c (rs6000_gdbarch_init): UseAndrew Cagney1-1/+1
generic_unwind_get_saved_register.
2002-06-17* gdbarch.sh (REGISTER_NAME): Change return type a constant stringAndrew Cagney1-1/+1
pointer. * gdbarch.h, gdbarch.c: Regenerate. * config/mips/tm-mips.h (mips_register_name): Update. * i386-tdep.h (i386_register_name): Update. * mips-tdep.c (mips_register_name): Update * alpha-tdep.c (alpha_register_name): Update. * arch-utils.c (legacy_register_name): Update. * arch-utils.h (legacy_register_name): Update. * avr-tdep.c (avr_register_name): Update. * ia64-tdep.c (ia64_register_name): Update. * i386-tdep.c (i386_register_name): Update. * sparc-tdep.c (sparc32_register_name): Update. (sparc64_register_name): Update. (sparclite_register_name): Update. (sparclet_register_name): * sh-tdep.c (sh_generic_register_name): Update. (sh_sh_register_name): Update. (sh_sh3_register_name): Update. (sh_sh3e_register_name): Update. (sh_sh_dsp_register_name): Update. (sh_sh3_dsp_register_name): Update. (sh_sh4_register_name): Update. (sh_sh64_register_name): Update. * s390-tdep.c (s390_register_name): Update. * rs6000-tdep.c (rs6000_register_name): Update. * ns32k-tdep.c (ns32k_register_name_32082): Update. (ns32k_register_name_32382): Update. * d10v-tdep.c (d10v_ts2_register_name): Update. (d10v_ts3_register_name): Update. * xstormy16-tdep.c (xstormy16_register_name): Update. * vax-tdep.c (vax_register_name): Update. * v850-tdep.c (v850_register_name): Update. * m68hc11-tdep.c (m68hc11_register_name): Update. * mn10300-tdep.c (mn10300_generic_register_name): Update. (am33_register_name): Update.
2002-06-14+ * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): RenameAndrew Cagney1-2/+2
+ EXTRACT_RETURN_VALUE. + (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename + EXTRACT_STRUCT_VALUE_ADDRESS. + * gdbarch.h, gdbarch.c: Regenerate. + + * values.c (value_being_returned): Handle + DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. + (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. + + * arm-linux-tdep.c (arm_linux_init_abi): Update. + * arm-tdep.c (arm_gdbarch_init): Update. + * avr-tdep.c (avr_gdbarch_init): Update. + * cris-tdep.c (cris_gdbarch_init): Update. + * d10v-tdep.c (d10v_gdbarch_init): Update. + * ia64-tdep.c (ia64_gdbarch_init): Update. + * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. + * rs6000-tdep.c (rs6000_gdbarch_init): Update. + * s390-tdep.c (s390_gdbarch_init): Update. + * sh-tdep.c (sh_gdbarch_init): Update. + * s390-tdep.c (s390_gdbarch_init): Update. + * sparc-tdep.c (sparc_gdbarch_init): Update. + * ns32k-tdep.c (ns32k_gdbarch_init): Update. + * v850-tdep.c (v850_gdbarch_init): Update. + * vax-tdep.c (vax_gdbarch_init): Update. + * x86-64-tdep.c (x86_64_gdbarch_init): Update. + * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. + + * config/arc/tm-arc.h: Update. + * config/d30v/tm-d30v.h: Update. + * config/fr30/tm-fr30.h: Update. + * config/h8300/tm-h8300.h: Update. * config/h8500/tm-h8500.h: Update. * config/i386/tm-i386.h: Update. * config/i386/tm-ptx.h: Update. * config/i386/tm-symmetry.h: Update. * config/i960/tm-i960.h: Update. * config/m32r/tm-m32r.h: Update. * config/m68k/tm-delta68.h: Update. * config/m68k/tm-linux.h: Update. * config/m68k/tm-m68k.h: Update. * config/m88k/tm-m88k.h: Update. * config/mcore/tm-mcore.h: Update. * config/mips/tm-mips.h: Update. * config/mn10200/tm-mn10200.h: Update. * config/pa/tm-hppa.h: Update. * config/pa/tm-hppa64.h: Update. * config/sparc/tm-sp64.h: Update. * config/sparc/tm-sparc.h: Update. * config/sparc/tm-sparclet.h: Update. * config/z8k/tm-z8k.h: Update.
2002-05-30* Makefile.in (ppc_tdep_h): Define.Jason Thorpe1-132/+33
(ppc-linux-nat.o) (ppc-linux-tdep.o) (rs6000-tdep.o): Use $(ppc_tdep_h). (ppc-sysv-tdep.o) (ppcnbsd-nat.o) (ppcnbsd-tdep.o): New dependency lists. * ppc-tdep.h: Use generic OS ABI framework. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep, ppc_linux_init_abi): New functions. (ppc_sysv_abi_broken_use_struct_convention) (ppc_sysv_abi_use_struct_convention) (ppc_sysv_abi_push_arguments): Move to... * ppc-sysv-tdep.c: ...here. * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. * rs6000-tdep.c (process_note_abi_tag_sections) (get_elfosabi): Remove. (rs6000_gdbarch_init): Use generic OS ABI framework. (rs6000_dump_tdep): New function. (_initialize_rs6000_tdep): Use gdbarch_register. * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead of ppc-linux-tdep.o. * config/powerpc/nbsd.mt (TDEPFILES): Likewise. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
2002-05-202002-05-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-7/+4
* rs6000-tdep.c (rs6000_do_registers_info): Simplify code for printing vector registers.
2002-05-12* arch-utils.h (generic_register_size): Declare.Andrew Cagney1-1/+1
(generic_register_raw_size, generic_register_virtual_size): Delete declarations. * arch-utils.c (generic_register_raw_size): Delete. (generic_register_size): New function. (generic_register_virtual_size): Delete. * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make default generic_register_size. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for register_virtual_size. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * gdbint.texinfo (Target Architecture Definition): Mention defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE. (Target Architecture Definition): Mention same. Add references to web pages.
2002-04-30 * rs6000-tdep.c: Added comment describing how fpscr registerKevin Buettner1-1/+15
numbers were chosen.
2002-04-30Don't use BFD-private data to determine that an object file is 64-bit xcoff.Kevin Buettner1-1/+3
2002-04-292002-04-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+18
* rs6000-tdep.c (rs6000_extract_return_value, rs6000_store_return_value): Handle returning vectors. (rs6000_gdbarch_init): Use ppc_sysv_abi_broken_use_struct_convention for native sysv cases. * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): New function. (ppc_sysv_abi_use_struct_convention): Deal with functions returning vectors. (ppc_sysv_abi_push_arguments): Handle vector parameters. * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export.
2002-04-26* rs6000-tdep.c (rs6000_gdbarch_init): Only setAndrew Cagney1-2/+5
convert_from_func_ptr-addr when AIX / PowerOpen.
2002-04-20* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frameAndrew Cagney1-3/+6
instead of ->prev. * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. * s390-tdep.c (s390_frame_chain): Do not use ->prev. * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() instead of ->prev.
2002-04-18* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.Andrew Cagney1-2/+2
* gdbarch.h, gdbarch.c: Regenerate. * defs.h (breakpoint_from_pc_fn): Delete type definition. * target.h (memory_breakpoint_from_pc): Update declaration. * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. * arch-utils.c (legacy_breakpoint_from_pc): Update return type. * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. * mem-break.c (memory_breakpoint_from_pc): Ditto. * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. * s390-tdep.c (s390_breakpoint_from_pc): Ditto * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. * mips-tdep.c (mips_breakpoint_from_pc): Ditto. * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. * mem-break.c (default_memory_insert_breakpoint): Make `bp' a const pointer. * monitor.c (monitor_insert_breakpoint): Ditto. * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. * config/mcore/tm-mcore.h: Update copyright. * mem-break.c: Ditto. * xstormy16-tdep.c: Ditto.
2002-04-182002-04-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+19
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. (registers_powerpc_nofp): New register set for processors without floating point unit.
2002-04-17* rs6000-tdep.c (frame_initial_stack_address): UseAndrew Cagney1-35/+16
frame_register_read to read the alloca_reg.
2002-04-12Delete DEFAULT_LR_SAVE.Kevin Buettner1-3/+12
2002-04-12* defs.h (read_relative_register_raw_bytes): Delete declaration.Andrew Cagney1-2/+2
* frame.c (frame_register_read): New function. Return non-zero on success. (read_relative_register_raw_bytes_for_frame): Delete. (read_relative_register_raw_bytes): Delete. * frame.h (frame_register_read): Declare. * d30v-tdep.c: Update Copyright. Use frame_register_read. * sh-tdep.c: Ditto. * infcmd.c (do_registers_info): Ditto. * hppa-tdep.c: Ditto. * rs6000-tdep.c: Ditto. * h8500-tdep.c: Ditto. * mips-tdep.c: Ditto. * h8300-tdep.c: Ditto. * z8k-tdep.c: Ditto.
2002-04-12 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner1-2/+11
* rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for 64-bit SysV ABI.
2002-04-12 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner1-1/+5
* rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from bfd info.
2002-04-12 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner1-1/+11
* rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define register sets for these processor variants.
2002-04-11Add support for the fpscr register for Power / PowerPC targets.Kevin Buettner1-3/+7
2002-04-09 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;Kevin Buettner1-7/+9
it's no longer required.
2002-04-09 * rs6000-tdep.c (rs6000_software_single_step): UseKevin Buettner1-13/+7
rs6000_breakpoint_from_pc() to fetch breakpoint instruction and size. Use target_insert_breakpoint() and target_remove_breakpoint() to insert and remove breakpoints instead of explicit memory reads and writes.
2002-04-09 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.Kevin Buettner1-2/+1
* rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef.
2002-04-09 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner1-5/+8
* rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
2002-04-08 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner1-3/+0
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
2002-04-06* h8500-tdep.c (h8500_write_fp): Delete function.Andrew Cagney1-1/+0
* dwarf2cfi.c (cfi_write_fp): Document as not used. * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. (s390_write_fp): * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. (d10v_write_fp): Delete function. * inferior.h (write_fp, generic_target_write_fp): Delete declarations. * regcache.c (generic_target_write_fp): Delete function. (write_fp): Delete function. * gdbarch.sh (TARGET_WRITE_FP): Delete. * gdbarch.h, gdbarch.c: Regenerate. * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. (sparc64_write_fp): Delete declaration. * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. (h8500_write_fp): Delete declaration.
2002-04-05 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachableKevin Buettner1-9/+0
clause.
2002-04-012002-04-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-2/+2
* rs6000-tdep.c: Change #include of "bfd/libcoff.h" and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2002-03-282002-03-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-20/+120
* rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec vector registers handling. (skip_prologue): Handle new AltiVec instructions. Fill in new fields of frame data. (frame_get_saved_regs): Fill in information for AltiVec registers.
2002-03-222002-03-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-2/+21
* ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New function. * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. * rs6000-tdep.c (rs6000_gdbarch_init): Use different structure returning convention for SYSV ABI case, but not for GNU/Linux, FreeBSD, or NetBSD.
2002-03-222002-03-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-3/+3
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value for gdbarch_max_register_raw_size and max_register_virtual_size. Adjust copyright year.
2002-02-142002-02-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-16/+2
* rs6000-tdep.c (rs6000_gdbarch_init): Don't call find_variant_by_name, because it confuses the multiarch framework. Return NULL if there isn't an architecture with the user supplied name, instead of forcing a different one without recording the change with the multiarch machinery. (find_variant_by_name): Delete.
2002-01-29* config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...Andrew Cagney1-7/+2
* vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in #ifdef INVALID_FLOAT. * infcmd.c (do_registers_info): Ditto. * values.c (unpack_double): Ditto. Add comment. * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was already commented out.
2002-01-152002-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
[Based on work by Jim Blandy] * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. (builtin_type_vec128): Export. * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD types. (builtin_type_vec128): New builtin type for 128 bit vector registers. (build_gdbtypes): Initialize builtin_type_v16qi and builtin_type_v8hi. Create the vec128 register builtin type structure. (build_builtin_type_vec128): New function. (_initialize_gdbtypes): Register builtin_type_v16qi and builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. * rs6000-tdep.c (rs6000_register_virtual_type): Change type of AltiVec register to new builtin type.
2002-01-06last? remaining BIG_ENDIAN switchAndrew Cagney1-1/+1
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-5/+5
2001-12-302001-12-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-4/+271
* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h. * rs6000-tdep.c: Include parser-defs.h. (rs6000_register_virtual_type): Rewrite, including handling of AltiVec regs type. (altivec_register_p): New function. (rs6000_do_altivec_registers): New function. (rs6000_altivec_registers_info): New function. (rs6000_do_registers_info): New function. (R16): Define. (PPC_ALTIVEC_REGS): Define. (registers_powerpc): Add AltiVec registers. (registers_7400): Define. (variants): Add 7400 machine. (rs6000_gdbarch_init): Set the numbers of AltiVec registers. Initialize gdbarch_do)_registers_info. (rs6000_info_power_command): New function. (info_power_cmdlist): New static variable. (_initialize_rs6000_tdep): Add new 'info powerpc altivec' command. * ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields. (altivec_register_p): Export.
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.Jim Blandy1-0/+1
* gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero, set the TYPE_FLAG_UNSIGNED bit on the type. * s390-tdep.c (s390_gdbarch_init): On the S/390, characters are unsigned by default. * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and RS6000.
2001-12-112001-12-11 Michael Snyder <msnyder@redhat.com>Michael Snyder1-10/+1
* d10v-tdep.c (d10v_register_virtual_size): Delete. (d10v_gdbarch_init): Use generic_register_virtual_size. * rs6000-tdep.c (rs6000_register_virtual_size): Delete. (rs6000_gdbarch_init): Use generic_register_virtual_size. * x86-64-tdep.c (x86_64_register_virtual_size): Delete. (i386_gdbarch_init): Use generic_register_virtual_size.
2001-12-092001-12-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-23/+58
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove definition, it is now multiarched. * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add fields for special register numbers. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special regnum fields. (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields instead of hardcoded macros. (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy, ppc_push_return_address, rs6000_frame_saved_pc, frame_get_saved_regs, rs6000_frame_chain, rs6000_store_return_value): Ditto. (rs6000_stab_reg_to_regnum): New function. * ppcnbsd-nat.c (fetch_inferior_registers, store_inferior_registers, fetch_core_registers): Ditto. * ppc-linux-tdep.c (ppc_linux_in_sigtramp, ppc_linux_frame_init_saved_regs): Ditto. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, fill_gregset): Ditto. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Ditto.
2001-12-01Add cross platform SVR4 shared library support for PowerPC.Kevin Buettner1-0/+3
2001-10-21Add explicit #include of "value.h".Andrew Cagney1-0/+1