aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-01daily updateAlan Modra1-1/+1
2003-11-01 * frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)Kevin Buettner3-18/+95
(opcodes/frv-desc.h): Include. (iacc0h_regnum, iacc0l_regnum): Define. (last_spr_regnum, frv_num_regs): Update. (new_variant): Don't supply default names for holes in the SPRs. Supply names for iacc0h_regnum and iacc0l_regnum. (frv_register_type): Use symbolic constants first_fpr_regnum and last_fpr_regnum instead of hardcoded constants 64 and 127. Use builtin_type_int instead of builtin_type_int32. (frv_register_sim_regno): New function. (frv_gdbarch_init): Call set_gdbarch_register_sim_regno(). * Makefile.in (gdb_sim_frv_h): Define. (frv-tdep.o): Update dependencies.
2003-11-01 * sim-frv.h: New file.Kevin Buettner2-0/+57
2003-11-01*** empty log message ***gdbadmin1-1/+1
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-26/+11
* avr-tdep.c (avr_frame_this_id): Do not call deprecated_inside_entry_file. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. * m32r-tdep.c (m32r_frame_this_id): Ditto. * d10v-tdep.c (d10v_frame_this_id): Ditto. * arm-tdep.c (arm_prologue_this_id): Ditto. * alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto.
2003-10-31daily updateAlan Modra1-1/+1
2003-10-31* elfread.c (elf_symtab_read): Allocate correct number of tailJim Blandy2-1/+14
elements to sectinfo structure. (Fix from Woody LaRue.)
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-26/+18
* stack.c (return_command): Use get_frame_type, instead of CALL_DUMMY_HAS_COMPLETED. * inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition. * config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro.
2003-10-31* x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don'tMark Kettenis2-2/+9
explicitly specify size of array. (x86_64_linux_init_abi): Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-17/+20
* s390-tdep.c (s390_cannot_extract_struct_value_address): New function. (s390_gdbarch_init): Set extract_struct_value_address. * arch-utils.c (generic_cannot_extract_struct_value_address): Delete function. * arch-utils.h (generic_cannot_extract_struct_value_address): Delete definition.
2003-10-31* i386-linux-nat.c (fetch_core_registers): Remove.Mark Kettenis2-94/+7
(linux_elf_core_fns): Remove. (_initialize_i386_linux_nat): Remove.
2003-10-31 * config/tc-i860.c (md_pcrel_from): Fix typo in comment.Christian Groessler2-1/+5
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-9/+49
* solib-svr4.c: Update copyright. Include "bfd-target.h" and "exec.h". (exec_entry_point): New function. (enable_break): Create a "tmp_bfd_target", use that and entry_point_address when computing the relocation offset. (svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops. * Makefile.in (solib-svr4.o): Update dependencies.
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-5/+196
* defs.h (XZALLOC): Define. * target.h (struct target_ops): Add "to_data"; * bfd-target.h, bfd-target.c: New files. * Makefile.in (SFILES): Add "bfd-target.c". (COMMON_OBS): Add "bfd-target.o". (bfd-target.o): Specify dependencies. (bfd_target_h): Define. * defs.h (XZALLOC): Define.
2003-10-31 Fix more typosDave Brolley1-1/+1
2003-10-31Fix typos.Dave Brolley1-2/+2
2003-10-312003-10-31 Dave Brolley <brolley@redhat.com>Dave Brolley3-8/+38
* frv-sim.h (REGNUM_LR): Removed. (REGNUM_SPR_MIN,REGNUM_SPR_MAX): New macros. * frv.c (frvbf_fetch_register): Fetch SPR registers based on REGNUM_SPR_MIN and REGNUM_SPR_MAX. Check whether SPRs are implemented. Return 0 for an unimplemented register. Return the length of the data for an implemented register. (frvbf_store_register): Ditto.
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-2/+42
* rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set adjust_breakpoint_address. * Makefile.in (ppc-sysv-tdep.o): Add $(target_h). * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare. * ppc-sysv-tdep.c: Include "target.h". Update copyright. (ppc64_sysv_abi_adjust_breakpoint_address): New function.
2003-10-312003-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-109/+76
* target.h (struct target_ops): Replace "to_read_partial" and "to_write_partial" with "to_xfer_partial". Update comments. * target.c (debug_to_write_partial): Delete function. (debug_to_xfer_partial): Replace debug_to_read_partial. (add_target, update_current_target, setup_target_debug): Set "to_xfer_partial" instead of "to_read_partial" and "to_write_partial". (default_xfer_partial): Replace "default_write_partial". (default_read_partial): Delete. (target_read_partial, target_write_partial): Call "to_xfer_partial". * remote.c (init_remote_ops): Set "to_xfer_partial". (init_remote_async_ops): Ditto. (remote_xfer_partial): Replace "remote_read_partial".
2003-10-31merge from gccDJ Delorie2-2/+6
2003-10-31When looking for a previously loaded file compare the local_sym_name not theNick Clifton2-4/+19
filename, as the filename might have been transformed via the search directory path lookup. If the sought-for file has not been found in the input file chain then create a new node with the search_dirs_flag set so that the entire set of directory paths will be scanned for it.
2003-10-31Minor text correctionsNick Clifton2-4/+41
2003-10-31Index: sim/frv/ChangeLogAndrew Cagney28-94/+123
2003-10-30 Andrew Cagney <cagney@redhat.com> * traps.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/d10v/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * simops.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/common/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: ld/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: bfd/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * syms.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. * bfd-in2.h: Re-generate.
2003-10-31*** empty log message ***gdbadmin1-1/+1
2003-10-30* i386-tdep.c (i386_supply_fpregset): Support floating-pointMark Kettenis2-1/+15
registers in `fxsave' format. (i386_regset_from_core_section): Deal with ".reg-xfp" sections.
2003-10-30daily updateAlan Modra1-1/+1
2003-10-30* i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.Mark Kettenis2-0/+52
(i386_linux_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs and tdep->sizeof_gregset.
2003-10-30merge from gccDJ Delorie1-5/+12
2003-10-30* i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitlyMark Kettenis2-7/+9
specify size of array. (i386_linux_init_abi): Remove initialization of TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
2003-10-30* config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.Mark Kettenis3-2/+6
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
2003-10-30* fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label inMark Kettenis2-0/+10
the ELF header.
2003-10-30merge from gccDJ Delorie2-2/+7
2003-10-30 * elfxx-ia64.c: Include objalloc.h, hashtab.h.Jakub Jelinek2-85/+108
(struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym fields. (struct elfNN_ia64_local_hash_table): Remove. (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type to htab_t. Add loc_hash_memory field. (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry): Removed. (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New functions. (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for loc_hash_table. Initialize loc_hash_memory. (elfNN_ia64_hash_table_free): New function. (elfNN_ia64_local_hash_lookup): Remove. (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse callback. (elfNN_ia64_dyn_sym_traverse): Use htab_traverse. (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table. (bfd_elfNN_bfd_link_hash_table_free): Define.
2003-10-30Do not dump the contents of SHT_NOBITS sections - they have no file spaceNick Clifton2-1/+6
assigned to their contents.
2003-10-30 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versionedAlan Modra2-24/+18
symbol string in place.
2003-10-30Check the correct arch_info object's mach field: all PowerPC machines areNick Clifton2-1/+7
supersets of the original rs6000, but not later rs6000 machines.
2003-10-30Add second argument to rcpp instruction.Nick Clifton2-2/+7
2003-10-30oops - use correct version of automake to regenerate Makefile.inNick Clifton1-471/+467
2003-10-30 * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".Alan Modra2-41/+40
Add "val" and "sval" fields. (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete. (read_attribute_value): Expand and adjust DW_* occurrences. (scan_unit_for_functions, parse_comp_unit): Likewise.
2003-10-30Switch to ELF targeted VxWorks targetsNick Clifton5-472/+523
2003-10-30Remove separate vxworks stanza; merge withother common ELF triples.Nick Clifton2-10/+21
2003-10-30*** empty log message ***gdbadmin1-1/+1
2003-10-29daily updateAlan Modra1-1/+1
2003-10-29 * merge.c (struct sec_merge_sec_info): Update comment.Alan Modra3-263/+199
(struct sec_merge_hash_entry): Remove entsize. (sec_merge_hash_lookup): Only adjust alignment when creating. (sec_merge_emit): Remove register keyword. (cmplengthentry, last4_eq, last_eq): Delete. (strrevcmp, strrevcmp_align, is_suffix): New. (merge_strings): Use them to implement fast suffix merging. * elf-strtab.c (struct elf_strtab_hash_entry): Update comments. Make "len" signed. (_bfd_elf_strtab_add): Lose on >2G strings. (_bfd_elf_strtab_emit): Don't emit strings with len < 0. (cmplengthentry, last4_eq): Delete. (strrevcmp, is_suffix): New. (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
2003-10-29* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.Mark Kettenis3-2/+6
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and core-regset.o.
2003-10-29* fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.Mark Kettenis2-16/+9
2003-10-292003-10-29 Daniel Jacobowitz <drow@mvista.com>Phil Blundell2-319/+765
* elf32-arm.h (elf32_arm_final_link_relocate): Move check for SEC_ALLOC. 2003-10-29 Philip Blundell <philb@gnu.org> * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New code sequence. (PLT_HEADER_SIZE): New. (struct elf32_arm_pcrel_relocs_copied): Rename to ... (struct elf32_arm_relocs_copied): ... this. Count both pcrel and non-pcrel relocs. All uses updated. (struct elf32_arm_link_hash_table): Add pointers to dynamic linker sections and symbol/section mapping cache. (create_got_section): New. (elf32_arm_create_dynamic_sections): New. (elf_backend_create_dynamic_sections): Use it. (elf32_arm_final_link_relocate): Support garbage collection of relocs. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Likewise. (elf32_arm_copy_indirect_symbol): New. (elf32_arm_link_hash_table_create): Initialise new fields. (elf32_arm_gc_sweep_hook): Implement. (elf32_arm_discard_copies): Delete. (elf32_arm_finish_dynamic_symbol): Use new PLT code. (elf32_arm_finish_dynamic_sections): Likewise. (elf_backend_can_refcount): Define. (elf_backend_copy_indirect_symbol): Likewise. (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE.
2003-10-29* corelow.c: Include "arch-utils.h", "regset.h" andMark Kettenis2-2/+56
"gdb_assert.h". (core_gdbarch): New variable. (sniff_core_bfd): Don't sniff if we have support for register sets in CORE_GDBARCH. (core_close): Reset CORE_GDBARCH. (core_open): Initialize CORE_GDBARCH. (get_core_register_section): Use register sets if they are supported by CORE_GDBARCH. (get_core_registers): Don't print error message if we have support for register sets in CORE_GDBARCH.
2003-10-29Make a generic VxWorks entryNick Clifton3-14/+11
2003-10-292003-10-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+13
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the default PPC machine, register 32-bit and 64-bit PPC, and rs6k.