deliverable/binutils-gdb.git
20 years ago * config.bfd: Whitespace cleanup.
Alan Modra [Fri, 15 Oct 2004 05:47:11 +0000 (05:47 +0000)] 
* config.bfd: Whitespace cleanup.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.

20 years ago * elflink.c (struct already_linked_section): Removed.
Jakub Jelinek [Fri, 15 Oct 2004 05:19:19 +0000 (05:19 +0000)] 
* elflink.c (struct already_linked_section): Removed.
(try_match_symbols_in_sections, already_linked): Removed.
(_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\.
prefix of section names when finding already_linked_table
chain.  Compare section names.  Instead of calling already_linked,
do it inline and only for sections in the same already_linked_list.

20 years ago * mips-tdep.c (mips16_scan_prologue): Merge code from
Joel Brobecker [Fri, 15 Oct 2004 04:29:23 +0000 (04:29 +0000)] 
    * mips-tdep.c (mips16_scan_prologue): Merge code from
        mips16_skip_prologue.  Now return the address of the first
        instruction past the function prologue.
        (mips16_skip_prologue): Remove, no longer necessary.
        (mips_skip_prologue): Replace call to mips16_skip_prologue
        by call to mips16_scan_prologue.

20 years ago * ld-crx/reloc-num8.d: Adjust for changed orphan placement.
Alan Modra [Fri, 15 Oct 2004 00:27:12 +0000 (00:27 +0000)] 
* ld-crx/reloc-num8.d: Adjust for changed orphan placement.
* ld-crx/reloc-num16.d: Likewise.
* ld-crx/reloc-num32.d: Likewise.
* ld-scripts/provide-2.t: Start .data at 0x2000.
* ld-scripts/provide-2.d: Adjust.

20 years agodaily update
Alan Modra [Fri, 15 Oct 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 15 Oct 2004 00:00:01 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
Alan Modra [Thu, 14 Oct 2004 23:38:08 +0000 (23:38 +0000)] 
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
parameter.  If called after _bfd_elf_write_section_eh_frame,
don't allow a -2 return unless need_* bit is already set, and
handle offsets adjusted for output_offset.
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype.
* elf.c (_bfd_elf_section_offset): Update call.

20 years ago * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
Bob Wilson [Thu, 14 Oct 2004 22:58:33 +0000 (22:58 +0000)] 
* doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
Remove comments about placement of literal pools.
(Literal Directive): Update description of literal placement.
(Literal Prefix Directive): Remove statement that this does not apply
to absolute-mode literals.  Describe new section naming scheme.

20 years ago * mips-tdep.c (mips32_scan_prologue): Merge code from
Joel Brobecker [Thu, 14 Oct 2004 22:34:25 +0000 (22:34 +0000)] 
    * mips-tdep.c (mips32_scan_prologue): Merge code from
        mips32_skip_prologue.  Now return the address of the first
        instruction past the function prologue.
        (mips32_skip_prologue): Remove.  No longer necessary.
        (mips16_skip_prologue): Add parameter end_pc instead of
        computing it.
        (mips_skip_prologue): Compute the upper limit for the
        prologue scanning. Update call to mips16_skip_prologue.
        Replace call to mips32_skip_prologue by call to
        mips32_scan_prologue.

20 years ago* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
Mark Kettenis [Thu, 14 Oct 2004 21:08:06 +0000 (21:08 +0000)] 
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the
stack frame.

20 years agoFix changelog (but not mine :-)
Andrew Cagney [Thu, 14 Oct 2004 19:15:24 +0000 (19:15 +0000)] 
Fix changelog (but not mine :-)

20 years ago2004-10-14 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 14 Oct 2004 19:13:24 +0000 (19:13 +0000)] 
2004-10-14  Andrew Cagney  <cagney@gnu.org>

* gdb.mi/gdb701.c (main): Return 0.

20 years ago2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 14 Oct 2004 17:00:16 +0000 (17:00 +0000)] 
2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>

PR 445
* emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
(SMALL_DATA_DTOR): Set.
* emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
(SMALL_DATA_DTOR): Unset.
* scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
after .data. If SMALL_DATA_DTOR is set, move .dtors after
.data.

20 years ago2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)] 
2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/sort.exp: Run for ELF targets only.

20 years ago * gas/arm/mapping.d: Pass --special-syms to objdump.
Paul Brook [Thu, 14 Oct 2004 16:04:09 +0000 (16:04 +0000)] 
* gas/arm/mapping.d: Pass --special-syms to objdump.

20 years ago* source.c: Always define O_BINARY to 0 if not defined already.
Mark Kettenis [Thu, 14 Oct 2004 13:19:30 +0000 (13:19 +0000)] 
* source.c: Always define O_BINARY to 0 if not defined already.
(openp): Unconditionally use O_BINARY.

20 years agold/
Alan Modra [Thu, 14 Oct 2004 12:54:47 +0000 (12:54 +0000)] 
ld/
PR 63
* ldlang.h (lang_output_section_statement_type): Make "next" a
struct lang_output_section_statement_struct *.
(struct orphan_save): Move from elf32.em.  Add "name" and "flags".
(lang_output_section_find_by_flags, lang_insert_orphan): Declare.
* ldlang.c (lang_output_section_find_1): Adjust for changed
output_section_statement "next".
(strip_excluded_output_sections): Likewise.
(lang_record_phdrs): Likewise.
(lang_output_section_find_by_flags): New function.
(output_prev_sec_find): Move from pe.em.  Adjust iterator.
(lang_insert_orphan): New function.  Tail end of elf32.em's
place_orphan merged with that from pe.em.  Allow bfd_section to
be placed first.  New heuristic for placing new output section
statement in existing script, and accompanying split of __start
symbol alignment into a separate assignment to dot.
(lang_add_section): Consistently use output->bfd_section rather than
an alias, section->output_section.
(map_input_to_output_sections): Rename overly long arg.  Move
initialization of data_statement output section to here..
(lang_check_section_addresses): ..from here.
(print_assignment): Correct printing of etree_assert.
(print_all_symbols): Don't bomb if userdata is NULL.
(IGNORE_SECTION): Rearrange.
* emultempl/elf32.em (output_rel_find): Adjust interator.
(output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
flags without creating a duplicate output section statement.
Revise code holding history of various orphan section placements.
Allow orphan sections to place before script specified output
sections.  Call lang_output_section_find_by_flags when placement
by name fails.  Use lang_insert_orphan.
* emultempl/mmo.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(mmo_place_orphan): Revise code holding history of orphan placement.
Allow orphans to place before existing output sections.  Use
lang_insert_orphan.
* emultempl/pe.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
lang_insert_orphan.
ld/testsuite/
* ld-scripts/overlay-size.d: Update for changed orphan section
placement.
* ld-mmix/bpo-18.d: Likewise.

20 years ago* top.c (gdb_readline): Always accept "rn" as a line-ending.
Mark Kettenis [Thu, 14 Oct 2004 12:44:24 +0000 (12:44 +0000)] 
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.

20 years ago2004-10-14 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Thu, 14 Oct 2004 12:10:29 +0000 (12:10 +0000)] 
2004-10-14  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (_initialize_cris_tdep): Re-add call to
deprecated_add_core_fns which was removed by mistake.

20 years ago(usage): Fix description of --special-syms switch.
Nick Clifton [Thu, 14 Oct 2004 09:36:54 +0000 (09:36 +0000)] 
(usage): Fix description of --special-syms switch.

20 years agodaily update
Alan Modra [Thu, 14 Oct 2004 00:00:14 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 14 Oct 2004 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago * ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
Kevin Buettner [Wed, 13 Oct 2004 21:40:41 +0000 (21:40 +0000)] 
* ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
references to deprecated_registers[] with equivalent code.

20 years ago * dw2-intercu.S, dw2-intercu.exp: New files.
Daniel Jacobowitz [Wed, 13 Oct 2004 19:07:11 +0000 (19:07 +0000)] 
* dw2-intercu.S, dw2-intercu.exp: New files.

20 years ago2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 13 Oct 2004 18:14:40 +0000 (18:14 +0000)] 
2004-10-13  H.J. Lu  <hongjiu.lu@intel.com>

PR 440
* coffcode.h (coff_compute_section_file_positions): Cast to
bfd_vma when computing page alignment.

20 years ago * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
Mark Mitchell [Wed, 13 Oct 2004 17:45:31 +0000 (17:45 +0000)] 
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED.

* scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
loadable segment.

20 years ago * rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
Kevin Buettner [Wed, 13 Oct 2004 16:38:22 +0000 (16:38 +0000)] 
* rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
``deprecated_registers'' with equivalent code.  Use gdb_assert()
instead of explicit test and print statement.

20 years ago * strings.c (statbuf): New typedef.
Jakub Jelinek [Wed, 13 Oct 2004 14:33:51 +0000 (14:33 +0000)] 
* strings.c (statbuf): New typedef.
(file_stat): Define.
(strings_object_file): Avoid using get_file_size, instead do the
checks here, using file_stat.
* configure.in (HAVE_STAT64): New test.
* configure: Rebuilt.
* config.in: Rebuilt.

20 years ago * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
Mark Mitchell [Wed, 13 Oct 2004 03:09:28 +0000 (03:09 +0000)] 
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
relocations use a virtual address, not a section offset.

20 years ago PR 44
Alan Modra [Wed, 13 Oct 2004 02:28:01 +0000 (02:28 +0000)] 
PR 44
* ldcref.c (check_section_sym_xref): Delete.
(check_local_sym_xref): New function.
(check_nocrossrefs): Adjust call.

20 years agodaily update
Alan Modra [Wed, 13 Oct 2004 00:00:06 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 13 Oct 2004 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago PR 44
Alan Modra [Tue, 12 Oct 2004 23:44:57 +0000 (23:44 +0000)] 
PR 44
* emultempl/pe.em (struct orphan_save): Add os_tail.
(place_orphan): Backport assorted fixes from elf32.em.

20 years agomerge from gcc
DJ Delorie [Tue, 12 Oct 2004 23:40:03 +0000 (23:40 +0000)] 
merge from gcc
2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>
* configure.in (*-*-cygwin*): Supress warning if newlib not present.
* configure: Regenerate.

20 years agobfd ChangeLog
Bob Wilson [Tue, 12 Oct 2004 23:05:32 +0000 (23:05 +0000)] 
bfd ChangeLog

* elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete.
(narrow_instruction, widen_instruction): Remove unnecessary calls to
xtensa_format_encode.
(ebb_propose_action): Inline call to ebb_add_proposed_action.
(ebb_add_proposed_action): Delete.

gas ChangeLog

* config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
(is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
is_windowed_return_opcode): Delete.
(xtensa_frob_label): Use get_subseg_target_freq.
(md_assemble): Inline call to is_entry_opcode.
(xtensa_handle_align): Inline call to get_frag_is_literal.
(relaxation_requirements): Inline call to is_jx_opcode.
(emit_single_op): Inline call to is_movi_opcode.
(xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
get_frag_is_no_transform, is_entry_opcode, and
set_frag_is_specific_opcode.  Use get_subseg_total_freq.
(xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
Inline calls to get_frag_is_no_transform.
(next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
(xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
get_frag_is_no_transform.
(convert_frag_immed_finish_loop): Inline calls to get_expression_value
and set_frag_is_no_transform.
(get_expression_value): Delete.
(subseg_map struct): Rename cur_total_freq to total_freq.  Rename
cur_target_freq to target_freq.
(get_subseg_info): Split out code to create a new map entry into ...
(add_subseg_info): ... this new function.
(get_last_insn_flags): Check if get_subseg_info succeeded.
(set_last_insn_flags): Call add_subseg_info if needed.
(get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
(xtensa_reorder_segments): Compute last_sec while counting sections.
Remove call to get_last_sec.
(get_last_sec): Delete.
(cache_literal_section): Inline call to retrieve_literal_seg and its
callees, seg_present and add_seg_list.
(retrieve_literal_seg, seg_present, add_seg_list): Delete.
(get_frag_is_insn, get_frag_is_no_transform,
set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
* config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.

20 years ago2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 12 Oct 2004 22:49:17 +0000 (22:49 +0000)] 
2004-10-12  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/schedlock.c: Add comment markers to use to find
        line numbers.
        * gdb.threads/schedlock.exp: Adjust regex to handle the new
        comments.
        * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
        breakpoint lines.

20 years ago* sparc-nat.c: Include "inf-ptrace.h".
Mark Kettenis [Tue, 12 Oct 2004 22:18:55 +0000 (22:18 +0000)] 
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function.
* sparc-nat.h: Update copyright year.
(sparc_target): New prototype.
* sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
(_initialize_sparcnbsd_nat): Construct and add target vector.
* sparc64nbsd-nat.c: Include "target.h".
(_initialize_sparc64nbsd_nat): Construct and add target vector.
* Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o and bsd-kvm.o.
(NAT_FILE): Set to nm-bsd.h.
(LOADLIBES): New variable.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
infarg.o, add inf-ptrace.o.
* config/sparc/nm-nbsdaout.h: Remove file.
* config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.

20 years ago2004-10-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 12 Oct 2004 19:14:31 +0000 (19:14 +0000)] 
2004-10-12  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Versions and Branches): New chapter.
(Releasing GDB): Delete "Versions and Branches" section.
(Top): Add "Versions and Branches".

20 years agobfd ChangeLog
Bob Wilson [Tue, 12 Oct 2004 18:33:17 +0000 (18:33 +0000)] 
bfd ChangeLog

* elf32-xtensa.c: Use ISO C90 formatting.

gas ChangeLog

* config/tc-xtensa.c: Use ISO C90 formatting.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.

ld ChangeLog

* emultempl/xtensaelf.em: Use ISO C90 formatting.

opcodes ChangeLog

* xtensa-dis.c: Use ISO C90 formatting.

20 years ago * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
Daniel Jacobowitz [Tue, 12 Oct 2004 15:55:06 +0000 (15:55 +0000)] 
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.

20 years ago * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
Paul Brook [Tue, 12 Oct 2004 14:51:42 +0000 (14:51 +0000)] 
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
message.

20 years ago * configure.in: Add gdb.dwarf2.
Daniel Jacobowitz [Tue, 12 Oct 2004 14:41:42 +0000 (14:41 +0000)] 
* configure.in: Add gdb.dwarf2.
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.

20 years ago2004-10-12 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 12 Oct 2004 14:17:08 +0000 (14:17 +0000)] 
2004-10-12  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.h: Support EABI version 4 objects.
binutils/
* readelf.c (decode_ARM_machine_flags): Support EABI version 4.
gas/
* config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
EF_ARM_EABI_VER4.
(arm_eabis): Ditto.
* doc/c-arm.texi: Document that we actually support -meabi=4, not
-meabi=3.
include/
* elf/arm.h (EF_ARM_EABI_VER4): Define.

20 years ago* defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of
Mark Kettenis [Tue, 12 Oct 2004 10:06:14 +0000 (10:06 +0000)] 
* defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of
"fopen-same.h".  Update comment.

20 years ago PR 325
Alan Modra [Tue, 12 Oct 2004 08:13:46 +0000 (08:13 +0000)] 
PR 325
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain.
Don't mark as default.
(bfd_x86_64_arch): Don't mark as default.

20 years ago * elflink.c (enum action_discarded): New.
Alan Modra [Tue, 12 Oct 2004 02:27:53 +0000 (02:27 +0000)] 
* elflink.c (enum action_discarded): New.
(elf_section_complain_discarded): Delete.
(elf_action_discarded): New function subsuming the above and also
controlling reloc behaviour.
(elf_link_input_bfd): Use it.

20 years agodaily update
Alan Modra [Tue, 12 Oct 2004 00:00:18 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 12 Oct 2004 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago* i386gnu-nat.c: Include "gdb_string.h".
Mark Kettenis [Mon, 11 Oct 2004 20:03:55 +0000 (20:03 +0000)] 
* i386gnu-nat.c: Include "gdb_string.h".
(fetch_fpregs): Use i387_supply_fxsave to fill the floating-point
registers when the floating-point state isn't initialized.
* Makefile.in (i386gnu-nat.o): Update dependencies.

20 years ago * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
Bob Wilson [Mon, 11 Oct 2004 16:39:34 +0000 (16:39 +0000)] 
    * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
        entries.
        (Acknowledgements): Use "GAS" instead of AS variable.

20 years ago2004-10-11 David Anderson <davea@sgi.com>
David Anderson [Mon, 11 Oct 2004 16:35:28 +0000 (16:35 +0000)] 
2004-10-11  David Anderson  <davea@sgi.com>

        * regcache.c (regcache_raw_read): Comment was missing "to".
        Extraneous ' removed.
        * gdb_thread_db.h (struct td_thrinfo): ti_lid field
        comment now describes use.

20 years ago2004-10-11 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 11 Oct 2004 15:02:20 +0000 (15:02 +0000)] 
2004-10-11  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
(cris_sigtramp_frame_this_id, cris_sigtramp_frame_prev_register)
(cris_sigtramp_frame_sniffer): New functions.
(cris_gdbarch_init): Hook in signal trampoline unwinder.
(cris_dwarf2_reg_to_regnum, cris_dwarf2_frame_init_reg): New functions.
(cris_gdbarch_init): Hook in Dwarf-2 unwinder.
(struct gdbarch_tdep, set_cris_dwarf2_cfi, cris_dump_tdep)
(cris_gdbarch_init, _initialize_cris_tdep): Add CRIS Dwarf-2 CFI usage
command.
(cris_version_update): Remove, replace with ...
(set_cris_version): New function.
(struct gdbarch_tdep, cris_mode, cris_mode_update)
(cris_cannot_store_register, cris_dump_tdep, cris_gdbarch_init)
(_initialize_cris_tdep): Remove CRIS mode command.
(cris_fpless_backtrace, _initialize_cris_tdep): Remove CRIS command for
framepointer-less backtrace.
(cris_scan_prologue): Fix prologue scanning limit.
(cris_register_type): Update to reflect actual registers.
(cris_register_bytes_ok) Remove.
(cris_gdbarch_init): Remove support for CRIS v8 and v9. Remove
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_byte, set_gdbarch_register_bytes_ok.

20 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
Jakub Jelinek [Mon, 11 Oct 2004 14:42:30 +0000 (14:42 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
getline for portability.

20 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
Jakub Jelinek [Mon, 11 Oct 2004 14:12:11 +0000 (14:12 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
(gld${EMULATION_NAME}_parse_ld_so_conf,
gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
(gld${EMULATION_NAME}_check_ld_so_conf): Use them.

20 years ago * elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST.
Jakub Jelinek [Mon, 11 Oct 2004 13:48:36 +0000 (13:48 +0000)] 
* elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST.
(special_sections): Add .gnu.liblist and .gnu.conflict.
(assign_section_numbers): Handle SHT_GNU_LIBLIST.

20 years ago PR 233
Alan Modra [Mon, 11 Oct 2004 13:29:01 +0000 (13:29 +0000)] 
PR 233
* elflink.c (elf_link_input_bfd): Try harder to support
relocations against symbols in removed linkonce sections.

20 years ago2004-10-11 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 11 Oct 2004 12:22:33 +0000 (12:22 +0000)] 
2004-10-11  Orjan Friberg  <orjanf@axis.com>

* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets.  Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.

20 years ago * elflink.c (elf_link_input_bfd): Revert PR 354 change.
Alan Modra [Mon, 11 Oct 2004 09:17:13 +0000 (09:17 +0000)] 
* elflink.c (elf_link_input_bfd): Revert PR 354 change.

20 years ago * objdump.c (dump_symbols): Fix thinko last change. Improve error
Alan Modra [Mon, 11 Oct 2004 08:18:43 +0000 (08:18 +0000)] 
* objdump.c (dump_symbols): Fix thinko last change.  Improve error
messages.

20 years ago2004-10-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 11 Oct 2004 05:26:25 +0000 (05:26 +0000)] 
2004-10-10  Andrew Cagney  <cagney@gnu.org>

* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.

20 years ago PR 354
Alan Modra [Mon, 11 Oct 2004 04:54:27 +0000 (04:54 +0000)] 
PR 354
* elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC
sections do not reference symbols in non-SEC_ALLOC sections.

20 years ago PR 423
Alan Modra [Mon, 11 Oct 2004 02:40:47 +0000 (02:40 +0000)] 
PR 423
* ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
rejected when linking statically.

20 years ago * mips-tdep.c (mips16_scan_prologue): Remove redundant code.
Joel Brobecker [Mon, 11 Oct 2004 02:27:14 +0000 (02:27 +0000)] 
    * mips-tdep.c (mips16_scan_prologue): Remove redundant code.

20 years ago * mips-tdep.c (mips16_scan_prologue): Renames
Joel Brobecker [Mon, 11 Oct 2004 02:17:53 +0000 (02:17 +0000)] 
    * mips-tdep.c (mips16_scan_prologue): Renames
        mips16_heuristic_proc_desc. Update comment.
        (mips32_scan_prologue): Renames mips32_heuristic_proc_desc.
        (heuristic_proc_desc): Update calls to the 2 functions above.

20 years ago * mips-tdep.c (mips_insn16_frame_cache): Remove unused variables.
Joel Brobecker [Mon, 11 Oct 2004 02:04:23 +0000 (02:04 +0000)] 
    * mips-tdep.c (mips_insn16_frame_cache): Remove unused variables.
        Update comments. Also immediately return empty cache when the start
        address of our function could not be found.
        (mips_insn32_frame_cache): Likewise.

20 years ago PR 437
Alan Modra [Mon, 11 Oct 2004 01:13:10 +0000 (01:13 +0000)] 
PR 437
* elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections.
(_bfd_elf_link_omit_section_dynsym): Formatting.

20 years ago * mips-tdep.c (mips16_decode_reg_save): Delete, no longer used.
Joel Brobecker [Mon, 11 Oct 2004 01:00:58 +0000 (01:00 +0000)] 
    * mips-tdep.c (mips16_decode_reg_save): Delete, no longer used.
        (mips_insn16_frame_cache): Pass frame cache in call to
        heuristic_proc_desc. Move some code to mips16_heuristic_proc_desc.
        Remove code that became redundant as a consequence.
        (mips32_heuristic_proc_desc): No longer compute a fake
        procedure descriptor. Compute the full frame cache instead.
        Some minor comment reformatting.

20 years agodaily update
Alan Modra [Mon, 11 Oct 2004 00:00:06 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 11 Oct 2004 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago* MAINTAINERS (generic symtabs, dwarf readers, elf reader, stabs
Jim Blandy [Sun, 10 Oct 2004 22:15:37 +0000 (22:15 +0000)] 
* MAINTAINERS (generic symtabs, dwarf readers, elf reader, stabs
reader, tracing bytecode stuff): Remove self.

20 years ago* sparc64-linux-tdep.c: Update copyright year. Don't include
Mark Kettenis [Sun, 10 Oct 2004 19:50:59 +0000 (19:50 +0000)] 
* sparc64-linux-tdep.c: Update copyright year.  Don't include
"solib-svr4.h".
(sparc64_linux_svr4_fetch_link_map_offsets): Remove function.
(sparc64_linux_init_abi): Don't set solib_svr4_link_map_offsets.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.

20 years ago* sparc-linux-tdep.c: Update copyright year.
Mark Kettenis [Sun, 10 Oct 2004 17:56:12 +0000 (17:56 +0000)] 
* sparc-linux-tdep.c: Update copyright year.
(sparc_linux_sigtramp_start): Change first argument from CORE_ADDR
to struct frame_info *.  Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start):
Change argumen from CORE_ADDR to struct frame_info *.  Adjust for
changed signature of sparc_linux_sigtramp_start.
(sparc32_linux_pc_in_sigtramp): Remove function.
(sparc32_linux_sigtramp_p): New function.
(sparc32_linux_sigtramp_frame_sniffer): Use
sparc32_linux_sigtramp_p instead of sparc32_linux_pc_in_sigtramp.

20 years ago* sparc-linux-tdep.c (sparc32_linux_svr4_fetch_link_map_offsets):
Mark Kettenis [Sun, 10 Oct 2004 16:25:16 +0000 (16:25 +0000)] 
* sparc-linux-tdep.c (sparc32_linux_svr4_fetch_link_map_offsets):
Remove function.
(sparc32_linux_init_abi): Don't set solib_svr4_link_map_offsets.

20 years ago* ada-lang.c (lim_warning): Re-implement as a varargs function.
Mark Kettenis [Sun, 10 Oct 2004 16:03:23 +0000 (16:03 +0000)] 
* ada-lang.c (lim_warning): Re-implement as a varargs function.
(decode_packed_array_type, value_subscript_packed)
(ada_evaluate_subexp, to_fixed_range_type): Remove redundant
argument in call to lim_warning.

20 years ago* configure.in: Really disable the TUI if an enhanced curses
Mark Kettenis [Sun, 10 Oct 2004 15:55:49 +0000 (15:55 +0000)] 
* configure.in: Really disable the TUI if an enhanced curses
library isn't found.
* configure: Regenerate.

20 years ago * libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while.
Alan Modra [Sun, 10 Oct 2004 13:58:05 +0000 (13:58 +0000)] 
* libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while.
* libbfd.h: Regnerate.
* elf32-cris.c: Add missing semicolon to BFD_ASSERTs.
* elf32-frv.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-ppc.c: Likewise.
* elf64-hppa.c: Likewise.
* elfxx-ia64.c: Likewise.
* opncls.c: Likewise.

20 years ago * elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted.
Alan Modra [Sun, 10 Oct 2004 13:02:01 +0000 (13:02 +0000)] 
* elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust
offsets stored in struct eh_cie_fde entries before doing other
work.

20 years ago * elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec.
Alan Modra [Sun, 10 Oct 2004 07:58:07 +0000 (07:58 +0000)] 
* elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec.
(struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code
setting offsets for removed CIEs.  Don't set "sec", instead set
cie_inf for FDEs.  Keep a pointer to last struct eh_cie_fde for a
CIE in hdr_info.  Only set make_relative and make_lsda_relative
for CIEs.  Use pointers rather than array indices.
(_bfd_elf_eh_frame_section_offset): Test/set make_relative,
make_lsda_relative, need_* on cie_inf for FDEs.
(_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for
section output_offset.  Delete cie_offset, instead use cie_inf
pointer to CIE entry.  Use need_relative and need_lsda_relative on
CIE entry for FDEs.  Use pointers rather than array indices.

20 years agodaily update
Alan Modra [Sun, 10 Oct 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 10 Oct 2004 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago* config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h.
Mark Kettenis [Sat, 9 Oct 2004 09:45:49 +0000 (09:45 +0000)] 
* config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h.
* config/i386/nbsdelf.mh (NAT_FILE): Set to solib.h.
* config/i386/nm-nbsdaout.h: Remove file.
* config/i386/nm-fbsd.h (link_object, lo_name, lo_library)
(lo_unused, lo_major, lo_minor, lo_next, link_map, lm_addr)
(lm_name, lm_next, lm_lop, lm_lob, lm_rwt, lm_ld, lm_lpd)
(link_dynamic_2, ld_loaded, ld_need, ld_rules, ld_got, ld_plt)
(ld_rel, ld_hash, ld_stab, ld_stab_hash, ld_buckets, ld_symbols)
(ld_symb_size, ld_text, ld_plt_sz, rtc_symb, rtc_sp, rtc_next)
(ld_debug, ldd_version, ldd_in_debugger, ldd_sym_loaded)
(ldd_bp_addr, ldd_bp_inst, ldd_cp, link_dynamic, ld_version)
(ldd, ld_un, ld_2): Remove defines.
* config/i386/nm-obsd.h: Likewise.

20 years agoada-lex.l: Remove useless rule whose right-context clause
Paul N. Hilfinger [Sat, 9 Oct 2004 04:56:48 +0000 (04:56 +0000)] 
ada-lex.l: Remove useless rule whose right-context clause
causes unreferenced static function warning for yyrealloc.
(ada_flex_use): Remove the artificial reference to yyrealloc.

20 years ago * coff-rs6000.c (rs6000coff_vec): Add initializer for
Alan Modra [Sat, 9 Oct 2004 02:51:31 +0000 (02:51 +0000)] 
* coff-rs6000.c (rs6000coff_vec): Add initializer for
bfd_is_target_special_symbol.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
* som.c (som_bfd_is_target_special_symbol): Define.

20 years ago * ppc-opc.c: Revert 2004-09-09 change.
Alan Modra [Sat, 9 Oct 2004 01:21:03 +0000 (01:21 +0000)] 
* ppc-opc.c: Revert 2004-09-09 change.

20 years agodaily update
Alan Modra [Sat, 9 Oct 2004 00:00:07 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 9 Oct 2004 00:00:05 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago2004-10-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 8 Oct 2004 20:30:00 +0000 (20:30 +0000)] 
2004-10-08  Andrew Cagney  <cagney@gnu.org>

* target.h (struct target_ops): Rename to_xfer_memory to
deprecated_xfer_memory.
* target.c: Update.
(deprecated_debug_xfer_memory): Rename debug_to_xfer_memory.
* wince.c: Update.
* win32-nat.c: Update.
* v850ice.c: Update.
* uw-thread.c: Update.
* thread-db.c: Update.
* sol-thread.c: Update.
* remote.c: Update.
* remote-vx.c: Update.
* remote-st.c: Update.
* remote-sim.c: Update.
* remote-sds.c: Update.
* remote-rdp.c: Update.
* remote-rdi.c: Update.
* remote-mips.c: Update.
* remote-m32r-sdi.c: Update.
* remote-e7000.c: Update.
* procfs.c: Update.
* ppc-bdm.c: Update.
* nto-procfs.c: Update.
* monitor.c: Update.
* linux-nat.c: Update.
* inftarg.c: Update.
* hpux-thread.c: Update.
* go32-nat.c: Update.
* gnu-nat.c: Update.
* exec.c: Update.
* corelow.c: Update.
* bsd-kvm.c: Update.
* aix-thread.c: Update.

20 years ago2004-10-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 8 Oct 2004 19:51:16 +0000 (19:51 +0000)] 
2004-10-08  Andrew Cagney  <cagney@gnu.org>

* target.c (debug_target): Move to near start of file.
(target_stopped_data_address_p): Re-org logic, add casts.

20 years ago* solib-sunos.c [HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS] (link_map)
Mark Kettenis [Fri, 8 Oct 2004 19:49:34 +0000 (19:49 +0000)] 
* solib-sunos.c [HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS] (link_map)
(lm_addr, lm_name, lm_next, link_dynamic_2, ld_loaded, rtc_symb)
(rtc_sp, rtc_next, ld_debug, ldd_in_debugger, ldd_bp_addr)
(ldd_bp_inst, ldd_cp, link_dynamic, ld_version, ldd, ld_un, ld_2):
New defines.

20 years agoAdd David Heine and Sterling Augustine to previous ChangeLog entry.
Bob Wilson [Fri, 8 Oct 2004 19:20:13 +0000 (19:20 +0000)] 
Add David Heine and Sterling Augustine to previous ChangeLog entry.

20 years ago(Editing, History): Add cross-references to the
Eli Zaretskii [Fri, 8 Oct 2004 19:19:05 +0000 (19:19 +0000)] 
(Editing, History): Add cross-references to the
included Readline and History user documentation.  Remove
references to the symbol have-readline-appendices which is unused
and undefined.
(History): Fix indexing.

20 years ago2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 8 Oct 2004 18:19:18 +0000 (18:19 +0000)] 
2004-10-08  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/overlays.exp: Update copyright years.

20 years ago2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 8 Oct 2004 17:30:48 +0000 (17:30 +0000)] 
2004-10-08  Jeff Johnston  <jjohnstn@redhat.com>

        * target.h (to_stopped_data_address): Change prototype to
        take a CORE_ADDR pointer and return an int.
        * target.c (update_current_target): Change to_stopped_data_address
        to match new prototype.
        (debug_to_stopped_data_address): Change appropriately.
        * breakpoint.c (bpstat_stop_status): Change call to
        target_stopped_data_address to use new prototype.
        * frv-tdep.c (frv_have_stopped_data_address): New function.
        (frv_stopped_data_address): Change to new prototype and
        functionality.
        * ia64-linux-nat.c (ia64_stopped_data_address): Change to new
        prototype and functionality.
        (ia64_stopped_by_watchpoint): New function.
        * i386-nat.c (i386_stopped_data_address): Change to new
        prototype and functionality.
        (i386_stopped_by_watchpoint): New function.
        * remote.c (remote_stopped_data_address): Change to new prototype
        and functionality.
        * remote-m32r-sdi.c (m32r_stopped_data_address): Ditto.
        * config/frv/tm-frv.h (frv_stopped_data_address): Change prototype.
        (STOPPED_BY_WATCHPOINT): Change to use frv_have_stopped_data_address.
        * config/i386/nm-i386.h (STOPPED_BY_WATCHPOINT): Change to use
        new i386_stopped_by_watchpoint function.
        (i386_stopped_by_watchpoint): New prototype.
        (i386_stoppped_data_address): Change to new prototype.
        * config/ia64/nm-linux.h (STOPPED_BY_WATCHPOINT): Change to use
        new ia64_stopped_by_watchpoint function.
        (ia64_stopped_by_watchpoint): New prototype.
        (ia64_stopped_data_address): Ditto.

20 years ago2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 8 Oct 2004 15:34:31 +0000 (15:34 +0000)] 
2004-10-08  Jeff Johnston  <jjohnstn@redhat.com>

        * gdbint.texinfo (target_stopped_data_address): Update to
        new prototype.
        (i386_stopped_data_address): Update prototype and description.
        (i386_stopped_by_watchpoint): New function and description.

20 years ago2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Frank Ch. Eigler [Fri, 8 Oct 2004 15:33:09 +0000 (15:33 +0000)] 
2004-10-07  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.

20 years agofix spelling typo in previous delta's ChangeLog entry
Nick Clifton [Fri, 8 Oct 2004 14:55:35 +0000 (14:55 +0000)] 
fix spelling typo in previous delta's ChangeLog entry

20 years agoImplement a new BFD API function: bfd_is_target_special_symbol. Use this in nm
Nick Clifton [Fri, 8 Oct 2004 14:54:04 +0000 (14:54 +0000)] 
Implement a new BFD API function: bfd_is_target_special_symbol.  Use this in nm
and objdump to skip the displaying of ARM Mapping symbols unless specifically
requested.

20 years agobfd/
Daniel Jacobowitz [Fri, 8 Oct 2004 13:55:11 +0000 (13:55 +0000)] 
bfd/
* config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*.
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function.
(elf_backend_section_from_shdr): Define.
binutils/
* readelf.c (get_x86_64_section_type_name): New function.
(get_section_type_name): Use it.
gas/
* config/tc-i386.c: Include "elf/x86-64.h".
(i386_elf_section_type): New function.
* config/tc-i386.h (md_elf_section_type): Define.
(i386_elf_section_type): New prototype.
gas/testsuite/
* gas/i386/i386.exp: Don't run divide test for targets where '/'
is a comment.  Run x86-64-unwind for 64-bit ELF targets.
* gas/i386/x86-64-unwind.d, gas/i386/x86-64-unwind.s: New.
include/
* elf/common.h (PT_SUNW_EH_FRAME): Define.
* elf/x86-64.h (SHT_X86_64_UNWIND): Define.
ld/
* configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.

20 years agodlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 patches.
Nick Clifton [Fri, 8 Oct 2004 09:49:14 +0000 (09:49 +0000)] 
dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 patches.
doc/binutils.texi (dlltool): Revert 2004-09-06 patch.

20 years ago* ada-typeprint.c (ada_print_type): Use int_string for printing
Paul N. Hilfinger [Fri, 8 Oct 2004 09:40:12 +0000 (09:40 +0000)] 
* ada-typeprint.c (ada_print_type): Use int_string for printing
modulus of modular type.
* ada-lang.h (ada_modulus): Change return type to unsigned.
* ada-lang.c (ada_language_arch_info): Correct type of
string_char_type.
(ada_modulus): Return unsigned result.
(ada_lookup_symbol): Remove user disambiguation and modify comment
accordingly.

2004-10-08 Eric Botcazou  <ebotcazou@act-europe.fr>

Committed by Paul Hilfinger.
* ada-lang.c (decode_packed_array): On big-endian targets,
left-justify the value if it comes with a modular type.

2004-10-08  Joel Brobecker  <brobecker@gnat.com>

Committed by Paul Hilfinger.
* ada-lang.c (template_to_static_fixed_type): Fix a small typo.
(is_name_suffix): Add support for "___JM" suffixes.
(ada_check_typedef): Renames ada_completed_type.
Update all users of CHECK_TYPEDEF, check_typedef, and
ada_complete_type to call ada_check_typedef.
* ada-typeprint.c: Likewise.
* ada-valprint.c: Likewise.

This page took 0.041956 seconds and 4 git commands to generate.