aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-12 * bfd.c (struct bfd_preserve): New.Alan Modra11-723/+1038
(bfd_preserve_save): New function. (bfd_preserve_restore): Ditto. (bfd_preserve_finish): Ditto. * bfd-in2.h: Regenerate. * mach-o.c: Formatting. (bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned. (bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish. (bfd_mach_o_core_p): Ditto. (bfd_mach_o_scan): Pass in mdata. * mach-o.h (bfd_mach_o_scan): Update prototype. * pef.c: Formatting. (bfd_pef_object_p): Use bfd_preserve_save/restore/finish. (bfd_pef_xlib_object_p): Ditto. (bfd_pef_scan): Pass in mdata. Move version check to bfd_pef_object_p. * pef.h (bfd_pef_scan): Update prototype. * xsym.c: Formatting, K&R fixes. (bfd_sym_object_p): Use bfd_preserve_save/restore/finish. (bfd_sym_scan): New function split out from bfd_sym_object_p. * xsym.h (bfd_sym_scan): Declare. * elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish. (elf_core_file_p): Likewise. * targets.c (_bfd_target_vector): Revert 2002-11-08 change.
2002-11-12 * ldlang.c (lang_add_section): Discard debugging sections that haveAlan Modra2-4/+10
been marked SEC_EXCLUDE.
2002-11-12Add new/updated Danish translationsNick Clifton12-335/+2599
2002-11-12 * emultempl/ppc64elf.em (ppc_before_allocation): New function.Alan Modra3-60/+82
(LDEMUL_BEFORE_ALLOCATION): Define. (gld${EMULATION_NAME}_finish): Run discard_info for relocatable linking. * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
2002-11-12 * elflink.h (elf_link_add_object_symbols): Optimize stabs forAlan Modra4-24/+82
relocatable link too. (elf_link_input_bfd): When emitting relocs, adjust offsets for eh_frame and stab sections. Zap deleted relocs. (elf_reloc_symbol_deleted_p): Return true for zero r_symndx. (elf_bfd_discard_info): Run for relocatable link too. * elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd. Make global. Handle ld -r case. (ppc64_elf_size_dynamic_sections): Don't call edit_opd from here. * elf64-ppc.h (ppc64_elf_edit_opd): Declare.
2002-11-12 * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.Alan Modra6-189/+199
(struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise. (struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise. (enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR. (struct eh_frame_hdr_info): Add "hdr_sec", remove "split". (struct elf_link_hash_table): Add eh_info. (struct elf_obj_tdata): Change eh_frame_hdr to an asection *. (_bfd_elf_discard_section_eh_frame): Update prototype. (_bfd_elf_discard_section_eh_frame_hdr): Likewise. (_bfd_elf_write_section_eh_frame): Likewise. (_bfd_elf_write_section_eh_frame_hdr): Likewise. * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec" param. Get "hdr_info" from link hash table. (_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param. Get header section from link hash table. Save header section to elf_tdata. (_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec". Use header section from link hash table. Don't alloc hdr_info. Clear hdr_sec instead of setting "strip". (_bfd_elf_eh_frame_section_offset): Formatting. (_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param. Get header section from link hash table. (_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param. Get header section from link hash table. * elf.c (map_sections_to_segments): Use cached eh_frame_hdr. (get_program_header_size): Likewise. (_bfd_elf_section_offset): Formatting. * elflink.h (elf_link_create_dynamic_sections): Stash eh frame header section pointer in link hash table. (elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr and _bfd_elf_write_section_eh_frame calls. Update comment about eh_frame entries. (elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and _bfd_elf_discard_section_eh_frame_hdr calls. Remove "ehdr". * po/SRC-POTFILES.in: Regenerate.
2002-11-12 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zeroAlan Modra5-70/+64
relocs for discarded FDEs. Remove dead code. (_bfd_elf_write_section_eh_frame_hdr): Remove dead code. * elflink.h (elf_bfd_discard_info): Don't save edited relocs. Tidy conditions under which stabs are edited. Formatting. * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows from discarded relocs. * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output section adjustments after testing magic values.
2002-11-12 * gas/ppc/booke.d: Adjust output for corrected condition reg.Alan Modra2-2/+6
2002-11-12 * ppc-dis.c (print_insn_powerpc): Correct condition register display.Alan Modra2-13/+12
2002-11-12* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.Christopher Faylor2-1/+7
2002-11-122002-11-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni9-73/+264
* findvar.c (read_var_value): Reenable TLS code. 2002-11-11 Elena Zannoni <ezannoni@redhat.com> Jim Blandy <jimb@redhat.com> * gdb_thread_db.h (enum): Add TD_NOTALLOC. * target.c (update_current_target): Add to_get_thread_local_address. * target.h (to_get_thread_local_address): Export. (target_get_thread_local_address): Define. (target_get_thread_local_address_p): Define. * thread-db.c: Include solib-svr4.h. (td_thr_tls_get_addr_p): Define. (thread_db_load): Get a pointer to td_thr_tls_get_addr. (thread_db_get_thread_local_address): New function. (init_thread_db_ops): Initialize to_get_thread_local_address. * configure.in: Add test for TD_NOTALLOC in thread_db.h. * configure: Regenerate. * config.in: Regenerate.
2002-11-12*** empty log message ***gdbadmin1-1/+1
2002-11-11 * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): CorrectAlan Modra2-4/+9
references to large plt symbols.
2002-11-112002-11-11 David Carlton <carlton@math.stanford.edu>David Carlton2-40/+58
* linespec.c (set_flags): New function. (decode_line_1): Move code into set_flags.
2002-11-11 * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' whenAlan Modra2-79/+83
looking for an unused section name.
2002-11-11 * rddbg.c (read_section_stabs_debugging_info): Also recognizeAlan Modra2-9/+15
LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.
2002-11-11daily updateAlan Modra1-1/+1
2002-11-112002-11-11 David Carlton <carlton@math.stanford.edu>David Carlton2-33/+68
* linespec.c (decode_line_1): Move chunks of code to separate functions. (initialize_defaults): New function. (decode_indirect): New function.
2002-11-11* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list ofChristopher Faylor2-0/+7
restricted auto-export libs.
2002-11-11* pe-dll.c (autofilter_liblist): Generalize library names to catch moreChristopher Faylor2-6/+11
creative library naming instances like, e.g., libstdc++-2.a.
2002-11-11* configure.in: Use .gdbinit under Cygwin.Christopher Faylor3-2/+7
* configure: Regenerate.
2002-11-11* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.Christopher Faylor2-1/+8
2002-11-112002-11-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+20
* gdbmi.texinfo (-var-assign): Add comments about interaction with -var-update and add an example. Part of fix for gdb/702.
2002-11-11* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from cgfChristopher Faylor2-1/+7
maintainership.
2002-11-112002-11-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+6
* blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr instead of void_code_ptr. (sigtramp_saved_pc): Ditto.
2002-11-11* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.Christopher Faylor2-1/+5
2002-11-112002-11-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+14
* x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's i386_fp_regnum_p.
2002-11-11 * Makefile.am: Added tic4x dependecySvein Seldal3-3/+7
* Makefile.in: Regenerate
2002-11-11 gas tic4x target enhancements (long list - see gas/ChangeLog andSvein Seldal5-160/+331
include/ChangeLog)
2002-11-11 * ld-elf/sec64k.exp: New test.Hans-Peter Nilsson3-1/+168
* lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" to a source file starting with "/".
2002-11-11 * macro.c (get_any_string): Correct logic for not going beyond endHans-Peter Nilsson2-1/+6
of in->ptr[].
2002-11-11 Retire common MPW configury bits.Stan Shebs13-571/+6
* mpw-mh-mpw: Remove. * mpw: Remove directory along with all of its files.
2002-11-11 * coff-h8300.c: Fix formatting.Kazu Hirata4-143/+144
* elf32-h8300.c: Likewise. * reloc16.c: Likewise.
2002-11-11 * gdbtypes.h (struct main_type): Move artificial flag out ofDaniel Jacobowitz8-15/+64
loc. New member of ``struct field'' named static_kind. Reduce overloaded meaning of bitsize. (FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR) (TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise. (FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros. * ada-lang.c (fill_in_ada_prototype): Initialize static_kind for new fields. (template_to_fixed_record_type, template_to_static_fixed_type) (to_record_with_fixed_variant_part): Likewise. * coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise. * dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise. * dwarfread.c (struct_type, enum_type): Likewise. * hpread.c (hpread_read_enum_type) (hpread_read_function_type, hpread_read_doc_function_type) (hpread_read_struct_type): Likewise. * mdebugread.c (parse_symbol): Likewise.
2002-11-11*** empty log message ***gdbadmin1-1/+1
2002-11-10daily updateAlan Modra1-1/+1
2002-11-10 * config/tc-mmix.c (get_putget_operands): Mark both possibleHans-Peter Nilsson2-4/+8
operands as invalid at beginning.
2002-11-102002-11-10 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-9/+33
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy. * stack.c (print_frame_info_base): Update. (print_frame_info_base, frame_info): Update. * sparc-tdep.c (sparc_init_extra_frame_info): Update. (sparc_frame_saved_pc): Update. * ada-lang.c (find_printable_frame): Update. * breakpoint.c (deprecated_frame_in_dummy): Update.
2002-11-10 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:Hans-Peter Nilsson2-0/+9
Initialize target of fixup to zero.
2002-11-10 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,Hans-Peter Nilsson5-10/+15
ld-mmix/local7.d: Tweak for change in readelf output.
2002-11-10*** empty log message ***gdbadmin1-1/+1
2002-11-09daily updateAlan Modra1-1/+1
2002-11-09* i386-linux-nat.c (ORIG_EAX): Define to -1 if not alreadyMark Kettenis3-140/+84
defined. (regmap): Extend to cover all registers. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE, OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove definitions. (fetch_register, sore_register): Simplify. (old_fetch_inferior_registers, old_store_inferior_registers): Remove functions. (cannot_fetch_register, cannot_store_register): Change implementation to use regmap array to decide which registers cannot be fetched/stored. This removes $orig_eax from the registers that cannot be fetched/stored. (fetch_inferior_registers): Call fetch_register directly instead of calling old_fetch_inferior_registers. (store_inferior_registers): Call store_register directly instead of calling old_store_inferior_registers. (i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER. (i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER. * config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.
2002-11-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2-0/+21
* i387-tdep.c (i387_supply_register): When called with NULL as a buffer, mark the register as not provided (to mirror the behavior of supply_register). (i387_supply_fxsave): Ditto. (i387_supply_fsave): Ditto (inherits the behavior from i387_supply_register).
2002-11-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2-2/+9
* blockframe.c (sigtramp_saved_pc): Use builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr) instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
2002-11-092002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes3-451/+455
* chexp.exp: Mark as obsolete. * pr-5016.exp: Remove stray trailing newline.
2002-11-092002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-10/+15
* frame.c (get_prev_frame): Test prev_p to identify a previously unwound frame. Initialize prev_p. * frame.h (struct frame_info): Add field prev_p. Expand prev/next comment.
2002-11-092002-11-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-86/+134
* frame.c (get_prev_frame): Cleanups. Eliminate redundant tests for a NULL NEXT_FRAME. Simplify fromleaf initialization. Add more comments. Zap dead code.
2002-11-09* infcmd.c (print_vector_info, print_float_info): Move code thatMark Kettenis2-10/+17
checks whether the target has any registers and whether there is a selected frame up, such that it is also used if a target provides multi-arch definitions of these functions.
2002-11-09 * ld-elfvsb/define.s: Avoid use of @ in .type directive.Alan Modra2-3/+7