aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-28 * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCALKaz Kojima2-3/+12
for TLS relocations.
2002-11-28 * config/tc-ia64.c (md_apply_fix3): Add default case.Jakub Jelinek2-0/+7
2002-11-28daily updateAlan Modra1-1/+1
2002-11-282002-11-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney22-108/+84
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename USE_GENERIC_DUMMY_FRAMES. * gdbarch.h, gdbarch.c: Regenerate. * valops.c, frame.c: Update. * config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update. * config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update. * config/pa/tm-hppa.h, blockframe.c: Update. * vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto. * m68k-tdep.c, alpha-tdep.c: Ditto. * arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1. * mips-tdep.c: Ditto. Index: doc/ChangeLog 2002-11-28 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Host Definition): Delete documentation on USE_GENERIC_DUMMY_FRAMES.
2002-11-282002-11-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-101/+92
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT. (USE_GENERIC_DUMMY_FRAMES): Default to true. (PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy. * gdbarch.c, gdbarch.h: Re-generate. * inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition. (CALL_DUMMY_LOCATION): Delete macro definition. (PC_IN_CALL_DUMMY): Delete macro definitions. * arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy, default is already generic_pc_in_call_dummy. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Do not set use_generic_dummy_frames, default is already 1. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set call_dummy_location, default is already AT_ENTRY_POINT. * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2002-11-282002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-1/+7
* sim-main.h: Only include "idecode.h" once. * Makefile.in (SIM_EXTRA_DEPS): Define.
2002-11-282002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-14/+79
* frame.h: Update comments on set_current_frame, create_new_frame, flush_cached_frames, reinit_frame_cache, select_frame and selected_frame.
2002-11-282002-11-28 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+7
* Makefile.in (install): Move install-info to here... (all): ...from here.
2002-11-28 * symbols.c (S_SET_THREAD_LOCAL): New function.Jakub Jelinek8-13/+73
* symbols.h (S_SET_THREAD_LOCAL): New prototype. * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for TLS relocations. * config/tc-ia64.c (md_apply_fix3): Likewise. * config/tc-alpha.c (md_apply_fix3): Likewise. * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
2002-11-28 * write.c (subsegs_finish): For SEC_MERGE sections pad last fragmentJakub Jelinek2-1/+24
to entsize.
2002-11-28include/elf/ChangeLogAlan Modra56-1380/+1099
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr, elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr, Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr, elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr, Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym, Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note, elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel, elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela, elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela, elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn, Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef, elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed, elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux, elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef, Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux, Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux, Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym, Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete. (Elf_Internal_Rel): Delete. bfd/ChangeLog * elf-bfd.h: Replace occurrences of Elf32_Internal_* and Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel with Elf_Internal_Rela. * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr throughout instead. * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. Remove INLINE keyword. (elf_swap_reloc_in): Likewise. Also clear r_addend. (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand as a bfd_byte *. (elf_write_relocs): Consolidate REL and RELA code. (elf_slurp_reloc_table_from_section): Simplify REL code. (NAME(_bfd_elf,size_info)): Populate reloc swap entries. * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and RELA code. (elf_link_adjust_relocs): Likewise. Don't malloc space for temp reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. (elf_link_output_relocs): Likewise. (elf_reloc_link_order): Likewise. (elf_finish_pointer_linker_section): Likewise. (struct elf_link_sort_rela): Remove union. (elf_link_sort_cmp1): Update to suit. (elf_link_sort_cmp2): Here too. (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory over-allocation for int_rels_per_ext_rel != 1 case. * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. * elf32-i386.c: Likewise. * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c: Likewise. * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. * elfxx-mips.c (sort_dynamic_relocs): Likewise for bfd_elf32_swap_reloc_in. * elf32-arm.h: Update elf32_arm_info_to_howto calls. * elf32-mips.c: Likewise for mips_info_to_howto_rel. (mips_elf64_swap_reloc_in): Zero r_addend. (mips_elf64_be_swap_reloc_in): Likewise. (mips_elf64_slurp_one_reloc_table): Simplify. * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. * elf64-hppa.c (hppa64_elf_size_info): Likewise. * elf64-sparc.c (sparc64_elf_size_info): Likewise.
2002-11-28 * elf32-sh.c (sh_elf_relocate_section): Don't complain aboutKaz Kojima8-1/+66
unresolved debugging relocs in dynamic applications. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * ld-sh/refdbg-0-dso.d: New test. * ld-sh/refdbg-1.d: Likewise. * ld-sh/refdbg.s: Likewise. * ld-sh/refdbglib.s: Likewise.
2002-11-28 * configure: Regenerate with the proper version of autoconf.Joel Brobecker1-441/+426
2002-11-282002-11-27 David O'Brien <obrien@FreeBSD.org>David O'Brien2-1/+5
* configure.host: Fix generic FreeBSD configuration entry.
2002-11-282002-11-27 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-27/+5
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-11-28*** empty log message ***gdbadmin1-1/+1
2002-11-27daily updateAlan Modra1-1/+1
2002-11-272002-11-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-7/+17
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use deprecated pc_in_call_dummy function. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto. * config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto. * config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
2002-11-272002-11-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* ld.texinfo: Add the missing `;' to sample version scripts.
2002-11-272002-11-26 Martin M. Hunt <hunt@redhat.com>Martin Hunt6-589/+212
* Makefile.in: Remove Tix dependencies. * acinclude.m4: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Regenerated.
2002-11-272002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-9/+15
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name. (TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto. * gdbarch.c: Re-generate.
2002-11-272002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-0/+40
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_at_entry_point. * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack. * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
2002-11-27*** empty log message ***gdbadmin1-1/+1
2002-11-26daily updateAlan Modra1-1/+1
2002-11-262002-11-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+27
Fix PR gdb/723 and PR gdb/245. * Makefile.in (install-info): Run the install-info command as part of the post install steps only. (uninstall-info): New target. (uninstall): New target.
2002-11-262002-11-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-7/+48
* Makefile.in (INFO_DEPS): Define. (all): Add install-info to the rule. (info): Unse INFO_DEPS. (install-info): Rewrite. (uninstall-info): New. (uninstall): New.
2002-11-26* dwarf2dbg.c (scale_addr_delta): New.DJ Delorie2-8/+28
(size_inc_line_addr): Use it. (emit_inc_line_addr): Use it.
2002-11-262002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney15-34/+86
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename pc_in_call_dummy_before_text_end (deprecated_pc_in_call_dummy_after_text_end): Rename pc_in_call_dummy_after_text_end. (deprecated_pc_in_call_dummy_on_stack): Rename pc_in_call_dummy_on_stack. (deprecated_pc_in_call_dummy_at_entry_point): Rename pc_in_call_dummy_at_entry_point. * m68k-tdep.c (m68k_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end) (deprecated_pc_in_call_dummy_on_stack) (deprecated_pc_in_call_dummy_at_entry_point): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
2002-11-26 * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.Alan Modra6-20/+54
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs on a relocatable link. Comment typos. * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure in the order they are declared. Clear elf_hash_value too. (_bfd_elf_link_hash_table_init): Likewise assign in order. Clear eh_info and tls_segment. * elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets sorted when discarding relocs by turning them into R_*_NONE. * libbfd.c (warn_deprecated): Comment spelling. * po/SRC-POTFILES.in: Regenerate.
2002-11-26 * config/tc-cris.c (cris_relax_frag): Fix typo in comment.Hans-Peter Nilsson2-5/+9
(md_assemble): Don't pass on branches to constants as relaxable. Tweak comment.
2002-11-26 * gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.Hans-Peter Nilsson3-0/+29
2002-11-26 * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz8-67/+193
* configure.in: Check for pread64. * config.in: Regenerated. * configure: Regenerated. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory. * linux-proc.c (linux_proc_xfer_memory): New function. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
2002-11-26*** empty log message ***gdbadmin1-1/+1
2002-11-25daily updateAlan Modra1-1/+1
2002-11-252002-11-25 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+8
* dwarf2read.c (scan_partial_symbols): Descend into namespace pdi's with no name.
2002-11-25* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.DJ Delorie2-2/+6
2002-11-25* xstormy16-opc.c: Regenerate.DJ Delorie2-2/+6
2002-11-252002-11-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5 16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
2002-11-25* symfile.c (init_objfile_sect_indices): New function.Jim Blandy2-35/+49
(default_symfile_offsets): Move the section-index-initializing stuff into init_objfile_sect_indices, and call that.
2002-11-25* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.Jim Blandy2-4/+9
(SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
2002-11-25* symfile.c (syms_from_objfile): Adjust indentation.Jim Blandy2-6/+10
2002-11-25* symfile.c (symbol_file_add): Flush gdb_stdout even if from_ttyJim Blandy2-1/+10
|| info_verbose isn't true.
2002-11-25Patch from Kenneth Chen to fix brl disassembly.Jim Wilson2-2/+6
* ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
2002-11-25* lib/mi-support.exp (mi_delete_breakpoints): Change name ofJim Blandy2-1/+6
function appearing in error message.
2002-11-25 * gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in directSvein Seldal2-15/+8
mode
2002-11-252002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-17/+14
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change default to get_frame_base. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (default_frame_address): Delete function. * arch-utils.h (default_frame_address): Delete declaration
2002-11-25*** empty log message ***gdbadmin1-1/+1
2002-11-242002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+7
* varobj.c (find_frame_addr_in_frame_chain): Use get_frame_base instead of FRAME_FP, obvious fix.
2002-11-24daily updateAlan Modra1-1/+1
2002-11-242002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-73/+128
* frame.h (FRAME_FP): Delete macro. (get_frame_base): New function declaration. * frame.c (get_frame_base): New function. (get_frame_id): Use ->frame. (frame_find_by_id): Rewrite to use get_frame_id. * blockframe.c: Use get_frame_base instead of FRAME_FP. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.