binutils-gdb.git
19 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:05:07 +0000 (15:05 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.in: Bfin support.
* configure.tgt: Bfin support.
* config/bfin-aux.h: New file.
* config/bfin-defs.h: New file.
* config/bfin-lex.l: New file.
* config/bfin-parse.y: New file.
* config/tc-bfin.c: New file.
* config/tc-bfin.h: New file.
* doc/Makefile.am: Recognize c-bfin.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Bfin support.
* doc/as.texinfo: Likewise.
* doc/c-bfin.texi: Document bfin-specific syntax and
directives.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:57:52 +0000 (14:57 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (fetch_indirect_string): Adjust for section address.
(process_debug_info): Likewise.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.

* objdump.c (mach_o_dwarf_sections): New.
(generic_dwarf_sections): Likewise.
(check_mach_o_dwarf): Likewise.
(dump_dwarf): Call check_mach_o_dwarf.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:56:34 +0000 (14:56 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (objdump_SOURCES): Add dwarf.c.
* Makefile.in: Regenerated.

* objdump.c: Include "dwarf.h".
(usage): Add -W/--dwarf.
(long_options): Likewise.
(dump_dwarf_section_info): New.
(load_debug_section): Likewise.
(free_debug_section): Likewise.
(dump_dwarf_section): Likewise.
(dump_dwarf): Likewise.
(dump_bfd): Load symbol table and call dump_dwarf if
dump_dwarf_section_info isn't zero.
(main): Handle -W/--dwarf.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:55:05 +0000 (14:55 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CFILES): Add dwarf.c.
(readelf_SOURCES): Likewise.
* Makefile.in: Regenerated.

* dwarf.c: New file.
* dwarf.h. Likewise.

* readelf.c: Include "dwarf.h" instead of "bfd.h".
(do_debug_info): Remove the static definition.
(do_debug_abbrevs): Likewise.
(do_debug_lines): Likewise.
(do_debug_pubnames): Likewise.
(do_debug_aranges): Likewise.
(do_debug_ranges): Likewise.
(do_debug_frames): Likewise.
(do_debug_frames_interp): Likewise.
(do_debug_macinfo): Likewise.
(do_debug_str): Likewise.
(do_debug_loc): Likewise.
(is_relocatable): Likewise.
(have_frame_base): Likewise.
(need_base_address): Likewise.
(eh_addr_size): Likewise.
(error): Likewise.
(warn): Likewise.
(cmalloc): Likewise.
(xcmalloc): Likewise.
(xcrealloc): Likewise.
(dwarf_section): Removed.
(byte_get_little_endian): Likewise.
(byte_get_signed): Likewise.
(byte_get_big_endian): Likewise.
(read_leb128): Likewise.
(State_Machine_Registers): Likewise.
(state_machine_regs): Likewise.
(reset_state_machine): Likewise.
(process_extended_line_op): Likewise.
(debug_str_section): Likewise.
(fetch_indirect_string): Likewise.
(debug_abbrev_section): Likewise.
(abbrev_attr): Likewise.
(first_abbrev): Likewise.
(last_abbrev): Likewise.
(free_abbrevs): Likewise.
(add_abbrev_attr): Likewise.
(process_abbrev_section): Likewise.
(get_TAG_name): Likewise.
(get_FORM_name): Likewise.
(display_block): Likewise.
(decode_location_expression): Likewise.
(debug_info): Likewise.
(debug_information): Likewise.
(num_debug_info_entries): Likewise.
(last_pointer_size): Likewise.
(warned_about_missing_comp_units): Likewise.
(read_and_display_attr_value): Likewise.
(get_AT_name): Likewise.
(read_and_display_attr): Likewise.
(process_debug_info): Likewise.
(get_pointer_size_and_offset_of_comp_unit): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(Frame_Chunk): Likewise.
(DW_CFA_unreferenced): Likewise.
(frame_need_space): Likewise.
(frame_display_row): Likewise.
(size_of_encoded_value): Likewise.
(get_encoded_value): Likewise.
(GET): Likewise.
(LEB): Likewise.
(SLEB): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(load_debug_section): Updated.
(free_debug_section): Likewise.
(display_debug_section): Likewise.
(process_object): Call free_debug_memory to free debug memory.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:53:24 +0000 (14:53 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Reordered.
(is_relocatable): New.
(dwarf_section): New structure for DWARF section.
(load_debug_section): New.
(free_debug_section): Likewise.
(debug_str_section): Likewise.
(debug_abbrev_section): Likewise.
(debug_str_contents): Removed.
(debug_str_size): Likewise.
(debug_loc_contents): Likewise.
(debug_loc_size): Likewise.
(debug_range_contents): Likewise.
(debug_range_size): Likewise.
(load_debug_str): Likewise.
(free_debug_str): Likewise.
(load_debug_loc): Likewise.
(free_debug_loc): Likewise.
(load_debug_arange): Likewise.
(free_debug_arange): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(fetch_indirect_string): Updated.
(debug_apply_rela_addends): Likewise.
(process_debug_info): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_info): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(display_debug_section): Likewise.
(get_file_header): Set is_relocatable.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:52:18 +0000 (14:52 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_apply_rela_addends): Relocate the whole
section.
(process_debug_info): Don't call debug_apply_rela_addends.
(display_debug_frames): Likewise.
(get_debug_info): Call debug_apply_rela_addends.
(debug_displays): Add the "relocate" field.
(display_debug_section): Call debug_apply_rela_addends if
needed.

19 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:50:57 +0000 (14:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (*-*-darwin*): Build bfd, binutils and opcodes.
* configure: Regenerated.

19 years ago2005-09-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 30 Sep 2005 13:34:17 +0000 (13:34 +0000)]
2005-09-30  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
(opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
normal infix conditions.
(C3E): Include Thumb-2 definition.
(CL, cCL): Define.
(insns): Use them for legacy mnemonics.
gas/testsuite/
* gas/arm/fpa-mem.s: Remove incorrect comments.
* gas/arm/fpa-mem.d: Update expected results.

19 years agoasintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
Nick Clifton [Fri, 30 Sep 2005 11:42:05 +0000 (11:42 +0000)]
asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
  version of <locale.h> when ENABLE_NLS is not defined.
gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is
  defined.

19 years ago * elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
Alan Modra [Fri, 30 Sep 2005 07:32:50 +0000 (07:32 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.

19 years ago*** empty log message ***
gdbadmin [Fri, 30 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 30 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago PR threads/2015
Andreas Schwab [Thu, 29 Sep 2005 20:41:27 +0000 (20:41 +0000)]
PR threads/2015
* infrun.c (adjust_pc_after_break): Don't use the state from a
non-matching thread context.

19 years ago * rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
Daniel Jacobowitz [Thu, 29 Sep 2005 15:37:44 +0000 (15:37 +0000)]
* rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
functions.

19 years agogas/
Jan Beulich [Thu, 29 Sep 2005 07:00:54 +0000 (07:00 +0000)]
gas/
2005-09-29  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): Always parse first operand of
alloc.

gas/testsuite/
2005-09-29  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/alloc.[sl]: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago * app.c (do_scrub_chars): Match open and close quote of strings.
Alan Modra [Thu, 29 Sep 2005 02:20:50 +0000 (02:20 +0000)]
* app.c (do_scrub_chars): Match open and close quote of strings.
Remove redundant EOF test in case 7.

19 years agoIndex: ChangeLog
Geoffrey Keating [Thu, 29 Sep 2005 01:00:26 +0000 (01:00 +0000)]
Index: ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.

Index: gcc/ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.

19 years ago*** empty log message ***
gdbadmin [Thu, 29 Sep 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 29 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago* annotate.c (breakpoints_changed, annotate_frames_invalid)
Nick Roberts [Wed, 28 Sep 2005 23:44:02 +0000 (23:44 +0000)]
* annotate.c (breakpoints_changed, annotate_frames_invalid)
(_initialize_annotate): Print breakpoints-invalid and
frames-invalid for level 2 annotations only.

* gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
frames-invalid and breakpoints-invalid are no longer generated
with level 3 so don't expect them in the output.

19 years ago*** empty log message ***
Nick Roberts [Wed, 28 Sep 2005 23:32:43 +0000 (23:32 +0000)]
*** empty log message ***

19 years ago* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
Alexandre Oliva [Wed, 28 Sep 2005 19:32:19 +0000 (19:32 +0000)]
* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
* powerpc.exp: Run it.

19 years ago * infrun.c (init_execution_control_state): Initialize
Daniel Jacobowitz [Wed, 28 Sep 2005 16:17:06 +0000 (16:17 +0000)]
* infrun.c (init_execution_control_state): Initialize
ecs->another_trap.

19 years agogas/testsuite/
Jan Beulich [Wed, 28 Sep 2005 15:34:53 +0000 (15:34 +0000)]
gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d,
gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New.
* gas/i386/i386.exp: Run new tests.

ld/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* ld-x86-64/tlspic.dd: Adjust.

opcodes/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (stack_v_mode): Renamed from branch_v_mode.
(indirEv): Use it.
(stackEv): New.
(Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions.
(dis386): Document and use new 'V' meta character. Use it for
single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop
opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov.
(putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark
data prefix as used whenever DFLAG was examined. Handle 'V'.
(intel_operand_size): Use stack_v_mode.
(OP_E): Use stack_v_mode, but handle only the special case of
64-bit mode without operand size override here; fall through to
v_mode case otherwise.
(OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode
and no operand size override is present.
(OP_J): Use get32s for obtaining the displacement also when rex64
is present.

19 years agogas/
Jan Beulich [Wed, 28 Sep 2005 15:31:21 +0000 (15:31 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Disable signedness check for 4-byte
relocations in 16- and 32-bit modes.
(i386_displacement): Make pc-relative branch handling dependent
upon operand (rather than address) size.

gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/mixed-mode-reloc.s: Enable all insns.
* gas/i386/mixed-mode-reloc32.d: Adjust.
* gas/i386/mixed-mode-reloc64.d: Adjust.

19 years ago2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Sep 2005 14:53:24 +0000 (14:53 +0000)]
2005-09-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1321
* elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ...
(_bfd_elf_setup_sections): This.
* elf.c: Likewise.
* elfcode.h (elf_object_p): Likewise.

* elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER.
(_bfd_elf_copy_private_section_data): Likewise.

19 years ago2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Sep 2005 14:52:02 +0000 (14:52 +0000)]
2005-09-28  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.

19 years agogas/
Jan Beulich [Wed, 28 Sep 2005 14:51:02 +0000 (14:51 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
parsing the input.
(dot_cfi_startproc): Likewise.
(dot_cfi_endproc): Likewise. Also check no extra input was given.
(dot_cfi_escape): Likewise.

19 years agogas/
Jan Beulich [Wed, 28 Sep 2005 14:44:25 +0000 (14:44 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
(TC_CONS_FIX_NEW): Define unconditionally.
(x86_pe_cons_fix_new): Remove.
* config/tc-i386.c (signed_cons): New.
(md_pseudo_table): Add slong.
(x86_cons_fix_new): Declare unconditionally.
(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
conversion.

gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/reloc64.s: Also test .slong.
* gas/i386/reloc64.l: Adjust.
* gas/i386/reloc64.d: Adjust.

19 years ago * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
Alan Modra [Wed, 28 Sep 2005 12:31:44 +0000 (12:31 +0000)]
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.

19 years agos/waek/weak/ in 2005-05-05's entry.
Alexandre Oliva [Wed, 28 Sep 2005 05:00:07 +0000 (05:00 +0000)]
s/waek/weak/ in 2005-05-05's entry.

19 years ago(TAGS): Put DEPFILES back and add as a dependency.
Nick Roberts [Wed, 28 Sep 2005 02:55:41 +0000 (02:55 +0000)]
(TAGS): Put DEPFILES back and add as a dependency.

19 years ago*** empty log message ***
Nick Roberts [Wed, 28 Sep 2005 02:54:45 +0000 (02:54 +0000)]
*** empty log message ***

19 years ago2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Sep 2005 00:34:21 +0000 (00:34 +0000)]
2005-09-27  H.J. Lu  <hongjiu.lu@intel.com>

* ld.texinfo (ALIGN): Document it as forcing output section
alignment.

* ldgram.y (ALIGN): Support it for forcing output section
alignment.

19 years agodaily update
Alan Modra [Wed, 28 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 28 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-09-27 Bob Rossi <bob@brasko.net>
Bob Rossi [Tue, 27 Sep 2005 22:39:04 +0000 (22:39 +0000)]
2005-09-27  Bob Rossi  <bob@brasko.net>

        * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
        from test.  Escape the | in mi_gdb_test call.
        * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
        gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
        gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
        gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
        expected regex's in mi_gdb_test calls.
        * lib/mi-support.exp: Remove arbitrary .* from tests.
        (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
        Fully anchor GDB/MI expected results in mi_gdb_test.
        * lib/gdb.exp (string_to_regexp): Escape the ] character.
        * gdb.base/sizeof.exp: Remove escape character. Correct test.

19 years ago * argv.c (expandargv): Do not use xmalloc_failed.
Mark Mitchell [Tue, 27 Sep 2005 15:21:13 +0000 (15:21 +0000)]
* argv.c (expandargv): Do not use xmalloc_failed.

19 years ago2005-09-27 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 27 Sep 2005 13:23:38 +0000 (13:23 +0000)]
2005-09-27  Paul Brook  <paul@codesourcery.com>

* config/arm.c (arm_cpus): Add more cpu names.
* doc/c-arm.texi: Document them.

19 years agodaily update
Alan Modra [Tue, 27 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 27 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoRemove change description for a file that is actually part of the testsuite/
Joel Brobecker [Mon, 26 Sep 2005 22:31:16 +0000 (22:31 +0000)]
Remove change description for a file that is actually part of the testsuite/
subdirectory. The description is included in testsuite/ChangeLog.

19 years agoFix name of directory in one ChangeLog entry.
Joel Brobecker [Mon, 26 Sep 2005 22:09:41 +0000 (22:09 +0000)]
Fix name of directory in one ChangeLog entry.

19 years ago(HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
Nick Roberts [Mon, 26 Sep 2005 21:45:37 +0000 (21:45 +0000)]
(HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
(ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
symm-tdep.c and symm-nat.c.
(TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
(DEPFILES): Remove CONFIG_OBS and include it explicitly where
needed.

19 years ago*** empty log message ***
Nick Roberts [Mon, 26 Sep 2005 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***

19 years ago * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
Mark Mitchell [Mon, 26 Sep 2005 21:09:04 +0000 (21:09 +0000)]
* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.

19 years ago * libiberty.h (expandargv): New function.
Mark Mitchell [Mon, 26 Sep 2005 21:02:59 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.

* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.

19 years agogdb/
Jan Beulich [Mon, 26 Sep 2005 07:04:23 +0000 (07:04 +0000)]
gdb/
2005-09-26  Jan Beulich  <jbeulich@novell.com>

* MAINTAINERS (Write After Approval): Add myself.

19 years agogdb/
Jan Beulich [Mon, 26 Sep 2005 06:59:39 +0000 (06:59 +0000)]
gdb/
2005-09-26  Jan Beulich  <jbeulich@novell.com>

* amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
AMD64_MXCSR_REGNUM): New.
* amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
mxcsr, fp control and status words.
* i386-tdep.c (): Add selector regs, mxcsr, fp control and status
words.

19 years ago2005-09-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 26 Sep 2005 02:17:34 +0000 (02:17 +0000)]
2005-09-26  Paul Brook  <paul@codesourcery.com>

* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it.  Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this.  Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.

19 years agodaily update
Alan Modra [Mon, 26 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 26 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
Dave Anglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.

19 years ago*** empty log message ***
gdbadmin [Sun, 25 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 25 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 24 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 24 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * enable.m4: New file.
Tom Tromey [Fri, 23 Sep 2005 17:28:31 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.

19 years agodaily update
Alan Modra [Fri, 23 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 23 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoFix addr2line -i problem; reports incorrect function nesting for inline funcs.
Jim Wilson [Thu, 22 Sep 2005 19:50:27 +0000 (19:50 +0000)]
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field.  Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field.  Add code to set
funcinfo caller_func field.

19 years agodaily update
Alan Modra [Thu, 22 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 22 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
Mark Kettenis [Wed, 21 Sep 2005 20:45:46 +0000 (20:45 +0000)]
* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
*' for second argument instead of 'const char *'.

19 years ago * gas/lns/lns.exp (lns-common-1): Don't run on targets without
Alan Modra [Wed, 21 Sep 2005 06:55:49 +0000 (06:55 +0000)]
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.

19 years ago * read.c (pseudo_set): Don't set undefined symbols to expr_section.
Alan Modra [Wed, 21 Sep 2005 00:12:19 +0000 (00:12 +0000)]
* read.c (pseudo_set): Don't set undefined symbols to expr_section.

19 years agodaily update
Alan Modra [Wed, 21 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 21 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Tue, 20 Sep 2005 23:40:51 +0000 (23:40 +0000)]
2005-09-20  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
         after a 'finish' command.

19 years ago * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
Richard Henderson [Tue, 20 Sep 2005 21:00:15 +0000 (21:00 +0000)]
    * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.

19 years ago * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
Richard Henderson [Tue, 20 Sep 2005 18:24:48 +0000 (18:24 +0000)]
    * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
        with label.
        (dwarf2_loc_mark_labels): New.
        (dwarf2_gen_line_info_1): Split out of ...
        (dwarf2_gen_line_info): ... here.  Create the temp symbol here.
        (dwarf2_emit_label): New.
        (dwarf2_directive_loc_mark_labels): New.
        (out_set_addr): Take a symbol instead of frag+ofs.
        (relax_inc_line_addr): Likewise.
        (emit_inc_line_addr): Assert delta non-negative.
        (process_entries): Remove dead code.  Update to work with temp
        symbols instead of frag+ofs.
        * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
        (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
        * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
        * config/obj-elf.h (obj_frob_label): New.
        * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
        * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
        config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
        Similarly in the respective tc_frob_label implementation functions.
        * config/tc-i386.c (md_pseudo_table): Move file and loc to
        non-elf section; add loc_mark_labels.
        * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
        (ia64_flush_insns): Check for marked labels; emit line entry if so.
        (emit_one_bundle): Similarly.
        (ia64_frob_label): Record marked labels.
        * config/tc-m68hc11.h (tc_frob_label): Remove.
        * config/tc-ms1.c (md_pseudo_table): Remove file and loc.
        * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
        * config/tc-sh64.h (tc_frob_label): Likewise.
        * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.

19 years agoAdd mangled names to addr2line -i output.
Jim Wilson [Tue, 20 Sep 2005 18:13:32 +0000 (18:13 +0000)]
Add mangled names to addr2line -i output.
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set.  For DW_AT_name case, only set name if not already set.  Handle
DW_AT_MIPS_linkage_name.

19 years ago * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
Richard Henderson [Tue, 20 Sep 2005 17:58:34 +0000 (17:58 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
        gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
        gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
        gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
        gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
        gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
        prefix in "Advance PC" lines.

19 years ago * readelf.c (display_debug_lines): Use unsigned long for address
Richard Henderson [Tue, 20 Sep 2005 17:55:13 +0000 (17:55 +0000)]
    * readelf.c (display_debug_lines): Use unsigned long for address
        increments.  Use 0x prefix for all hex numbers.

19 years ago* bfp-test.c: New file.
Wu Zhou [Tue, 20 Sep 2005 09:01:14 +0000 (09:01 +0000)]
* bfp-test.c: New file.
* bfp-test.exp: New testcase.

19 years ago* c-exp.y (parse-number): Modify the float parsing logic to let it
Wu Zhou [Tue, 20 Sep 2005 08:55:55 +0000 (08:55 +0000)]
* c-exp.y (parse-number): Modify the float parsing logic to let it
recognize a suffix.

19 years ago * gdb.fortran/subarray.exp: New testcase to test the evaluation
Wu Zhou [Tue, 20 Sep 2005 06:37:03 +0000 (06:37 +0000)]
* gdb.fortran/subarray.exp: New testcase to test the evaluation
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.

19 years agoexpression.h (enum exp_opcode): Fix a format error of a comment.
Wu Zhou [Tue, 20 Sep 2005 06:31:59 +0000 (06:31 +0000)]
expression.h (enum exp_opcode): Fix a format error of a comment.

19 years ago * expression.h (enum exp_opcode): Add a new operator for F90
Wu Zhou [Tue, 20 Sep 2005 06:25:34 +0000 (06:25 +0000)]
    * expression.h (enum exp_opcode): Add a new operator for F90
        subrange.
        * f-lang.h (enum f90_range_type): New enumeration type to identify
        F90 subrange type.
        * f-exp.y (yyparse): Add support for parsing F90 subrange and
        change substring parsing to subrange parsing.
        * parse.c (operator_length_standard): Set the operator length
        and args number for OP_F90_RANGE.
        * eval.c (evaluate_subexp_standard): Add code to evaluate F90
        array section and substring.
        (value_f90_subarray): New function to evaluate F90 array section.
        (evaluate_subexp_standard): Delete label op_f77_substr and its code
        because the logic is implemented by function value_f90_subarray now.

19 years ago2005-09-19 David Edelsohn <edelsohn@gnu.org>
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

2005-09-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * configure.in: Recognize f95 in the --enable-languages option,
        and substitute it for fortran, issuing a warning.
        * configure: Regenerate.

19 years ago * read.c (pseudo_set): Set segment of expression syms to expr_section.
Alan Modra [Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.

19 years ago * ldlang.h (lang_output_section_statement_struct): Change type of
Alan Modra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.

19 years ago*** empty log message ***
gdbadmin [Tue, 20 Sep 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 20 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update

19 years ago * elflink.c (_bfd_elf_merge_symbol): Simplify.
Alan Modra [Mon, 19 Sep 2005 23:30:05 +0000 (23:30 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Simplify.

19 years ago PR ld/1353
Alan Modra [Mon, 19 Sep 2005 23:17:47 +0000 (23:17 +0000)]
PR ld/1353
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.

19 years ago * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
Daniel Jacobowitz [Mon, 19 Sep 2005 18:09:08 +0000 (18:09 +0000)]
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
copyright dates.

19 years ago* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
Paul Gilliam [Mon, 19 Sep 2005 17:38:04 +0000 (17:38 +0000)]
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
  'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
  powerpc altivec' test with an almost identical 'info vector' test.

19 years ago2005-09-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 19 Sep 2005 14:21:09 +0000 (14:21 +0000)]
2005-09-19  Paul Brook  <paul@codesourcery.com>

* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.

19 years ago * interp.c (<sys/mman.h>): Include.
Joern Rennecke [Mon, 19 Sep 2005 11:29:30 +0000 (11:29 +0000)]
* interp.c (<sys/mman.h>): Include.
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.

19 years ago * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
Alan Modra [Mon, 19 Sep 2005 09:35:26 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error.  Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.

19 years ago*** empty log message ***
gdbadmin [Mon, 19 Sep 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * gdb.texinfo (Contributors): Thank Andrew Cagney for releases
Daniel Jacobowitz [Sun, 18 Sep 2005 03:28:18 +0000 (03:28 +0000)]
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
6.2 and 6.3.

19 years ago*** empty log message ***
gdbadmin [Sun, 18 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago * acinclude.m4: Correct quoting.
Daniel Jacobowitz [Sat, 17 Sep 2005 23:14:37 +0000 (23:14 +0000)]
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated.

Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.

19 years agodaily update
Alan Modra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 17 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
gdbadmin [Fri, 16 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***