aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-31 * dbxread.c (stabs_data): New static variable.Daniel Jacobowitz9-30/+199
(fill_symbuf): Support an in-memory buffer for stabs data. (stabs_seek): New function. (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. (read_ofile_symtab): Use stabs_seek. (elfstab_build_psymtabs): Take an asection* instead of an offset and size. Relocate the stabs data if necessary. Save the section* for dbx_psymtab_to_symtab. * dwarf2read.c: Add section variables for each debug section. (dwarf2_locate_sections): Fill them in. (dwarf2_read_section): Take an asection* argument. Relocate the section contents if necessary. (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. * dwarf2cfi.c (parse_frame_info): Take a section argument and pass it to dwarf2_read_section. (dwarf2_build_frame_info): Update callers. * elfread.c (elf_symfile_read): Update call to elfstab_build_psymtabs. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. (DBX_STAB_SECTION): New macro. * stabsread.h (elfstab_build_psymtabs): Update prototype. * symfile.c (symfile_dummy_outputs): New function. (symfile_relocate_debug_section): New function. * symfile.h (symfile_relocate_debug_section): Add prototype.
2003-01-312003-01-31 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler3-2/+7
* Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies. * Makefile.in: Regenerated.
2003-01-31 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...Richard Henderson5-14/+39
(register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. * alpha-tdep.c (alpha_register_name): Add "unique". * alpha-tdep.h (ALPHA_NUM_REGS): Increment. (ALPHA_UNIQUE_REGNUM): New. * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2003-01-312003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-2076/+15
* README: Remove reference to Ericsson 1800 monitor. * Makefile.in (remote-es.o): Delete rule. (ALLDEPFILES): Delete remote-es.c. * remote-es.c: Delete file. * config/m68k/es1800.mt: Delete file. * config/djgpp/fnchange.lst: Update. * configure.tgt: Delete m68*-ericsson-* target.
2003-01-31* infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.Adam Fedor2-12/+15
Remove duplicate/shadowing variable of same name.
2003-01-31*** empty log message ***Mark Salter1-0/+5
2003-01-31Support remote targets.Mark Salter1-0/+27
2003-01-31bfd_follow_gnu_debuglink: New function. Follow the pointer contained inside aNick Clifton5-5/+354
.gnu_debuglink section.
2003-01-312003-01-30 Michael Chastain <mec@shout.net>Michael Chastain2-3/+6
* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL. This was a workaround for a UTF-8 bug in readline 4.3. The bug has been fixed in gdb/readline on 2003-01-09.
2003-01-31*** empty log message ***gdbadmin1-1/+1
2003-01-30daily updateAlan Modra1-1/+1
2003-01-30* symfile.c (find_separate_debug_file): Assert that the objfile'sJim Blandy2-2/+11
directory name we compute ends with a slash, and then assume that that's so everywhere we use it.
2003-01-30merge from gccDJ Delorie4-128/+139
2003-01-30 * valops.c (value_assign): Flush frame cache after stores to memoryDaniel Jacobowitz2-26/+43
also.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-264/+5
* Makefile.in (mon960-rom.o): Delete rule. * mon960-rom.c: Delete file.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-5/+21
* stabs.texinfo (Member Type Descriptor): Clarify description of `@'. Suggested by Ben Hutchings.
2003-01-302003-01-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-186/+263
* d10v-tdep.c: Include "frame-unwind.h". (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate list. (next_addr, uses_frame): Delete. (struct d10v_unwind_cache): Define. (prologue_find_regs): Add struct d10v_unwind_cache info parameter. Use info instead of next_addr and uses_frame globals. (d10v_frame_init_saved_regs): Delete function. (d10v_init_extra_frame_info): Delete function. (d10v_gdbarch_init): Do not initialize init_extra_frame_info, frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, init_frame_pc or frame_saved_pc. (d10v_pop_frame): Delete function. (do_d10v_pop_frame): Delete function. (d10v_frame_chain): Delete function. (d10v_frame_chain_valid): Delete function. (d10v_frame_pc_unwind): New function. (d10v_frame_id_unwind): New function. (saved_regs_unwinder): New function. (d10v_frame_register_unwind): New function. (d10v_frame_pop): New function. (d10v_frame_unwind): New variable. (d10v_frame_p): New function. (d10v_frame_saved_pc): Delete function. * Makefile.in (d10v-tdep.o): Update dependencies.
2003-01-30* config.if: Copy from GCC.Alexandre Oliva2-23/+22
2003-01-30 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undefJoel Brobecker2-1/+6
causing some regressions due to a change in the default value for this macro.
2003-01-30 Fix PR gdb/961.Daniel Jacobowitz2-23/+219
* dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New variables. (RANGES_SECTION): New. (dwarf_ranges_buffer): New variable. (struct comp_unit_head): Add member "die". (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. (dwarf2_locate_sections): Likewise. (dwarf2_build_psymtabs): Read .debug_ranges. (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. Look for DW_AT_ranges and return the bounding box.
2003-01-30remove conflict markerChristopher Faylor1-1/+0
2003-01-30* win32-nat.c (cygwin_pid): Removed as unused.Christopher Faylor3-64/+88
(child_attach): Try fall back to Cygwin pid.
2003-01-30*** empty log message ***gdbadmin1-1/+1
2003-01-29* objfiles.h (struct objfile): Doc fix.Jim Blandy2-1/+6
2003-01-292003-01-29 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+10
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-29daily updateAlan Modra1-1/+1
2003-01-292003-01-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-9/+101
* frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. (legacy_get_prev_frame): Assert FRAME_CHAIN_P. (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. (FRAME_SAVED_PC): Change to a function with predicate. * gdbarch.h, gdbarch.c: Re-generate.
2003-01-292003-01-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-4/+55
* gdb.texinfo (Maintenance Commands): Document `maint print reggroups' and `maint print register-groups'. * gdbint.texinfo (Target Architecture Definition): Document register_reggroup_p.
2003-01-292003-01-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+3
* hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2003-01-29(print_insn_sparc): When examining values added in to rs1, make sure thatNick Clifton2-46/+61
there are previous instructions.
2003-01-29line_comment_chars: Add '#'. This makes the assembler's handling ofNick Clifton2-2/+7
# <linenum> "<filename>" directives work.
2003-01-29* elfxx-mips.c (mips_elf_got_entry_hash): Don't dereferenceAlexandre Oliva2-3/+9
entry->abfd when it's NULL.
2003-01-29*** empty log message ***gdbadmin1-1/+1
2003-01-28daily updateAlan Modra1-1/+1
2003-01-28* Makefile.in (all-subdir, check-subdir, installcheck-subdir)Alexandre Oliva2-1/+9
(info-subdir, install-info-subdir, clean-info-subdir) (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir) (clean-subdir, distclean-subdir, maintainer-clean-subdir): Pass $(FLAGS_TO_PASS).
2003-01-282003-01-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-48/+6
* complaints.c (complain): Delete function. * complaints.h (struct deprecated_complaint): Delete definition. (complain): Delete declaration.
2003-01-28 * mips-tdep.c (mips_init_extra_frame_info): Return early forKevin Buettner2-1/+10
dummy frames.
2003-01-28 * readelf.c (dump_relocations): Reorder the r_info field forRichard Sandiford2-4/+20
little-endian mips elf64. Move #ifdef BFD64 to cover the new code.
2003-01-28Add code to prevent importing a dll multiple times.Nick Clifton4-46/+100
2003-01-28Add code to create and use directory tables.Nick Clifton2-33/+128
2003-01-28Replace occurences of 'tolower' with 'TOLOWER'.Nick Clifton2-3/+8
2003-01-28Patch from David Mosberger.Jim Wilson2-2/+7
* config/tc-ia64.c (dot_vframesp): Correct error message. (dot_vframepsp): Ditto.
2003-01-28* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), useAlexandre Oliva2-5/+10
/`$$CC -print-multi-os-directory`.
2003-01-28Remove duplicate date lineAlexandre Oliva1-2/+0
2003-01-28* elfxx-mips.c (mips_elf_create_dynamic_relocation): HandleAlexandre Oliva2-4/+7
_bfd_elf_section_offset returning -2 the same way as -1.
2003-01-28* ld-mips-elf/multi-got-1.d: New.Alexandre Oliva5-1/+41013
* ld-mips-elf/multi-got-1-1.s: New. * ld-mips-elf/multi-got-1-2.s: New. * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf. Run multi-got-1.
2003-01-28* elfxx-mips.c (mips_elf_multi_got): New function.Alexandre Oliva2-217/+1333
(struct mips_got_entry): Make symndx and gotidx signed. Moved addend into union along with address and link hash entry. (struct mips_got_info): Added bfd2got and next. (struct mips_elf_hash_sort_data): Added max_unref_got_dynindx. (mips_elf_got_section, mips_elf_create_got_section): Use SEC_EXCLUDE bit to tell whether we really need the got section. Take boolean arguments to disregard an excluded section, or to create it as excluded. Adjust all callers. Use mips_elf_got_section all over. (mips_elf_local_got_index, mips_elf_got_page, mips_elf_got16_entry): Take input bfd as argument, and pass it on to mips_elf_create_local_got_entry. (mips_elf_global_got_index, mips_elf_create_local_got_entry): Take input bfd as argument, and manage entries in the appropriate GOT. (mips_elf_got_offset_from_index): Take input bfd as argument, and use it to adjust the GP offset of the bfd. (mips_elf_sort_hash_table, mips_elf_sort_hash_table_f): Move unreferenced GOT entries of global symbols to the end. (mips_elf_record_global_got_symbol): Take input bfd as argument. Add entries to the master GOT hash table. (struct mips_elf_bfd2got_hash): New. (struct mips_elf_got_per_bfd_arg): New. (struct mips_elf_set_global_got_offset_arg): New. (mips_elf_hash_bfd_vma, mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq, mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq, mips_elf_make_got_per_bfd, mips_elf_merge_gots, mips_elf_set_global_got_offset, mips_elf_resolve_final_got_entry, mips_elf_resolve_final_got_entries, mips_elf_adjust_gp, mips_elf_got_for_ibfd): New functions. (ELF_MIPS_GP_OFFSET): Don't depend on SGI_COMPAT. (MIPS_ELF_GOT_MAX_SIZE): New macro. (STUB_LW): Generate 64-bit stub regardless of SGI_COMPAT. (mips_elf_got_entry_hash): Take new fields into account. Use mips_elf_hash_bfd_vma. (mips_elf_got_entry_eq): Take new fields into account. (mips_elf_create_got_section): Initialize new fields. (mips_elf_calculate_relocation): Pass input_bfd to functions that now take it. Adjust gp for the input_bfd. (mips_elf_allocate_dynamic_relocation, mips_elf_create_dynamic_relocation, _bfd_mips_elf_create_dynamic_sections): Use... (mips_elf_rel_dyn_section): New function. Borrow code from... (_bfd_mips_elf_check_relocs): Pass input_bfd to functions that now take it. Create the got section if needed, even if excluded, before recording a global got symbol. Move some code to... (mips_elf_record_local_got_symbol): New fn. (_bfd_mips_elf_size_dynamic_sections): Disable combreloc. Compute multi-got global entries offsets. Move GOT code to... (_bfd_mips_elf_always_size_sections): Call mips_elf_multi_got if the GOT is too big. (_bfd_mips_elf_finish_dynamic_symbol): Set got entry of undefweak symbol to zero. Generate dynamic relocations for non-primary GOT entries for global symbols. (_bfd_mips_elf_finish_dynamic_sections): Handle multi-got case. Generate dynamic relocations for local got entries. Sort dynamic relocations on N64 too, using... (sort_dynamic_relocs_64): New fns. (_bfd_mips_elf_hide_symbol): Adjust multi-got counters. (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_XGOT.
2003-01-28* mips.h (EF_MIPS_XGOT): Define.Alexandre Oliva2-0/+7
2003-01-28*** empty log message ***gdbadmin1-1/+1
2003-01-27* bfd.c (struct _bfd): Added id field.Alexandre Oliva4-0/+19
* opncls.c (_bfd_id_counter): New static variable. (_bfd_new_bfd): Use it. * bfd-in2.h: Rebuilt.