platform/upstream/binutils.git
17 years ago * MAINTAINERS (Write After Approval): Add myself.
Mark Shinwell [Fri, 20 Apr 2007 12:19:11 +0000 (12:19 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years agoCorrect erroneous ChangeLog commit.
Mark Shinwell [Fri, 20 Apr 2007 12:15:41 +0000 (12:15 +0000)]
Correct erroneous ChangeLog commit.

17 years ago * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
Mark Shinwell [Fri, 20 Apr 2007 12:13:52 +0000 (12:13 +0000)]
* Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
(m68k_linux_sigcontext_reg_offset): Fix typo.
(target_is_uclinux): New.
(m68k_linux_inferior_created): New.
(m68k_linux_get_sigtramp_info):  Check for uClinux or
normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
uClinux.
(_initialize_m68k_linux_tdep): Register
m68k_linux_inferior_created.

17 years ago * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
Alan Modra [Fri, 20 Apr 2007 10:24:37 +0000 (10:24 +0000)]
* ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
(Z2_MASK): Define.
(powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.

17 years ago * arm-dis.c (print_insn): Only look for a mapping symbol in the section
Richard Earnshaw [Fri, 20 Apr 2007 00:00:21 +0000 (00:00 +0000)]
* arm-dis.c (print_insn): Only look for a mapping symbol in the section
being disassembled.

17 years agodaily update
Alan Modra [Fri, 20 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 20 Apr 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gas/arm/mapshort.s: Add a small .data section.
Richard Earnshaw [Thu, 19 Apr 2007 23:59:45 +0000 (23:59 +0000)]
* gas/arm/mapshort.s: Add a small .data section.
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
disassembly.
* gas/arm/mapshort-elf.d: Likewise.

17 years ago * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Richard Earnshaw [Thu, 19 Apr 2007 23:27:03 +0000 (23:27 +0000)]
* binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Rename the second test.

17 years ago * win32-nat.c (win32_detach): Remove delete_command call.
Pedro Alves [Thu, 19 Apr 2007 19:35:24 +0000 (19:35 +0000)]
* win32-nat.c (win32_detach): Remove delete_command call.
Resume inferior with win32_resume instead of win32_continue.

17 years agoCorrect SSE4.2 ChangeLog entry.
H.J. Lu [Thu, 19 Apr 2007 17:08:56 +0000 (17:08 +0000)]
Correct SSE4.2 ChangeLog entry.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 Apr 2007 17:08:21 +0000 (17:08 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb1_unified.d: New test.
* gas/arm/thumb1_unified.s: New test.

gas/
* config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
Thumb-1.  Add sanity check for bogus relaxations.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 Apr 2007 17:05:12 +0000 (17:05 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.

17 years ago* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
Nick Clifton [Thu, 19 Apr 2007 13:36:41 +0000 (13:36 +0000)]
* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.

17 years ago * ser-mingw.c (fd_is_file): New function.
Jerome Guitton [Thu, 19 Apr 2007 13:04:30 +0000 (13:04 +0000)]
* ser-mingw.c (fd_is_file): New function.
(file_select_thread): New function.
(ser_console_wait_handle): Add special handling for files.

17 years agorevert hunk that belongs to a future patchset
Alan Modra [Thu, 19 Apr 2007 10:55:25 +0000 (10:55 +0000)]
revert hunk that belongs to a future patchset

17 years ago..
Alan Modra [Thu, 19 Apr 2007 10:52:48 +0000 (10:52 +0000)]
..

17 years agoduh
Alan Modra [Thu, 19 Apr 2007 10:52:36 +0000 (10:52 +0000)]
duh

17 years agomissed from last commit
Alan Modra [Thu, 19 Apr 2007 10:51:34 +0000 (10:51 +0000)]
missed from last commit

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 19 Apr 2007 10:47:50 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 19 Apr 2007 10:47:26 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years ago * corefile.c (core_create_function_syms, core_create_line_syms): Don't
Alan Modra [Thu, 19 Apr 2007 10:46:56 +0000 (10:46 +0000)]
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
set discard_underscores.
* gprof.c (discard_underscores): Delete.
* gprof.h (discard_underscores): Delete.
* sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
leading underscores.
* utils.c (print_name_only): Call bfd_demangle rather than
cplus_demangle.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
Alan Modra [Thu, 19 Apr 2007 10:45:59 +0000 (10:45 +0000)]
* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
* ldlang.c (lang_one_common): Likewise.
* ldmisc.c (vfinfo): Likewise.
(demangle): Delete.
* ldmisc.h (demangle): Delete.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * budemang.c: Delete.
Alan Modra [Thu, 19 Apr 2007 10:43:47 +0000 (10:43 +0000)]
* budemang.c: Delete.
* budemang.h: Delete.
* addr2line.c (translate_addresses): Call bfd_demangle rather than
demangle.
* nm.c (print_symname): Likewise.
* objdump.c (objdump_print_symname, dump_symbols): Likewise.
(dump_bfd): Likewise.
* prdbg.c (struct pr_handle <demangler>): Add int param.
(tg_variable, tg_start_function): Adjust demangler calls.
* Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years ago * bfd.c (bfd_demangle): New function.
Alan Modra [Thu, 19 Apr 2007 10:41:30 +0000 (10:41 +0000)]
* bfd.c (bfd_demangle): New function.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.

17 years ago * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
Alan Modra [Thu, 19 Apr 2007 01:39:31 +0000 (01:39 +0000)]
* ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
db10cyc, db12cyc, db16cyc.

17 years ago * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
Alan Modra [Thu, 19 Apr 2007 00:05:32 +0000 (00:05 +0000)]
* doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.

17 years agodaily update
Alan Modra [Thu, 19 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 19 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gas/ppc/booke.s: Add tlbsx, tlbsxe.
Alan Modra [Wed, 18 Apr 2007 23:58:12 +0000 (23:58 +0000)]
* gas/ppc/booke.s: Add tlbsx, tlbsxe.
* gas/ppc/booke.d: Update.

17 years ago * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
Alan Modra [Wed, 18 Apr 2007 23:57:01 +0000 (23:57 +0000)]
* ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.

17 years ago2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 18 Apr 2007 18:09:05 +0000 (18:09 +0000)]
2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.

17 years agogas/
H.J. Lu [Wed, 18 Apr 2007 16:15:55 +0000 (16:15 +0000)]
gas/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
(match_template): Handle operand size for crc32 in SSE4.2.
(process_suffix): Handle operand type for crc32 in SSE4.2.
(output_insn): Support SSE4.2.

gas/testsuite/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2.

* gas/i386/sse4_2.d: New file.
* gas/i386/sse4_2.s: Likewise.
* gas/i386/x86-64-sse4_2.d: Likewise.
* gas/i386/x86-64-sse4_2.s: Likewise.

opcodes/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): New.
(PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
 PREGRP91): New.
(threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
(three_byte_table): Likewise.

* i386-opc.c (i386_optab): Add SSE4.2 opcodes.

* gas/config/tc-i386.h (CpuSSE4_2): New.
(CpuSSE4): Likewise.
(CpuUnknownFlags): Add CpuSSE4_2.

17 years agogas/
H.J. Lu [Wed, 18 Apr 2007 16:13:15 +0000 (16:13 +0000)]
gas/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .sse4.1.
(process_operands): Adjust implicit operand for blendvpd,
blendvps and pblendvb in SSE4.1.
(output_insn): Support SSE4.1.

gas/testsuite/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add sse4.1 and x86-64-sse4.1.

* gas/i386/sse4_1.d: New file.
* gas/i386/sse4_1.s: Likewise.
* gas/i386/x86-64-sse4_1.d: Likewise.
* gas/i386/x86-64-sse4_1.s: Likewise.

opcodes/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (XMM_Fixup): New.
(Edqb): New.
(Edqd): New.
(XMM0): New.
(dqb_mode): New.
(dqd_mode): New.
(PREGRP39 ... PREGRP85): New.
(threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(prefix_user_table): Add PREGRP39 ... PREGRP85.
(three_byte_table): Likewise.
(putop): Handle 'K'.
(intel_operand_size): Handle dqb_mode, dqd_mode):
(OP_E): Likewise.
(OP_G): Likewise.

* i386-opc.c (i386_optab): Add SSE4.1 opcodes.

* i386-opc.h (CpuSSE4_1): New.
(CpuUnknownFlags): Add CpuSSE4_1.
(regKludge): Update comment.

17 years ago2007-04-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 18 Apr 2007 13:49:34 +0000 (13:49 +0000)]
2007-04-18  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb2_add.s: Add rsb #0 test.
* gas/arm/thumb2_add.d: Update expected output.

gas/
* config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.

17 years ago2007-04-18 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Wed, 18 Apr 2007 13:25:04 +0000 (13:25 +0000)]
2007-04-18  Denis Pilat  <denis.pilat@st.com>

* dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
when missing from DW_TAG_subrange_type.  Remove the handling of null
return from die_type.

17 years ago2007-04-18 Matthias Klose <doko@ubuntu.com>
Daniel Jacobowitz [Wed, 18 Apr 2007 12:14:50 +0000 (12:14 +0000)]
2007-04-18  Matthias Klose  <doko@ubuntu.com>

* Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion.
(bfdver.h): Use the date in non-release builds for the soversion.
* Makefile.in: Regenerate.

2007-04-18  Matthias Klose  <doko@ubuntu.com>

* Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
* Makefile.in: Regenerate.

17 years ago* mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
Maciej W. Rozycki [Wed, 18 Apr 2007 08:22:33 +0000 (08:22 +0000)]
* mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
change to rearrange some brackets.
(mips_n32n64_push_dummy_call): Likewise.
(mips_o32_push_dummy_call): Likewise.
(mips_o64_push_dummy_call): Likewise.

17 years ago2007-04-18 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Wed, 18 Apr 2007 07:21:33 +0000 (07:21 +0000)]
2007-04-18  Denis Pilat  <denis.pilat@st.com>

* infcmd.c (post_create_inferior): Start with a call to
target_terminal_ours().

17 years agold/
Alan Modra [Wed, 18 Apr 2007 03:55:10 +0000 (03:55 +0000)]
ld/
* ldlang.h (enum section_type): Add overlay_section.
* ldlang.c (lang_add_section): Handle flags for overlay_section
as per normal_section.
(lang_size_sections_1): When setting lma, detect overlays by
os->sectype rather than by looking for overlapping vmas.
(lang_enter_overlay_section): Use overlay_section type.
(lang_leave_overlay): Set first overlay section to normal.
ld/testsuite/
* ld-spu/ovl.lnk: Use OVERLAY keyword.

17 years agodaily update
Alan Modra [Wed, 18 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 18 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-17 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 17 Apr 2007 20:09:52 +0000 (20:09 +0000)]
2007-04-17  Paul Brook  <paul@codesourcery.com>

bfd/
* elf.c (_bfd_elf_is_function_type): New function.
* elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type.
(_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p,
is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto.
* elf-bfd.h (elf_backend_data): Add is_function_type.
(_bfd_elf_is_function_type): Add prototype.
* elfxx-target.h (elf_backend_is_function_type): Add default
definition.
(elfNN_bed): Add elf_backend_is_function_type.
* elf32-arm.c (elf32_arm_is_function_type): New function.
(elf_backend_is_function_type): Define.

ld/testsuite/
* ld-arm/preempt-app.s: New test.
* ld-arm/preempt-app.sym: New.
* ld-arm/arm-elf.exp: Add preempt-app.

17 years ago* mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
Maciej W. Rozycki [Tue, 17 Apr 2007 17:57:03 +0000 (17:57 +0000)]
* mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
brackets.
(mips_n32n64_push_dummy_call): Likewise.  Reformat some
expressions.
(mips_o32_push_dummy_call): Likewise.
(mips_o64_push_dummy_call): Likewise.

17 years ago* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
Maciej W. Rozycki [Tue, 17 Apr 2007 16:25:49 +0000 (16:25 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
comment.

17 years ago* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
Maciej W. Rozycki [Tue, 17 Apr 2007 16:05:25 +0000 (16:05 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
comment.
(mips_o32_push_dummy_call): Likewise.

17 years ago * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
Andreas Schwab [Tue, 17 Apr 2007 15:07:21 +0000 (15:07 +0000)]
* symtab.c (skip_prologue_using_sal): Allow the end of the prologue
sal to be bigger than the end of the function.

17 years ago* mips-tdep.c (mips_o32_push_dummy_call): Take account of
Maciej W. Rozycki [Tue, 17 Apr 2007 14:48:49 +0000 (14:48 +0000)]
* mips-tdep.c (mips_o32_push_dummy_call): Take account of
argument alignment requirements when calculating stack space
required.  When aligning an arg register to eight bytes
boundary, align stack_offset too.  Write floating-point
arguments to the appropriate integer register if need go there.
(mips_o64_push_dummy_call): Likewise.

17 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
Daniel Jacobowitz [Tue, 17 Apr 2007 13:14:08 +0000 (13:14 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
DT_MIPS_RLD_MAP before DT_DEBUG again.

17 years agodaily update
Alan Modra [Tue, 17 Apr 2007 00:00:10 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 17 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
Kaz Kojima [Mon, 16 Apr 2007 13:05:30 +0000 (13:05 +0000)]
* config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
of as_warn_where for misaligned data.

17 years ago2007-04-16 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Mon, 16 Apr 2007 12:13:16 +0000 (12:13 +0000)]
2007-04-16  Denis Pilat  <denis.pilat@st.com>

* gdb.base/setshow.exp: Reset height after having set it to 100.

17 years ago2007-04-16 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Mon, 16 Apr 2007 12:06:22 +0000 (12:06 +0000)]
2007-04-16  Denis Pilat  <denis.pilat@st.com>

* gdb.mi/mi2-stack.exp: update from mi-stack.exp.

17 years ago2007-04-16 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Mon, 16 Apr 2007 12:02:31 +0000 (12:02 +0000)]
2007-04-16  Denis Pilat  <denis.pilat@st.com>

* gdb.mi/mi2-var-display.exp: Test for the fullname field.

17 years ago*** empty log message ***
gdbadmin [Mon, 16 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 16 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
Kaz Kojima [Sun, 15 Apr 2007 22:02:25 +0000 (22:02 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
rs_fill frags.

17 years agodaily update
Alan Modra [Sun, 15 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 15 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:45:09 +0000 (20:45 +0000)]
* Makefile.am: Add ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:38:13 +0000 (20:38 +0000)]
    * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:36:56 +0000 (20:36 +0000)]
    * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regnerate.
        * doc/Makefile.in: Regenerate.
        * configure: Regenerate.

17 years ago * config-ml.in: Update from GCC.
Steve Ellcey [Sat, 14 Apr 2007 20:35:07 +0000 (20:35 +0000)]
    * config-ml.in: Update from GCC.

17 years ago * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
Ulrich Weigand [Sat, 14 Apr 2007 18:10:54 +0000 (18:10 +0000)]
* gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
"sig" arguments, add "regcache" argument.
* gdbarch.c, gdbarch.h: Regenerate.

* infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
(handle_inferior_event): Call remove_single_step_breakpoints directly
instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.

* alpha-tdep.c (alpha_software_single_step): Update argument list.
Remove handling of !insert_breakpoints_p case.
* arm-tdep.c (arm_software_single_step): Likewise.
* 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.
* spu-tdep.c (spu_software_single_step): Likewise.

* alpha-tdep.h (alpha_software_single_step): Update prototype.
* mips-tdep.h (mips_software_single_step): Likewise.
* rs6000-tdep.h (rs6000_software_single_step): Likewise.
* sparc-tdep.h (sparc_software_single_step): Likewise.

17 years ago * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
Ulrich Weigand [Sat, 14 Apr 2007 16:17:39 +0000 (16:17 +0000)]
* alpha-tdep.c (alpha_software_single_step): Do not call write_pc
when removing single-step breakpoints.

17 years ago * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
Kaz Kojima [Sat, 14 Apr 2007 14:21:11 +0000 (14:21 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): New.
(sh_optimize_expr): Likewise.
* config/tc-sh.h (md_optimize_expr): Define.
(sh_optimize_expr): Prototype.

17 years ago * elflink.c (bfd_elf_final_link): Don't free symbuf for
Jakub Jelinek [Sat, 14 Apr 2007 13:01:24 +0000 (13:01 +0000)]
* elflink.c (bfd_elf_final_link): Don't free symbuf for
non-elf input bfds.
(bfd_elf_size_dynamic_sections): Don't access elf_section_data
for non-elf input bfds.

17 years ago * varobj.h (varobj_set_frozen): New
Vladimir Prus [Sat, 14 Apr 2007 09:51:30 +0000 (09:51 +0000)]
    * varobj.h (varobj_set_frozen): New
        (varobj_get_frozen): New.
        (varobj_update): New parameter explicit.
        * varobj.c (struct varobj): New fields frozen
        and not_fetched.
        (varobj_set_frozen, varobj_get_frozen): New.
        (install_new_value): Don't fetch values for
        frozen variable object, or children thereof.  Allow
        a frozen variable object to have non-fetched value.
        (varobj_update): Allow updating child variables.
        Don't traverse frozen children.
        (new_variable): Initialize the frozen field.
        (c_value_of_variable): Return NULL for frozen
        variable without any value yet.
        * mi/mi-cmd-var.c (varobj_update_one): New parameter
        'explicit'.
        (mi_cmd_var_create): Output the 'frozen' field,
        as soon as testsuite is adjusted to expect that field.
        (mi_cmd_var_set_frozen): New.
        (mi_cmd_var_update): Pass the 'explicit' parameter to
        varobj_update_one.
        * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
        * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.

17 years ago*** empty log message ***
gdbadmin [Sat, 14 Apr 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 14 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agoRemove trailing white spaces.
H.J. Lu [Fri, 13 Apr 2007 21:59:35 +0000 (21:59 +0000)]
Remove trailing white spaces.

17 years ago2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 13 Apr 2007 21:57:21 +0000 (21:57 +0000)]
2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c: Remove trailing white spaces.

17 years ago2007-04-13 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 13 Apr 2007 15:07:15 +0000 (15:07 +0000)]
2007-04-13  Paul Brook  <paul@codesourcery.com>

* target-descriptions.c (tdesc_named_type): Add ieee_single and
ieee_double.
* doc/gdb.texinfo: Document ieee_single and ieee_double target types.

17 years agoDelete files for last commit.
Daniel Jacobowitz [Fri, 13 Apr 2007 14:25:12 +0000 (14:25 +0000)]
Delete files for last commit.

17 years ago * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
Daniel Jacobowitz [Fri, 13 Apr 2007 14:17:47 +0000 (14:17 +0000)]
* mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
* Makefile.in: Remove references to deleted files.
* README: Do not mention deleted ROM monitor interfaces.
* defs.h (enum language): Delete language_scm.
* expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.
* expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
* remote-mips.c: Do not include remote-utils.h.
* remote-sim.c: Likewise.  Use remote_debug instead of sr_get_debug
throughout.
* value.c: Do not include scm-lang.h.
(unpack_long): Delete scm_unpack call.
* config/h8300/h8300.mt, config/mips/embed.mt,
config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
config/sh/embed.mt, config/sh/linux.mt: Remove references to
deleted files.
* NEWS: Mention removed files.

* gdb.texinfo (Memory): Reference Remote Debugging chapter.
(Character Sets, Caching Data of Remote Targets): Likewise.
(Targets): Delete Remote node.  Move its text...
(Debugging Remote Programs): ...to here.  Delete description
of the "remote" command.
(Remote configuration): Delete description of "set remotedevice"
and "show remotedevice".
(Embedded Processors): Delete H8/300, H8/500, and SH nodes.

17 years ago * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
Daniel Jacobowitz [Fri, 13 Apr 2007 14:03:56 +0000 (14:03 +0000)]
* symfile.c (add_psymbol_with_dem_name_to_list): Remove.
* symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.

17 years ago * NEWS: Mention removal of HP aCC support.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:56:19 +0000 (13:56 +0000)]
* NEWS: Mention removal of HP aCC support.

17 years ago * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
Daniel Jacobowitz [Fri, 13 Apr 2007 13:54:06 +0000 (13:54 +0000)]
* solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
first entry for static executables.
(breakpoint_addr): Delete unused variable.
(elf_locate_base): Search for _r_debug in static executables.
(enable_break): Do not set breakpoint_addr.  Scan solib_break_names
also.

17 years ago * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
Daniel Jacobowitz [Fri, 13 Apr 2007 13:50:32 +0000 (13:50 +0000)]
* breakpoint.c (update_breakpoints_after_exec, print_it_typical)
(bpstat_what, print_one_breakpoint, allocate_bp_location)
(mention): Remove bp_through_sigtramp support.
* breakpoint.h (enum bptype): Remove bp_through_sigtramp.

17 years ago * breakpoint.c (bpstat_what): Give step-resume higher priority than
Daniel Jacobowitz [Fri, 13 Apr 2007 13:33:10 +0000 (13:33 +0000)]
* breakpoint.c (bpstat_what): Give step-resume higher priority than
shlib events.

17 years ago * infrun.c: Doc fixes.
Daniel Jacobowitz [Fri, 13 Apr 2007 13:29:42 +0000 (13:29 +0000)]
* infrun.c: Doc fixes.
(handle_inferior_event): Clarify debug message.
(insert_step_resume_breakpoint_at_sal): Print a debug message.

17 years ago * Makefile.am (TOOL_PROGS): Add objcopy.
Nathan Sidwell [Fri, 13 Apr 2007 12:05:59 +0000 (12:05 +0000)]
* Makefile.am (TOOL_PROGS): Add objcopy.
* Makefile.in: Rebuilt.

17 years ago * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
Ulrich Weigand [Fri, 13 Apr 2007 00:39:49 +0000 (00:39 +0000)]
* configure.tgt (arm-*-nto*, sh-*-nto*): Remove.

17 years agodaily update
Alan Modra [Fri, 13 Apr 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 13 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/m68k/tm-monitor.h: Delete file.
Ulrich Weigand [Thu, 12 Apr 2007 23:03:00 +0000 (23:03 +0000)]
* config/m68k/tm-monitor.h: Delete file.
* config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
* m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
call moved to ...
* m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
* m68klinux-tdep.c (m68k_linux_init_abi): ... here.

17 years agobfd/
Richard Sandiford [Thu, 12 Apr 2007 19:27:35 +0000 (19:27 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_RTLD_MAP for PIEs.

17 years agobfd/
Richard Sandiford [Thu, 12 Apr 2007 19:26:09 +0000 (19:26 +0000)]
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
in a read-only section.
(_bfd_mips_elf_check_relocs): Likewise.

ld/testsuite/
* ld-mips-elf/vxworks1-lib.td: New test.
* ld-mips-elf/mips-elf.exp: Run it.

17 years ago2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Apr 2007 19:20:46 +0000 (19:20 +0000)]
2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4348
* objcopy.c (copy_object): Don't stop when there are no
sections to be copied.

testsuite/

2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4348
* binutils-all/empty.s: New file.
* binutils-all/strip-3.d: Likewise.

* binutils-all/objcopy.exp: Run strip-3 for ELF target.

17 years ago * elf32-xtensa.c (xtensa_is_insntable_section): New.
Bob Wilson [Thu, 12 Apr 2007 18:55:29 +0000 (18:55 +0000)]
* elf32-xtensa.c (xtensa_is_insntable_section): New.
(xtensa_is_proptable_section): New.
(elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property
tables with 12-byte entries, as well as tables with 8-byte entries.
Sort the relocations before examining them.
(relax_property_section): Use xtensa_is_proptable_section and
xtensa_is_littable_section.  Rewrite code for combining table entries
to be more robust in case of unexpected relocations.  Do not set offset
of unused relocations to less than zero.
(xtensa_is_property_section): Use other functions instead of
duplicating section name comparisons.
(xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.".
(xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.

17 years agobfd/
Bob Wilson [Thu, 12 Apr 2007 15:52:02 +0000 (15:52 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references
from Xtensa property sections.
ld/
* emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.

17 years ago2007-04-12 Luis Machado <luisgpm@br.ibm.com>
Ulrich Weigand [Thu, 12 Apr 2007 14:52:20 +0000 (14:52 +0000)]
2007-04-12  Luis Machado  <luisgpm@br.ibm.com>

* gdbarch.sh (software_single_step): Change the return type
from void to int and reformatted some comments to <= 80
columns.
* gdbarch.c, gdbarch.h: Regenerated.
* alpha-tdep.c (alpha_software_single_step): Likewise.
* alpha-tdep.h (alpha_software_single_step): Likewise.
* arm-tdep.c (arm_software_single_step): Likewise.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* mips-tdep.h (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* rs6000-tdep.h (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* sparc-tdep.h (sparc_software_single_step): Likewise.
* spu-tdep.c (spu_software_single_step): Likewise.
* infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
and act accordingly.

17 years agoconfig:
Paolo Bonzini [Thu, 12 Apr 2007 13:06:01 +0000 (13:06 +0000)]
config:
2007-04-11  Kai Tietz  <kai.tietz@onevision.com>

* stdint.m4: Make template compatible with older cygwin
types.h, wrapping each type in a __XXX_t_defined #ifdef.

17 years ago * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
Alan Modra [Thu, 12 Apr 2007 07:47:13 +0000 (07:47 +0000)]
* elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
is non-NULL before dereferencing.

17 years agodaily update
Alan Modra [Thu, 12 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 12 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Apr 2007 21:56:25 +0000 (21:56 +0000)]
2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4333
* i386-dis.c (GRP1a): New.
(GRP1b ... GRPPADLCK2): Update index.
(dis386): Use GRP1a for entry 0x8f.
(mod, rm, reg): Removed. Replaced by ...
(modrm): This.
(grps): Add GRP1a.

17 years agomerge from gcc
DJ Delorie [Wed, 11 Apr 2007 20:01:26 +0000 (20:01 +0000)]
merge from gcc

17 years ago * gdb.texinfo (Contributors, Continuing and Stepping)
Bob Wilson [Wed, 11 Apr 2007 18:52:01 +0000 (18:52 +0000)]
    * gdb.texinfo (Contributors, Continuing and Stepping)
        (Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options)
        (General Query Packets, File-I/O Remote Protocol Extension)
        (Protocol Basics, The F Reply Packet, Write)
        (Protocol-specific Representation of Datatypes, Memory Transfer):
        Fix hyphenation, punctuation and grammar problems.
        (Cygwin Native): Likewise.  Also fix misuse of @pxref and use
        'section' instead of 'subsection' in the text.
        (Non-debug DLL Symbols): Avoid 'subsubsection' in the text.
        (i386): Remove period from section name.
        (Installing GDB, Requirements, Running Configure,  Separate Objdir)
        (Config Names, Configure Options): Use @file{configure}.