aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-18<top level>Nathanael Nerode7-181/+547
* configure.in: Switch more things to use maybe dependencies. Rearrange a little. Use GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.tpl: Switch more things to use maybe dependencies. * Makefile.in: Regenerate. <config> * config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD, _GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET, GCC_TOPLEV_SUBDIRS.
2003-05-182003-05-18 David Carlton <carlton@bactrian.org>David Carlton2-35/+50
* symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to 'linkage_name'. Add comment. (lookup_symbol_aux_local): Rename 'mangled_name' argument to 'linkage_name'. (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) (lookup_block_symbol): Ditto.
2003-05-18*** empty log message ***gdbadmin1-1/+1
2003-05-17 * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section inAndreas Schwab2-28/+30
elf_section_data during processing of pc-relative and absolute relocations. (elf_m68k_relocate_section): Use the cached reloc section instead of computing it again. Fix handling of visibility. Don't modify addend when copying over a relocation into the output.
2003-05-17 * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.Andreas Jaeger2-2/+8
(libopcodes_la_DEPENDENCIES): Add libbfd.la. * Makefile.in: Regenerated.
2003-05-17 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCALAlan Modra6-43/+53
to trim plt entries. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test dynamic_sections_created here. Update comment. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. Fix comment. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL to trim plt entries. Move undefweak non-default visibility test.. (allocate_dynrelocs): ..from here. Fix comment. * elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with STV_DEFAULT rather than comparing with zero. * elflink.c (_bfd_elf_merge_symbol): Likewise. (_bfd_elf_fix_symbol_flags): Likewise. Format comment.
2003-05-172003-05-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney56-121/+196
* gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. * gdbarch.h, gdbarch.c: Re-generate. * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. * TODO (REGISTER_BYTES): Delete reference. * alpha-tdep.c (alpha_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. (ns32k_gdbarch_init_32382): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * i386-linux-tdep.c (i386_linux_init_abi): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * sparc-tdep.c (sparc_pop_frame): Update. * rs6000-tdep.c (rs6000_pop_frame): Update. * remote.c (init_remote_state): Update. (remote_prepare_to_store): Update. * remote-vx.c (vx_prepare_to_store): Update. * remote-sds.c (sds_fetch_registers): Update. (sds_prepare_to_store): Update. * remote-array.c: Update. * regcache.c (init_legacy_regcache_descr): Update. (init_regcache_descr): Update. * mips-tdep.c (mips_eabi_extract_return_value): Update. (mips_o64_extract_return_value): Update. * irix5-nat.c (fetch_core_registers): Update. * irix4-nat.c (fetch_core_registers): Update. * i386-tdep.h: Update. * hppa-tdep.c (pa_do_registers_info): Update. (pa_do_strcat_registers_info): Update. * cris-tdep.c (cris_register_bytes_ok): Update. * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. (REGISTER_BYTES_OK): Update. * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. Index: doc/ChangeLog 2003-05-16 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace REGISTER_BYTES with DEPRECATED_REGISTER_BYTES. Fix typo, DEPRECATED_REGISTER_SIZE instead of REGISTER_BYTE. Index: mi/ChangeLog 2003-05-16 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_setup_architecture_data):
2003-05-17 * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd nullThiemo Seufer2-0/+10
pointers. (_bfd_set_gp_value): Likewise.
2003-05-17daily updateAlan Modra1-1/+1
2003-05-17*** empty log message ***gdbadmin1-1/+1
2003-05-162003-05-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+5
From Bernd Schmidt <bernds@redhat.com> * h8.h (E_H8_MACH_H8300SX): New.
2003-05-162003-05-16 Michael Snyder <msnyder@redhat.com>Michael Snyder5-3/+48
From Bernd Schmidt <bernds@redhat.com> * archures.c (bfd_mach_h8300sx): New. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan)): Add support for h8300sx. (h8300sx_info_struct): New. (h8300s_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add support for h8300sx. (elf32_h8_final_write_processing): Likewise. (elf32_h8_relax_section): Likewise.
2003-05-162003-05-15 Andreas Schwab <schwab@suse.de>Andreas Jaeger3-0/+9
* Makefile.tpl (install-opcodes): Define. * Makefile.in: Rebuild.
2003-05-16Replace i[3456]86 with i[3-7]86Nick Clifton18-429/+418
2003-05-16New Romanian translationNick Clifton4-4/+456
2003-05-16Use $(SHELL) whenever we invoke move-if-change.Ian Lance Taylor6-88/+107
2003-05-16 * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.Ian Lance Taylor2-250/+10
(vax_print_insn, print_insn_arg): Remove static functions. (vax_gdbarch_init): Call set_gdbarch_print_insn with print_insn_vax from opcodes library. (_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
2003-05-162003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu7-37/+65
* config/default.exp (gcc_ld_flag): New. Make the newly built linker available to gcc. * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag to gcc. * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared libraries. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared libraries. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. * ld-elfweak/elfweak.exp: Use PIC for shared libraries.
2003-05-16*** empty log message ***gdbadmin1-1/+1
2003-05-16daily updateAlan Modra1-1/+1
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney21-200/+113
* arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. * target.h (memory_breakpoint_from_pc): Delete declaration. * mem-break.c (memory_breakpoint_from_pc): Delete function. * arch-utils.c (legacy_breakpoint_from_pc): Delete function. * monitor.c (monitor_insert_breakpoint): Use gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. * gdbarch.h, gdbarch.c: Re-generate. * sparc-tdep.c (sparc_breakpoint_from_pc): New function. (sparc_gdbarch_init): Set breakpoint_from_pc to sparc_breakpoint_from_pc. * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. (BREAKPOINT_FROM_PC): Define. (sparc_breakpoint_from_pc): Declare. * hppa-tdep.c (hppa_breakpoint_from_pc): New function. * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. (BREAKPOINT_FROM_PC): Define. (BREAKPOINT): Delete macro. * target.h: Update comment. * s390-tdep.c (s390_gdbarch_init): Update comments. * remote.c: Update comments. * remote-mips.c: Update comments. * proc-api.c (write_with_trace): Do not check for a breakpoint. * mem-break.c: Update comment. * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. (ia64_memory_insert_breakpoint): Update. * config/sparc/tm-sparc.h: Update comment. * config/pa/tm-hppa64.h: Update comment. * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. (rs6000_breakpoint_from_pc): Update. * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. (mips_breakpoint_from_pc): Update. (mips_dump_tdep): Update.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-11/+13
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. * minsyms.c (lookup_minimal_symbol): Inline DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-13/+16
* c-lang.c (c_printstr): Delete "extern inspect_it" declaration. * p-valprint.c (pascal_object_print_value_fields): Ditto. * p-lang.c (pascal_printstr): Ditto. * objc-lang.c (objc_printstr): Ditto. * m2-lang.c (m2_printstr): Ditto. * jv-valprint.c (java_print_value_fields): Ditto. * f-lang.c (f_printstr): Ditto. * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and for repeat_count_threshold. * Makefile.in (cp-valprint.o): Update dependencies.
2003-05-152003-05-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-7/+84
* ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. (examine_prologue): Support looking through leaf functions, knowing they start with mov r2,r12. Support skipping over indirect stores of the input registers. Upon hitting a non-nop branch instruction or predicated instruction, bail out by setting lim_pc to the current pc value in the loop. At the end, if the lim_pc value is still beyond our calculated value and we have trust_limit set, use the lim_pc value.
2003-05-15libiberty/ChangeLog:Jim Blandy5-6/+34
2003-05-14 Jim Blandy <jimb@redhat.com> * hex.c (_hex_value): Make this unsigned. (hex_value): Update documentation for new return type. hex_value now expands to an unsigned int expression, to avoid unexpected sign extension when we store it in a bfd_vma, which is larger than int on some platforms. * functions.texi: Regenerated. include/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * libiberty.h (hex_value): Make the value an unsigned int, to avoid unexpected sign-extension when cast to unsigned types larger than int --- like bfd_vma, on some platforms. (_hex_value): Update declaration.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-7/+16
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename generic_find_dummy_frame. * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. (deprecated_generic_find_dummy_frame): Update. (deprecated_read_register_dummy): Update. * frame.c (deprecated_generic_get_saved_register): Update.
2003-05-15* avr-tdep.c (avr_breakpoint_from_pc): New function.Theodore A. Roth2-0/+18
(avr_gdbarch_init): Set breakpoint_from_pc method.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-8/+9
* regcache.c (build_regcache): Set deprecated_register_valid directly. (deprecated_grub_regcache_for_register_valid): Delete function. * regcache.h (deprecated_grub_regcache_for_register_valid): Delete declaration.
2003-05-152003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-152003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+9
* elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected symbol.
2003-05-152003-05-15 David Carlton <carlton@bactrian.org>Elena Zannoni2-52/+17
Committed by Elena Zannoni <ezannoni@redhat.com> * symtab.c (lookup_symbol_aux): Delete calls to lookup_symbol_aux_minsyms. (lookup_symbol_aux_minsyms): Comment out function and prototype. Delete lookup by mangled name.
2003-05-152003-05-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
* elflink.h (elf_link_check_versioned_symbol): Also allow the base version.
2003-05-15 * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL.Alan Modra4-6/+34
(elf_i386_relocate_section): Likewise. * elf32-ppc.c (allocate_dynrelocs): Likewise. (ppc_elf_relocate_section): Likewise. * elf64-ppc.c (allocate_dynrelocs): Likewise. (ppc64_elf_relocate_section): Likewise.
2003-05-15 * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case.Thiemo Seufer2-7/+5
2003-05-15 * config/tc-mips.h: Fix comment formatting.Thiemo Seufer2-1/+5
2003-05-15daily updateAlan Modra1-1/+1
2003-05-15*** empty log message ***gdbadmin1-1/+1
2003-05-142003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* sim/h8300: New directory. Tests for Renesas h8/300 family.
2003-05-14 * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' toKevin Buettner2-14/+24
correctly indicate an empty stack and ``stack_allocated'' to the indicate the number of elements initially allocated. (dwarf_expr_grow_stack): Simplify method for computing new stack size. Don't loop infinitely if ``stack_len'' is zero. (execute_stack_op): Move ``ctx->in_reg'' initialization out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to be used in conjuction with DW_OP_piece. Revise error message accordingly.
2003-05-14New ChangeLogMichael Snyder1-191/+9
2003-05-142003-05-14 Michael Snyder <msnyder@redhat.com>Michael Snyder35-121/+14758
* addb.s, addw.s, addl.s, addw.s, addx.s, andb.s, andw.s, andl.s, bfld.s, brabc.s, bra.s, bset.s, cmpb.s, cmpw.s, cmpl.s, daa.s, das.s, dec.s, extw.s, extl.s, inc.s, jmp.s, ldc.s, ldm.s, mac.s, mova.s, movb.s, movw.s, movl.s, movmd.s, movsd.s, neg.s, nop.s, not.s, orb.s, orw.s, orl.s, rotl.s, rotr.s, rotxl.s, rotxr.s, shal.s, shar.s, shll.s, shlr.s, stc.s, subb.s, subw.s, subl.s, xorb.s, xorw.s, xorl.s: New files. * allinsn.exp: New file.
2003-05-14Remove for renaming with 8.3 dos-compatible names.Michael Snyder2-1726/+0
2003-05-14* gdbint.texinfo (Breakpoint Handling): Correct a double negative.Theodore A. Roth2-1/+5
2003-05-14* MAINTAINERS: Update my email address.Theodore A. Roth3-4/+9
* avr-tdep.c: Ditto.
2003-05-14Remove, rename using dos-compatible 8.3 names.Michael Snyder21-11266/+0
2003-05-142003-05-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+38
Roland McGrath <roland@redhat.com> * gdb.threads/linux-dp.exp: Account for fact that in nptl model there is no manager thread.
2003-05-142003-05-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni50-446/+471
* symtab.h (enum domain_enum): Rename from namespace_enum. (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, TYPES_NAMESPACE, METHODS_NAMESPACE. (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. (struct symbol, struct partial_symbol): Rename field 'namespace_enum namespace' to 'domain_enum domain'. (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. Delete old define kludge for namespace. * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all occurrences of the above. 2003-05-12 Elena Zannoni <ezannoni@redhat.com> * mi-mi-cmd-stack.c (list_args_or_locals): Rename VAR_NAMESPACE to VAR_DOMAIN.
2003-05-14 * Makefile.in (install-only): Use $(SHELL) when runningIan Lance Taylor2-2/+7
mkinstalldirs.
2003-05-14*** empty log message ***gdbadmin1-1/+1
2003-05-13 * MAINTAINERS (write after approval): Add myself.Ian Lance Taylor2-0/+3