OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago * MAINTAINERS: Add an "Authorized committers" section, and list
Daniel Jacobowitz [Thu, 4 May 2006 15:39:19 +0000 (15:39 +0000)]
* MAINTAINERS: Add an "Authorized committers" section, and list
DJ Delorie for v850.

18 years ago2006-05-04 Steve Ellcey <sje@cup.hp.com>
Daniel Jacobowitz [Thu, 4 May 2006 15:11:54 +0000 (15:11 +0000)]
2006-05-04  Steve Ellcey  <sje@cup.hp.com>

* blt, iwidgets, mmalloc: Remove directories.

18 years ago[ gas/testsuite/ChangeLog ]
Thiemo Seufer [Thu, 4 May 2006 10:47:05 +0000 (10:47 +0000)]
[ gas/testsuite/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

        * gas/mips/mips.exp: Run mips32-dsp tests only for mips32r2.
        * gas/mips/set-arch.d: Adjust according to opcode table changes.

[ include/opcode/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>
            David Ung  <davidu@mips.com>

        * mips.h: Add INSN_SMARTMIPS define.

[ opcodes/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>
            David Ung  <davidu@mips.com>

        * mips-dis.c (mips_arch_choices): Add smartmips instruction
        decoding to MIPS32 and MIPS32R2.  Limit DSP decoding to release
        2 ISAs.  Add MIPS3D decoding to MIPS32R2.  Add MT decoding to
        MIPS64R2.
        * mips-opc.c: fix random typos in comments.
        (INSN_SMARTMIPS): New defines.
        (mips_builtin_opcodes): Add paired single support for MIPS32R2.
        Move bc3f, bc3fl, bc3t, bc3tl downwards.  Move flushi, flushd,
        flushid, wb upwards.  Move cfc3, ctc3 downwards.  Rework the
        FP_S and FP_D flags to denote single and double register
        accesses separately.  Move dmfc3, dmtc3, mfc3, mtc3 downwards.
        Allow jr.hb and jalr.hb for release 1 ISAs.  Allow luxc1, suxc1
        for MIPS32R2.  Add SmartMIPS instructions.  Add two-argument
        variants of bc2f, bc2fl, bc2t, bc2tl.  Add mfhc2, mthc2 to
        release 2 ISAs.
        * mips16-opc.c (mips16_opcodes): Add sdbbp instruction.

18 years ago * coff-or32.c (bfd_section_from_shdr): Remove unused local
Ben Elliston [Thu, 4 May 2006 05:05:25 +0000 (05:05 +0000)]
* coff-or32.c (bfd_section_from_shdr): Remove unused local
variable `ptr'.
* cofflink.c (process_embedded_commands): Remove unused local
variables `had_read' and `had_shared'.
* ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local
variable `fdr_adr'.
* ihex.c (ihex_read_section): Remove unused local variable `addr'.

18 years agodaily update
Alan Modra [Thu, 4 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 4 May 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogdb/ChangeLog:
Jim Blandy [Wed, 3 May 2006 22:59:38 +0000 (22:59 +0000)]
gdb/ChangeLog:
2006-05-03  Vladimir Prus  <ghost@cs.msu.su>

       * varobj.c (c_value_of_variable): Ignore top-level references.
       (Committed by Jim Blandy.)

18 years ago2006-05-03 Thiemo Seufer <ths@mips.com>
Thiemo Seufer [Wed, 3 May 2006 20:59:19 +0000 (20:59 +0000)]
2006-05-03  Thiemo Seufer  <ths@mips.com>

        [ opcodes/ChangeLog ]
        * mips-opc.c (mips_builtin_opcodes): Fix mftr argument order.

        [ gas/testsuite/ChangeLog ]
        * gas/mips/mips32-mt.d: Fix mftr argument order.

18 years agobfd/
Alan Modra [Wed, 3 May 2006 14:26:40 +0000 (14:26 +0000)]
bfd/
* libbfd-in.h (_bfd_generic_new_section_hook): Declare.
* section.c (bfd_abs_symbol, bfd_com_symbol): Delete.
(bfd_und_symbol, bfd_ind_symbol): Delete.
(BFD_FAKE_SECTION): Remove SYM_PTR param, set symbol_ptr_ptr to
&SEC.symbol.
(STD_SECTION): Adjust.
(_bfd_generic_new_section_hook): New function, extracted from..
(bfd_section_init): ..here.
(bfd_make_section_old_way): Call new_section_hook for abs, com,
und and ind sections.
* elf.c (_bfd_elf_large_com_section): Adjust.
* aoutx.h (new_section_hook): Call _bfd_generic_new_section_hook.
* pdp11.c (new_section_hook): Likewise.
* coffcode.h (coff_new_section_hook): Likewise.
* ecoff.c (_bfd_ecoff_new_section_hook): Likewise.
* elf.c (_bfd_elf_new_section_hook): Likewise.
* vms.c (vms_new_section_hook): Likwise.
* elf32-arm.c (elf32_arm_new_section_hook): Check used_by_bfd isn't
already set.
* elf32-sh64.c (sh64_elf_new_section_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_new_section_hook): Likewise.
* elf64-mmix.c (mmix_elf_new_section_hook): Likewise.
* elf64-ppc.c (ppc64_elf_new_section_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_new_section_hook): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_new_section_hook): Likewise.
* ieee.c (ieee_new_section_hook): Likewise.  Call
_bfd_generic_new_section_hook too.
* mmo.c (mmo_new_section_hook): Likewise.
* oasys.c (oasys_new_section_hook): Likewise.
* som.c (som_new_section_hook): Likewise.
* coff-w65.c (reloc_processing): Don't use bfd_abs_symbol.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* subsegs.c (subseg_get): Don't call obj_sec_set_private_data.
* config/obj-elf.h (obj_sec_set_private_data): Delete.
* config/tc-hppa.c (tc_gen_reloc): Don't use bfd_abs_symbol.
* config/tc-mn10300.c (tc_gen_reloc): Likewise.

18 years ago * hash.c (DEFAULT_SIZE): Revert last change.
Alan Modra [Wed, 3 May 2006 04:20:52 +0000 (04:20 +0000)]
* hash.c (DEFAULT_SIZE): Revert last change.
(higher_prime_number): Correct test for no larger prime.  Don't
abort on error, instead return 0.  Depopulate primes[].
(bfd_hash_lookup): If we overflow size, refuse to grow table.

18 years agodaily update
Alan Modra [Wed, 3 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 3 May 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * texi2pod.pl: Handle -I.
Daniel Jacobowitz [Tue, 2 May 2006 13:59:42 +0000 (13:59 +0000)]
* texi2pod.pl: Handle -I.

18 years ago2006-05-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 2 May 2006 13:09:17 +0000 (13:09 +0000)]
2006-05-02  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
for R_ARM_REL32.
gas/
* config/tc-arm.c (arm_optimize_expr): New function.
* config/tc-arm.h (md_optimize_expr): Define
(arm_optimize_expr): Add prototype.
(TC_FORCE_RELOCATION_SUB_SAME): Define.
ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb-rel32.
* ld-arm/thumb-rel32.d: New test.
* ld-arm/thumb-rel32.s: New test.

18 years ago * mips-dis.c (print_insn_args): Force mips16 to odd addresses.
Thiemo Seufer [Tue, 2 May 2006 11:12:41 +0000 (11:12 +0000)]
* mips-dis.c (print_insn_args): Force mips16 to odd addresses.
(print_mips16_insn_arg): Force mips16 to odd addresses.

18 years ago * archive.c (bfd_generic_archive_p): Remove unused local variable
Ben Elliston [Tue, 2 May 2006 10:01:56 +0000 (10:01 +0000)]
* archive.c (bfd_generic_archive_p): Remove unused local variable
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
* elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
local varibale `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
variable `r_addend'.
* elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
* elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
(_bfd_ns32k_relocate_contents): Remove break after return.
* elf.c (bfd_section_from_shdr): Remove breaks after returns.

18 years agoRename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition
Nick Clifton [Tue, 2 May 2006 09:56:00 +0000 (09:56 +0000)]
Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition

18 years ago * dwarf2.c: Formatting.
Alan Modra [Tue, 2 May 2006 01:41:20 +0000 (01:41 +0000)]
* dwarf2.c: Formatting.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
output section check.
* elf32-i370.c: Warning fixes inside #ifdef DEBUG.
* elf32-m32c.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-v850.c: Similarly.
* nlm32-sparc.c: Similarly.
* elfcode.h: Similarly.
(elf_symbol_flags): Delete.
* elflink.c (elf_link_input_bfd): Comment typo.

18 years agoFix typo.
DJ Delorie [Tue, 2 May 2006 00:58:33 +0000 (00:58 +0000)]
Fix typo.

18 years ago* configure.in: Restore CFLAGS if GM P isn't present.
DJ Delorie [Tue, 2 May 2006 00:16:50 +0000 (00:16 +0000)]
* configure.in: Restore CFLAGS if GM P isn't present.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Tue, 2 May 2006 00:00:39 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 2 May 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
Mark Kettenis [Mon, 1 May 2006 22:21:35 +0000 (22:21 +0000)]
* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
NetBSD/ELF targets.

18 years ago* bfd-in.h (bfd_hash_table): Add count field.
DJ Delorie [Mon, 1 May 2006 19:36:27 +0000 (19:36 +0000)]
* bfd-in.h (bfd_hash_table): Add count field.
* bfd-in2.h: Regenerate.
* hash.c (higher_prime_number): New.
(bfd_hash_table_inint_n): Init count field.
(bfd_hash_lookup): Grow table as needed.

18 years ago* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
Mark Kettenis [Mon, 1 May 2006 16:39:36 +0000 (16:39 +0000)]
* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
single-step breakpoint fails; make this a KFAIL on
sparc*-*-openbsd*.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp (advance, advancei): Likewise.

18 years ago* breakpoint.c (insert_single_step_breakpoint): Make a failure to
Mark Kettenis [Mon, 1 May 2006 16:38:08 +0000 (16:38 +0000)]
* breakpoint.c (insert_single_step_breakpoint): Make a failure to
insert a single-step breakpoint an error instead of a warning.
* breakpoint.c (remove_single_step_breakpoints): Bail out early if
no breakpoints are inserted.

18 years ago2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
Nathan J. Williams [Mon, 1 May 2006 15:10:26 +0000 (15:10 +0000)]
2006-05-01  Nathan J. Williams  <nathanw@wasabisystems.com>

        * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
        arguments from void * to gdb_byte *.

18 years ago*** empty log message ***
gdbadmin [Mon, 1 May 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 1 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago[ gas/ChangeLog ]
Thiemo Seufer [Sun, 30 Apr 2006 18:34:39 +0000 (18:34 +0000)]
[ gas/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * config/tc-mips.c (validate_mips_insn): Handling of udi cases.
        (mips_immed): New table that records various handling of udi
        instruction patterns.
        (mips_ip): Adds udi handling.

[ include/opcode/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * mips.h: Defines udi bits and masks.  Add description of
        characters which may appear in the args field of udi
        instructions.

[ opcodes/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * mips-opc.c (mips_builtin_opcodes): Add udi instructions
        "udi0" to "udi15".
        * mips-dis.c (print_insn_args): Adds udi argument handling.

18 years agodaily update
Alan Modra [Sun, 30 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 30 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoMove opcode ChangeLog entry to opcode/ChangeLog.
H.J. Lu [Sat, 29 Apr 2006 16:54:51 +0000 (16:54 +0000)]
Move opcode ChangeLog entry to opcode/ChangeLog.

18 years agoFix buglet noticed while looking at PR 1298.
Jim Wilson [Sat, 29 Apr 2006 03:11:31 +0000 (03:11 +0000)]
Fix buglet noticed while looking at PR 1298.
* m68k-dis.c (match_insn_m68k): Restore fprintf_func before printing
error message.

18 years ago*** empty log message ***
gdbadmin [Sat, 29 Apr 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 29 Apr 2006 00:00:11 +0000 (00:00 +0000)]
daily update

18 years agoDon't mis-spell your boss' name...
Thiemo Seufer [Fri, 28 Apr 2006 13:38:49 +0000 (13:38 +0000)]
Don't mis-spell your boss' name...

18 years ago[ opcodes/ChangeLog ]
Thiemo Seufer [Fri, 28 Apr 2006 13:16:59 +0000 (13:16 +0000)]
[ opcodes/ChangeLog ]
2006-04-28  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>
            Nigel Stevens  <nigel@mips.com>

* mips-dis.c (mips_cp0sel_names_mips3264r2): Add MT register
        names.

[ gas/testsuite/ChangeLog ]
2006-04-28  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>
            Nigel Stevens  <nigel@mips.com>

* gas/mips/cp0sel-names-mips32r2.d,
gas/mips/cp0sel-names-mips64r2.d: Update for MT register names.

18 years ago * mips-dis.c (print_insn_args): Add mips_opcode argument.
Thiemo Seufer [Fri, 28 Apr 2006 12:59:30 +0000 (12:59 +0000)]
* mips-dis.c (print_insn_args): Add mips_opcode argument.
(print_insn_mips):  Adjust print_insn_args call.

18 years ago * mips-dis.c (print_insn_args): Print $fcc only for FP
Thiemo Seufer [Fri, 28 Apr 2006 12:19:31 +0000 (12:19 +0000)]
* mips-dis.c (print_insn_args): Print $fcc only for FP
instructions, use $cc elsewise.

18 years ago * opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
Thiemo Seufer [Fri, 28 Apr 2006 11:42:28 +0000 (11:42 +0000)]
* opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
Map MIPS16 registers to O32 names.
(print_mips16_insn_arg): Use mips16_reg_names.

18 years agodaily update
Alan Modra [Fri, 28 Apr 2006 00:00:36 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 28 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 27 Apr 2006 23:03:42 +0000 (23:03 +0000)]
2006-04-26  Michael Snyder  <msnyder@redhat.com>

* linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
command to "delete fork" (no hyphen), compatible with other
"delete" commands.
(info_forks_command): Accept a fork ID argument, for info
on a single fork.  Report if no matching forks.

2006-04-26  Michael Snyder  <msnyder@redhat.com>

* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
which may have to consume output from other forks.
Add tests to make sure that "delete fork" succeeded.

2006-04-27  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (delete-fork): Command renamed to "delete fork".

18 years ago PR binutils/2584
Kaz Kojima [Thu, 27 Apr 2006 05:57:09 +0000 (05:57 +0000)]
PR binutils/2584
* tekhex.c (getvalue): Change return type to bfd_boolean and
add the new parameter.  Return false if the unexpected character
is found.
(getsym): Likewise.
(first_phase): Change return type to bfd_boolean and return
false if the unexpected character is found.  Replace abort
with returning false.
(pass_over): Change return type to bfd_boolean and the type of
the second argument to bfd_boolean (*) (bfd *, int, char *).
Return false if FUNC returns false.
(tekhex_object_p): Return NULL if pass_over fails.

18 years ago * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
Alan Modra [Thu, 27 Apr 2006 01:19:35 +0000 (01:19 +0000)]
* coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.

18 years ago*** empty log message ***
gdbadmin [Thu, 27 Apr 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 27 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 26 Apr 2006 18:45:32 +0000 (18:45 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* remote.c: Fix spelling error in comment.

18 years ago * mips.h: Improve comments describing the bitfield instruction
Thiemo Seufer [Wed, 26 Apr 2006 18:19:15 +0000 (18:19 +0000)]
* mips.h: Improve comments describing the bitfield instruction
fields.

18 years ago * arm-dis.c (print_insn_neon): Disassemble floating-point constant
Julian Brown [Wed, 26 Apr 2006 16:02:07 +0000 (16:02 +0000)]
* arm-dis.c (print_insn_neon): Disassemble floating-point constant
VMOV.

18 years ago * opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
Julian Brown [Wed, 26 Apr 2006 15:41:16 +0000 (15:41 +0000)]
* opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
(FPU_NEON_EXT_V1): Likewise.
(FPU_VFP_HARD): Update.
(FPU_VFP_V3): Define macro.
(FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.

18 years ago * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
Julian Brown [Wed, 26 Apr 2006 15:40:55 +0000 (15:40 +0000)]
* opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
%<code>[zy] into %[zy]<code>.  Expand meaning of %<bitfield>['`?].
Add unified load/store instruction names.
(neon_opcode_table): New.
(arm_opcodes): Expand meaning of %<bitfield>['`?].
(arm_decode_bitfield): New.
(print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
(print_insn_neon): New.
(print_insn_arm): Adjust print_insn_coprocessor call. Call
print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
(print_insn_thumb32): Likewise.

18 years ago2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 26 Apr 2006 13:32:26 +0000 (13:32 +0000)]
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2593
* elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
and flags if its BFD flags have been set.
(_bfd_elf_init_private_section_data): Don't copy the output ELF
section type from input if it has been set to something
different.

18 years agoAdd missing changelog entry
Andreas Jaeger [Wed, 26 Apr 2006 09:24:07 +0000 (09:24 +0000)]
Add missing changelog entry

18 years agodaily update
Alan Modra [Wed, 26 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 26 Apr 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoRegenerate libbfd.h.
H.J. Lu [Tue, 25 Apr 2006 19:09:58 +0000 (19:09 +0000)]
Regenerate libbfd.h.

18 years agoFrom Masaki MURANAKA <monaka@monami-software.com>:
Mark Kettenis [Tue, 25 Apr 2006 18:58:09 +0000 (18:58 +0000)]
From Masaki MURANAKA <monaka@monami-software.com>:
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'

18 years ago2006-04-11 Jim Blandy <jimb@codesourcery.com>
Jim Blandy [Tue, 25 Apr 2006 18:02:13 +0000 (18:02 +0000)]
2006-04-11  Jim Blandy  <jimb@codesourcery.com>

Add support for 'target remote |' on MinGW.
* ser-mingw.c (struct pipe_state): New structure.
(make_pipe_state, free_pipe_state, cleanup_pipe_state)
(pipe_windows_open, pipe_windows_close, pipe_windows_read)
(pipe_windows_write, pipe_wait_handle): New functions.
(_initialize_ser_windows): Register a "pipe" interface based on
them.

18 years ago2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 25 Apr 2006 17:46:15 +0000 (17:46 +0000)]
2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2467
* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
is NULL first.

* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
abfd->sections is NULL.
(elf32_arm_bfd_free_cached_info): New.
(bfd_elf32_bfd_free_cached_info): Defined.

* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
to _bfd_free_cached_info.

* libbfd-in.h (_bfd_free_cached_info): New.
* libbfd: Regenerated.

* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
(_bfd_free_cached_info): New.

18 years agoRemove spurious entry
Michael Snyder [Tue, 25 Apr 2006 00:18:25 +0000 (00:18 +0000)]
Remove spurious entry

18 years agodaily update
Alan Modra [Tue, 25 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 25 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoforgotten changelog entry
Michael Snyder [Mon, 24 Apr 2006 22:39:03 +0000 (22:39 +0000)]
forgotten changelog entry

18 years ago * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
Julian Brown [Mon, 24 Apr 2006 21:34:41 +0000 (21:34 +0000)]
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.

18 years ago * ser-mingw.c: Include <conio.h>.
Daniel Jacobowitz [Mon, 24 Apr 2006 21:00:13 +0000 (21:00 +0000)]
* ser-mingw.c: Include <conio.h>.
(struct ser_console_state, struct net_windows_state): Add exit_select,
have_stopped, thread.
(pipe_select_thread, console_select_thread)
(net_windows_select_thread): Don't create a local state copy or
close stop_select.  Exit on exit_select instead of stop_select.  Set
have_stopped.
(console_select_thread): Don't report control keypresses as pending
input.
(pipe_select_thread): Allow stop_select to interrupt sleeping.
(set_console_wait_handle): Create exit_select and have_stopped.
Save the thread handle.  Check _kbhit before starting a thread.
(ser_console_done_wait_handle): New.
(ser_console_close): Close new handles.  Wait for the thread to
exit.
(new_windows_select_thread): Assert that an event occurred.
(net_windows_wait_handle): Check for pending input before starting
a thread.
(net_windows_done_wait_handle): New.
(net_windows_open): Create exit_select and have_stopped.
Save the thread handle.
(net_windows_close): Close new handles.  Wait for the thread to
exit.
(_intiialize_ser_windows): Register done_wait_handle methods.

* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
[USE_WIN32API] (serial_done_wait_handle): New prototype.
* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.

18 years agodaily update
Alan Modra [Mon, 24 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 24 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * Makefile.in (tmp-ld-decode): Fix dependencies.
Andreas Schwab [Sun, 23 Apr 2006 14:54:42 +0000 (14:54 +0000)]
* Makefile.in (tmp-ld-decode): Fix dependencies.
(tmp-ld-cache): Likewise.
(tmp-ld-insn): Likewise.

18 years ago * rs6000-tdep.c: Include "reggroups.h" only once.
Andreas Schwab [Sun, 23 Apr 2006 14:15:01 +0000 (14:15 +0000)]
* rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.

18 years agodaily update
Alan Modra [Sun, 23 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 23 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-04-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 22 Apr 2006 23:12:03 +0000 (23:12 +0000)]
2006-04-22  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Contributors): Credit frame unwinder contributors.
* gdbint.texinfo (Algorithms): Fix errors in frame documentation.

18 years ago*** empty log message ***
gdbadmin [Sat, 22 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 22 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-21 Frederic Riss <frederic.riss@st.com>
Frederic Riss [Fri, 21 Apr 2006 20:26:07 +0000 (20:26 +0000)]
2006-04-21  Frederic Riss  <frederic.riss@st.com>

* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
compilation directory as last argument.
Always pass comp_dir as second argument to start_subfile and prepend
dirname to the filename when necessary.
Remove now superfluous search for pre-existing subfile.
(dwarf_decode_lines): Pass the compilation directory to
dwarf2_start_subfile.

18 years ago * elf.c (assign_file_positions_except_relocs): Move code setting
Alan Modra [Fri, 21 Apr 2006 07:26:09 +0000 (07:26 +0000)]
* elf.c (assign_file_positions_except_relocs): Move code setting
file position of non-loaded sections..
(assign_file_positions_for_segments): ..to here.

18 years ago2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 21 Apr 2006 03:42:47 +0000 (03:42 +0000)]
2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2537
* elf.c (bfd_section_from_shdr): Allow sections reserved for
applications. Issue an error on sections we don't know how
to handle.

18 years ago*** empty log message ***
gdbadmin [Fri, 21 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 21 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 20 Apr 2006 23:24:23 +0000 (23:24 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* 2006-03-22  Jim Blandy  <jimb@redhat.com>
Add support for the Renesas M32C and M16C.

* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 20 Apr 2006 23:18:48 +0000 (23:18 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* 2006-03-22  Jim Blandy  <jimb@redhat.com>
Add support for the Renesas M32C and M16C.

* configure.tgt (m32c-*-*): New entry.
* config/m32c/m32c.mt: New file.
* m32c-tdep.c: New file.
* Makefile.in (elf_m32c_h): New variable.
(m32c-tdep.o): New rule.
* NEWS: Mention new target.
* MAINTAINERS: Designate Jim Blandy as responsible maintainer.

18 years agotouched all sources to ease import of readline-5.1
Elena Zannoni [Thu, 20 Apr 2006 20:13:20 +0000 (20:13 +0000)]
touched all sources to ease import of readline-5.1

18 years agoimport of readlilne 5.1
Elena Zannoni [Thu, 20 Apr 2006 20:05:51 +0000 (20:05 +0000)]
import of readlilne 5.1

18 years agoInitial revision
Elena Zannoni [Thu, 20 Apr 2006 20:05:51 +0000 (20:05 +0000)]
Initial revision

18 years ago * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Daniel Jacobowitz [Thu, 20 Apr 2006 17:29:47 +0000 (17:29 +0000)]
* m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Correct type of VALUEP.  Reported by Jean-Rene Peulve
<jr.peulve@wanadoo.fr>.

18 years agodaily update
Alan Modra [Thu, 20 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 20 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Wed, 19 Apr 2006 12:10:21 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years ago2006-04-19 Masaki Muranaka <monaka@monami-software.com>
Kazuhiro Inaoka [Wed, 19 Apr 2006 06:36:37 +0000 (06:36 +0000)]
2006-04-19  Masaki Muranaka  <monaka@monami-software.com>

        * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
        netdb.h, netinet/in.h.
        (m32r_upload_command); Add calls WSAStartup().
        * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
        netinet/in.h.

18 years ago * avr-dis.c (avr_operand): Warning fix.
Alan Modra [Wed, 19 Apr 2006 02:15:05 +0000 (02:15 +0000)]
* avr-dis.c (avr_operand): Warning fix.

18 years agobfd/
Alan Modra [Wed, 19 Apr 2006 02:06:15 +0000 (02:06 +0000)]
bfd/
* warning.m4 (--enable-werror, -build-warnings): Format help messages.
* configure: Regenerate.
binutils/
* configure: Regenerate.
gas/
* configure.in (--enable-targets): Indent help message.
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
opcodes/
* configure: Regenerate.

18 years ago* configure.in (m32c): Build libstdc++-v3. Pass flags to
DJ Delorie [Wed, 19 Apr 2006 00:57:59 +0000 (00:57 +0000)]
* configure.in (m32c): Build libstdc++-v3.  Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Wed, 19 Apr 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 19 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agogdb/
Daniel Jacobowitz [Tue, 18 Apr 2006 19:20:08 +0000 (19:20 +0000)]
gdb/
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
shadow_len.
(insert_bp_location, reattach_breakpoints, remove_breakpoint)
(delete_breakpoint): Update calls to changed methods.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(single_step_breakpoints, insert_single_step_breakpoint)
(remove_single_step_breakpoints): New.
* breakpoint.h (struct bp_target_info): New.
(struct bp_location): Replace shadow_contents with
target_info and overlay_target_info.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(insert_single_step_breakpoint, remove_single_step_breakpoints): New
prototypes.
* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
(memory_insert_breakpoint, memory_remove_breakpoint): Update second
argument.
* mem-break.c (default_memory_insert_breakpoint): Update.  Set
placed_address, placed_size, and shadow_len.
(default_memory_remove_breakpoint): Update.  Don't use
BREAKPOINT_FROM_PC.
(memory_insert_breakpoint, memory_remove_breakpoint): Update.
* target.c (update_current_target): Update prototypes for changed
functions.
(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
Update.
* target.h: Forward declare struct bp_target_info.
(struct target_ops): Use a bp_target_info argument for
to_insert_breakpoint, to_remove_breakpoint,
to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
(target_insert_breakpoint, target_remove_breakpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
(memory_insert_breakpoint, memory_remove_breakpoint)
(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
Update.
* config/i386/nm-i386.h: Forward declare struct bp_target_info.
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.

* gdbarch.c, gdbarch.h: Regenerated.

* alpha-tdep.c (alpha_software_single_step): Use
insert_single_step_breakpoint and remove_single_step_breakpoints.
Remove unused statics.
* arm-tdep.c (arm_software_single_step): Likewise.  Add a note.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* wince.c (struct thread_info_struct): Remove step_prev.
(undoSStep): Use remove_single_step_breakpoints.
(wince_software_single_step): Use insert_single_step_breakpoint.

* corelow.c (ignore): Remove unneeded prototype.  Update arguments.
* exec.c (ignore): Likewise.
* sol-thread.c (ignore): Likewise.

* procfs.c (dbx_link_shadow_contents): Delete.
(dbx_link_bpt): New.
(procfs_mourn_inferior): Remove it if necessary.
(remove_dbx_link_breakpoint): Use it.
(insert_dbx_link_bpt_in_file): Set it.
(procfs_init_inferior): Don't update dbx_link_bpt_addr.
* rs6000-nat.c (exec_one_dummy_insn): Use
deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
(base_breakpoint): New.
(disable_break): Use it.
(enable_break): Set it.

* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
Likewise.  Remove unnecessary prototypes.  Use placed_address
and placed_size.  Removed useless read from memory.
* nto-procfs.c (procfs_insert_breakpoint)
(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
(procfs_remove_hw_breakpoint): Update.
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Likewise.
* remote-m32r-sdi.c (m32r_insert_breakpoint)
(m32r_remove_breakpoint): Likewise.
* remote-mips.c (mips_insert_breakpoint)
(mips_remove_breakpoint): Likewise.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Likewise.
(rdp_step): Use deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
Update.
* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
Delete.
(init_gdbsim_ops): Use memory_insert_breakpoint and
memory_remove_breakpoint.
* remote-st.c (st2000_insert_breakpoint)
(st2000_remove_breakpoint): Update.  Remove unused
BREAKPOINT_FROM_PC.
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
Update.  Use placed_address and placed_size.
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
and remove breakpoint prototypes.
(Watchpoints): Move description of target_insert_hw_breakpoint and
target_remove_hw_breakpoint ...
(Breakpoints): ... to here.  Document target_insert_breakpoint and
target_remove_breakpoint.

18 years agoPR 2257
Nick Clifton [Tue, 18 Apr 2006 09:41:36 +0000 (09:41 +0000)]
PR 2257
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
  still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
  (process_file_header): Cope with a corrupt e_shstrndx field.
  (process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.

18 years ago* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.
Nick Clifton [Tue, 18 Apr 2006 09:19:28 +0000 (09:19 +0000)]
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.

18 years agoooops - omitted from previous delta
Nick Clifton [Tue, 18 Apr 2006 09:16:01 +0000 (09:16 +0000)]
ooops - omitted from previous delta