deliverable/binutils-gdb.git
17 years ago2006-07-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 19 Jul 2006 17:06:06 +0000 (17:06 +0000)] 
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
for stages after the first.
* Makefile.in: Regenerate.

config:
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Support --with-build-libsubdir and AC_SUBST
build_libsubdir.

17 years ago2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Wed, 19 Jul 2006 13:05:21 +0000 (13:05 +0000)] 
2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>

* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.

17 years ago2006-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Jul 2006 12:53:33 +0000 (12:53 +0000)] 
2006-07-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Fix rbit Arm opcode.
gas/testsuite/
* gas/arm/archv6t2.d: Adjust expected output for rbit.
opcodes/
* armd-dis.c (arm_opcodes): Fix rbit opcode.

17 years ago * ld-selective/selective.exp: Fix selective testcases for MIPS.
Thiemo Seufer [Wed, 19 Jul 2006 11:49:32 +0000 (11:49 +0000)] 
* ld-selective/selective.exp: Fix selective testcases for MIPS.

17 years agocompile.c (OBITOP): Bit address mask low three bit.
Yoshinori Sato [Wed, 19 Jul 2006 06:27:04 +0000 (06:27 +0000)] 
compile.c (OBITOP): Bit address mask low three bit.
compile.c (decode): Fix warning.

17 years ago * remote-fileio.c (remote_fileio_func_rename): Reorder to process
Nathan Sidwell [Wed, 19 Jul 2006 06:21:23 +0000 (06:21 +0000)] 
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.

17 years ago * blockframe.c (find_pc_partial_function): Use the minimal symbol
Daniel Jacobowitz [Wed, 19 Jul 2006 02:17:23 +0000 (02:17 +0000)] 
* blockframe.c (find_pc_partial_function): Use the minimal symbol
size to control the cache entry, if available.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
symbols with zero and non-zero sizes differently.

* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.

17 years agobfd/
Alan Modra [Wed, 19 Jul 2006 01:50:23 +0000 (01:50 +0000)] 
bfd/
* bfd-in.h (enum notice_asneeded_action): Define.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_add_object_symbols): Call linker "notice"
function with NULL name for as-needed handling.
ld/
* ld.h (handle_asneeded_cref): Declare.
* ldcref.c: Include objalloc.h.
(old_table, old_count, old_tab, alloc_mark): New variables.
(tabsize, entsize, refsize, old_symcount): Likewise.
(add_cref): Use bfd_hash_allocate for refs.
(handle_asneeded_cref): New function.
* ldmain.c (notice): Call handle_asneeded_cref for NULL name.

17 years agodaily update
Alan Modra [Wed, 19 Jul 2006 00:00:07 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 19 Jul 2006 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

17 years ago * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
Daniel Jacobowitz [Tue, 18 Jul 2006 22:53:20 +0000 (22:53 +0000)] 
* linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
(thread_db_fetch_registers, thread_db_store_registers)
(thread_db_thread_alive, thread_db_state_str): Delete.
(thread_db_load): Don't look up regset functions.
(thread_db_pid_to_str): Simplify.
(thread_db_extra_thread_info): New.
(init_thread_db_ops): Do not set to_fetch_registers,
to_store_registers, or to_thread_alive.  Set to_extra_thread_info.
* Makefile.in: Remove linux-thread-db.o rule.

17 years ago* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
Mark Kettenis [Tue, 18 Jul 2006 21:10:28 +0000 (21:10 +0000)] 
* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
(armobsd_sigframe_init): New function.
(armobsd_sigframe): New variable.
(armobsd_init_abi): Prepend armobsd_sigframe unwinder.
* Makefile.in (armobsd-tdep.o): Update dependencies.

17 years ago * monitor.c: Remove unused prototypes.
Daniel Jacobowitz [Tue, 18 Jul 2006 20:45:01 +0000 (20:45 +0000)] 
* monitor.c: Remove unused prototypes.

17 years agogas/testsuite/
H.J. Lu [Tue, 18 Jul 2006 20:25:41 +0000 (20:25 +0000)] 
gas/testsuite/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opcode.s: Add sldt, smsw and str.
* gas/i386/x86-64-opcode.s: Likewise.

* gas/i386/opcode.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
"sldt", "str" and "smsw".

17 years ago * gdb.threads/print-threads.exp: Use gdb_breakpoint.
Daniel Jacobowitz [Tue, 18 Jul 2006 19:37:23 +0000 (19:37 +0000)] 
* gdb.threads/print-threads.exp: Use gdb_breakpoint.

17 years ago2006-07-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 18 Jul 2006 16:44:47 +0000 (16:44 +0000)] 
2006-07-18  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

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

17 years ago * gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test. Change
Thiemo Seufer [Tue, 18 Jul 2006 14:06:10 +0000 (14:06 +0000)] 
* gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test.  Change
arguments for "madd.s" so that the instruction is correct for mips1
and still matches "bc3*".

17 years ago * bfd.texinfo: Add @section for "What to Put Where".
Thiemo Seufer [Tue, 18 Jul 2006 13:20:42 +0000 (13:20 +0000)] 
* bfd.texinfo: Add @section for "What to Put Where".

17 years ago* defs.h (print_transfer_performance): Improve comments
Vladimir Prus [Tue, 18 Jul 2006 12:48:20 +0000 (12:48 +0000)] 
* defs.h (print_transfer_performance): Improve comments

17 years ago2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Tue, 18 Jul 2006 12:45:56 +0000 (12:45 +0000)] 
2006-07-18  Vladimir Prus  <vladimir@codesourcery.com>

           * target.c (tcomplain): Mark with ATTR_NORETURN.

17 years ago2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Tue, 18 Jul 2006 12:44:48 +0000 (12:44 +0000)] 
2006-07-18  Vladimir Prus  <vladimir@codesourcery.com>

        * target.c (tcomplain): Mark with ATTR_NORETURN.

17 years ago* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
Nick Clifton [Tue, 18 Jul 2006 08:56:44 +0000 (08:56 +0000)] 
* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
  Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common sections.
* elfxx-mips.h  (_bfd_mips_elf_common_definition): Prototype.

17 years ago*** empty log message ***
gdbadmin [Tue, 18 Jul 2006 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 18 Jul 2006 00:00:07 +0000 (00:00 +0000)] 
daily update

17 years ago* printcmd.c: Coding style fixes: add missing spaces in comments
Mark Kettenis [Mon, 17 Jul 2006 22:15:55 +0000 (22:15 +0000)] 
* printcmd.c: Coding style fixes: add missing spaces in comments
and wrapping long lines.
(delete_display, enable_display_command, disable_display_command)
(printf_command, display_info, undisplay_command, free_display)
(display_command, x_command, address_info, set_command)
(inspect_command, call_command, print_command, print_command_1)
(validate_format, print_formatted, decode_format, sym_format):
Remove prototypes.
(x_command): Make static.
(printf_command): Convert error into internal consistency check.
(address_info): Avoid assignment within function call.
(printf_command): Avoid redundant cast.
* tracepoint.c (x_command): Remove extern prototype.

17 years ago* gdb.base/long_long.exp (gdb_test_long_long): Exclude
Mark Kettenis [Mon, 17 Jul 2006 22:10:03 +0000 (22:10 +0000)] 
* gdb.base/long_long.exp (gdb_test_long_long): Exclude
*-*-openbsd* from targets for wich we expect ARM FPA floating
point format.

17 years ago* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
Mark Kettenis [Mon, 17 Jul 2006 19:34:57 +0000 (19:34 +0000)] 
* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (armobsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.

17 years ago * Makefile.def: Add dependencies for configure-opcodes
Jakub Jelinek [Mon, 17 Jul 2006 17:04:21 +0000 (17:04 +0000)] 
* Makefile.def: Add dependencies for configure-opcodes
on configure-intl and all-opcodes on all-intl.
* Makefile.in: Regenerated.

17 years ago * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
Alan Modra [Mon, 17 Jul 2006 12:49:50 +0000 (12:49 +0000)] 
* symbols.c (report_op_error): Fix pasto.  Don't use as_bad_where
when file and line unknown.

17 years ago * read.c (s_struct): Use IS_ELF.
Thiemo Seufer [Mon, 17 Jul 2006 10:40:11 +0000 (10:40 +0000)] 
* read.c (s_struct): Use IS_ELF.
* config/tc-mips.c (md_begin, mips16_mark_labels, mips_ip,
md_parse_option, s_change_sec, pic_need_relax, mips_fix_adjustable,
tc_gen_reloc, mips_frob_file_after_relocs, s_mips_end, s_mips_frame,
s_mips_mask): Likewise.

17 years agoExpect frame-begin annotation.
Nick Roberts [Mon, 17 Jul 2006 07:29:47 +0000 (07:29 +0000)] 
Expect frame-begin annotation.

17 years ago*** empty log message ***
Nick Roberts [Mon, 17 Jul 2006 07:28:35 +0000 (07:28 +0000)] 
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 17 Jul 2006 00:00:13 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 17 Jul 2006 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

17 years ago* armobsd-tdep.c: New file.
Mark Kettenis [Sun, 16 Jul 2006 15:29:09 +0000 (15:29 +0000)] 
* armobsd-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
(armobsd-tdep.o): New dependency.
* config/arm/obsd.mt: New file.
* configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.

17 years agoOops, committed spaces where it should have been a tab.
Mark Kettenis [Sun, 16 Jul 2006 11:05:07 +0000 (11:05 +0000)] 
Oops, committed spaces where it should have been a tab.

17 years ago* gdbarch.sh (deprecated_saved_pc_after_call): Delete.
Mark Kettenis [Sun, 16 Jul 2006 11:03:41 +0000 (11:03 +0000)] 
* gdbarch.sh (deprecated_saved_pc_after_call): Delete.

17 years ago* arm-tdep.c (arm_saved_pc_after_call): Delete.
Mark Kettenis [Sun, 16 Jul 2006 10:33:25 +0000 (10:33 +0000)] 
* arm-tdep.c (arm_saved_pc_after_call): Delete.
(arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.

17 years ago * read.c (s_struct): Handle ELF section changing.
Thiemo Seufer [Sun, 16 Jul 2006 10:19:19 +0000 (10:19 +0000)] 
* read.c (s_struct): Handle ELF section changing.
* config/tc-mips.c (s_align): Leave enabling auto-align to the
generic code.
(s_change_sec): Try section changing only if we output ELF.

17 years agoUndefine _process_user_ before including
Alfred M. Szmidt [Sun, 16 Jul 2006 09:57:02 +0000 (09:57 +0000)] 
Undefine _process_user_ before including
<hurd/process_request.h>.
(gnu_resume): Supply missing argument to error().
(gnu_read_inferior): Add extra parenthesis around arithmetic
expression to silence warnings from GCC.
(gnu_write_inferior): Likewise.
(gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.

17 years ago*** empty log message ***
gdbadmin [Sun, 16 Jul 2006 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 16 Jul 2006 00:00:12 +0000 (00:00 +0000)] 
daily update

17 years ago* armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
Mark Kettenis [Sat, 15 Jul 2006 22:38:58 +0000 (22:38 +0000)] 
* armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
svr4_ilp_fetch_link_map_offsets.

17 years ago* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
Mark Kettenis [Sat, 15 Jul 2006 21:22:51 +0000 (21:22 +0000)] 
* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
(DEPRECATED_TM_FILE): Remove.
* Makefile.in (armnbsd-tdep.o): Update dependencies.

17 years agoAdd missing ChangeLog entry.
H.J. Lu [Sat, 15 Jul 2006 16:58:36 +0000 (16:58 +0000)] 
Add missing ChangeLog entry.

17 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:33:24 +0000 (16:33 +0000)] 
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2829
* i386-dis.c (GRP11_C6): NEW.
(GRP11_C7): Likewise.
(GRP12): Updated.
(GRP13): Likewise.
(GRP14): Likewise.
(GRP15): Likewise.
(GRP16): Likewise.
(GRPAMD): Likewise.
(GRPPADLCK1): Likewise.
(GRPPADLCK2): Likewise.
(dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7,
respectively.
(grps): Add entries for GRP11_C6 and GRP11_C7.

17 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:32:48 +0000 (16:32 +0000)] 
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Remove Cpu086, CpuAthlon and
CpuAmdFam10.
(smallest_imm_type): Remove Cpu086.
(i386_target_format): Likewise.

* config/tc-i386.h: Remove Cpu086, CpuAthlon and CpuAmdFam10.
Update CpuXXX.

17 years agodaily update
Alan Modra [Sat, 15 Jul 2006 00:00:09 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 15 Jul 2006 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

17 years ago * PROBLEMS: Document threads/2137.
Joel Brobecker [Fri, 14 Jul 2006 22:55:58 +0000 (22:55 +0000)] 
    * PROBLEMS: Document threads/2137.

17 years ago * gdb.base/help.exp: Adjust "help unset" test to accept
Joel Brobecker [Fri, 14 Jul 2006 22:53:19 +0000 (22:53 +0000)] 
    * gdb.base/help.exp: Adjust "help unset" test to accept
        any list of unset commands.

17 years ago2006-07-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 14 Jul 2006 16:15:27 +0000 (16:15 +0000)] 
2006-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Remove InvMem from maskmovq, movhlps,
movlhps, movmskps, pextrw, pmovmskb, movmskpd, maskmovdqu,
movdq2q and movq2dq.

17 years ago * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
Daniel Jacobowitz [Fri, 14 Jul 2006 15:26:36 +0000 (15:26 +0000)] 
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
typo setting targ_extra_libpath.

17 years ago * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
Jakub Jelinek [Fri, 14 Jul 2006 13:48:06 +0000 (13:48 +0000)] 
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.

17 years ago* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
Mark Kettenis [Fri, 14 Jul 2006 11:00:59 +0000 (11:00 +0000)] 
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
to the start of a block.

17 years ago*** empty log message ***
gdbadmin [Fri, 14 Jul 2006 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 14 Jul 2006 00:00:05 +0000 (00:00 +0000)] 
daily update

17 years agoAdd amdfam10 instructions
Michael Meissner [Thu, 13 Jul 2006 22:25:48 +0000 (22:25 +0000)] 
Add amdfam10 instructions

17 years ago* config/alpha/tm-nbsd.h: Remove file.
Mark Kettenis [Thu, 13 Jul 2006 21:38:11 +0000 (21:38 +0000)] 
* config/alpha/tm-nbsd.h: Remove file.
* config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.

17 years ago2006-07-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 13 Jul 2006 18:13:36 +0000 (18:13 +0000)] 
2006-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (Size64): Fix a typo in comment.

17 years ago * mips-tdep.c (mips_integer_to_address): Simplify be calling
Corinna Vinschen [Thu, 13 Jul 2006 13:14:54 +0000 (13:14 +0000)] 
* mips-tdep.c (mips_integer_to_address): Simplify be calling
extract_signed_integer directly.  Fix comment.

17 years ago * m32c-tdep.c (m32c_banked_register): New function.
Corinna Vinschen [Thu, 13 Jul 2006 12:01:21 +0000 (12:01 +0000)] 
* m32c-tdep.c (m32c_banked_register): New function.
(m32c_banked_read): Use m32c_banked_register function to evaluate
real register number.
(m32c_banked_write): Ditto.
(m32c_virtual_frame_pointer): New function.
(m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.

17 years ago * ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
Thiemo Seufer [Thu, 13 Jul 2006 10:58:47 +0000 (10:58 +0000)] 
* ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
Update TLS testcases.

17 years ago * m68k-tdep.c (m68k_frame_align): New.
Nathan Sidwell [Thu, 13 Jul 2006 09:30:46 +0000 (09:30 +0000)] 
* m68k-tdep.c (m68k_frame_align): New.
(m68k_gdbarch_init): Set frame_align here.

17 years ago* coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info() returning a NULL
Nick Clifton [Thu, 13 Jul 2006 09:07:36 +0000 (09:07 +0000)] 
* coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info() returning a NULL
  value.

17 years ago2006-07-13 Denis PILAT <denis.pilat@st.com>
Andrew Stubbs [Thu, 13 Jul 2006 09:03:38 +0000 (09:03 +0000)] 
2006-07-13  Denis PILAT  <denis.pilat@st.com>

* interps.c (interpreter_completer): Allocate one more item to the
'matches' list and set them all to 0 with a xcalloc.

17 years ago(annotate_frame_begin): Re-instate frame-begin annotation for level 3
Nick Roberts [Thu, 13 Jul 2006 07:43:44 +0000 (07:43 +0000)] 
(annotate_frame_begin): Re-instate frame-begin annotation for level 3
annotations.

17 years ago*** empty log message ***
Nick Roberts [Thu, 13 Jul 2006 07:43:23 +0000 (07:43 +0000)] 
*** empty log message ***

17 years agogdb/
Daniel Jacobowitz [Thu, 13 Jul 2006 04:31:42 +0000 (04:31 +0000)] 
gdb/
* infcall.c (value_arg_coerce): Use value_cast_pointers for
references.  Avoid value_cast to a reference type.  Don't silently
convert pointers to references.
* valops.c (value_cast_pointers): New, based on value_cast.
(value_cast): Use it.  Reject reference types.
(value_ref): New.
(typecmp): Use it.
* value.h (value_cast_pointers, value_ref): New prototypes.
gdb/testsuite/
* gdb.cp/ref-params.exp: New test.
* gdb.cp/ref-params.cc: New source file.
* gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.

17 years ago * remote.c (unpack_varlen_hex): Correct type of retval.
Daniel Jacobowitz [Thu, 13 Jul 2006 04:05:54 +0000 (04:05 +0000)] 
* remote.c (unpack_varlen_hex): Correct type of retval.
Reported by Zhigang Gong <zhigang.gong@gmail.com>.

17 years ago*** empty log message ***
gdbadmin [Thu, 13 Jul 2006 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 13 Jul 2006 00:00:06 +0000 (00:00 +0000)] 
daily update

17 years agoPatch reviewed and approved by Daniel Jacobowitz <drow@false.org>.
Fred Fish [Wed, 12 Jul 2006 21:37:21 +0000 (21:37 +0000)] 
Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.

2006-07-12  Fred Fish  <fnf@specifix.com>
* sim-endian.h (asm/byteorder.h): Don't include private kernel
header.

17 years ago * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
Daniel Jacobowitz [Wed, 12 Jul 2006 21:14:57 +0000 (21:14 +0000)] 
* dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
or missing location list information.  Suggested by Jan
Kratochvil <lace@jankratochvil.net>.

17 years ago * Makefile.in (arm_linux_tdep_h): New variable.
Daniel Jacobowitz [Wed, 12 Jul 2006 20:46:33 +0000 (20:46 +0000)] 
* Makefile.in (arm_linux_tdep_h): New variable.
(arm-linux-nat.o, arm-linux-tdep.o): Update.
* arm-linux-nat.c: Include "arm-linux-tdep.h".
(typeNone, typeSingle, typeDouble, typeExtended)
(FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
(fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
(store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
Delete.
(fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
and collect_nwfpe_register.
(fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
new regset functions.
* arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
(arm_apcs_32): New declaration.
(ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
(arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
(typeExtended, supply_nwfpe_register, collect_nwfpe_register)
(arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
(arm_linux_regset_from_core_section): New.
(arm_linux_init_abi): Register arm_linux_regset_from_core_section.
* arm-linux-tdep.h: New file.
* arm-tdep.h (struct regset): Declare.
(struct gdbarch_tdep): Add gregset, fpregset members.
* config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
* config/arm/linux.mt (TDEPFILES): Add corelow.o.

17 years ago * infrun.c (handle_inferior_event): Fixed typos in printf.
Daniel Jacobowitz [Wed, 12 Jul 2006 20:43:52 +0000 (20:43 +0000)] 
* infrun.c (handle_inferior_event): Fixed typos in printf.

17 years ago * remote.c (REMOTE_ALIGN_WRITES): New.
Daniel Jacobowitz [Wed, 12 Jul 2006 18:54:03 +0000 (18:54 +0000)] 
* remote.c (REMOTE_ALIGN_WRITES): New.
(remote_write_bytes): Align large write packets.  Remove unused
payload_start variable.

17 years agogdb/
Daniel Jacobowitz [Wed, 12 Jul 2006 18:50:18 +0000 (18:50 +0000)] 
gdb/
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
(remote_supported_packet): Remove #if 0.
(remote_protocol_features): Add qPart:auxv:read.
(remote_unescape_input): New function.
(readchar): Don't mask off the high bit.
(read_frame): Use fputstrn_filtered for packet data.
(getpkt_sane): Return the number of bytes read or -1.  Use
fputstrn_unfiltered.
(remote_read_qxfer): New.
(remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
(_initialize_remote): Update packet registration.
* defs.h (fputstrn_filtered): New prototype.
* utils.c (fputstrn_filtered): New.
* NEWS: Mention qXfer.
gdb/doc/
* gdb.texinfo (OS Information): Update qPart reference to
qXfer.
(Remote configuration): Likewise.
(Overview): Move @cindex to the start of a paragraph.  Talk
about binary data encoding.
(Packets): Refer to the overview for the details of the X
packet encoding.
(General Query Packets): Remove qPart description.  Add qXfer
description.  Add an anchor to qSupported.  Correct feature
table title.  Add a new feature for qXfer:auxv:read.
(Interrupts): Add a missing parenthesis.
gdb/gdbserver/
* server.c (decode_xfer_read, write_qxfer_response): New.
(handle_query): Take a packet length argument.  Handle
qXfer:auxv:read instead of qPart:auxv:read.  Mention it in
the qSupported response.
(main): Update call to handle_query.

17 years ago * target.c (target_read): Stop if target_read_partial returns 0
Daniel Jacobowitz [Wed, 12 Jul 2006 18:13:45 +0000 (18:13 +0000)] 
* target.c (target_read): Stop if target_read_partial returns 0
when some bytes have already been read.
(target_write): Likewise for target_write_partial.
(target_read_partial, target_write_partial): Make static.
(target_read_alloc): New.
* target.h: Doc fixes.
(target_read_partial, target_write_partial): Delete prototypes.
(target_read_alloc): New prototype.

* auxv.c (target_auxv_read): Delete.
(target_auxv_search, fprint_target_auxv): Use target_read_alloc.
* auxv.h (target_auxv_read): Delete prototype.
* avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
* ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
* linux-nat.c (linux_nat_make_corefile_notes): Likewise.
* procfs.c (procfs_make_note_section): Likewise.
* remote.c (remote_xfer_partial): Don't loop here.
* sparc-tdep.c (sparc_fetch_wcookie): Use target_read.

17 years ago * arm-linux-tdep.c: Doc fixes.
Daniel Jacobowitz [Wed, 12 Jul 2006 18:05:50 +0000 (18:05 +0000)] 
* arm-linux-tdep.c: Doc fixes.
(ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
(ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
(ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
constants.
(arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
the new signal frame layouts.

17 years ago * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
Daniel Jacobowitz [Wed, 12 Jul 2006 18:04:30 +0000 (18:04 +0000)] 
* Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
* gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
* gdbarch.sh: Correct comment.

17 years ago * MAINTAINERS: Add Alfred Szmidt for the Hurd.
Daniel Jacobowitz [Wed, 12 Jul 2006 17:37:24 +0000 (17:37 +0000)] 
* MAINTAINERS: Add Alfred Szmidt for the Hurd.

17 years agobfd/
H.J. Lu [Wed, 12 Jul 2006 15:45:33 +0000 (15:45 +0000)] 
bfd/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
the old versioned dynamic definition to the new one with
non-default visibility.  Hide the symbol if it is hidden or
internal.

ld/testsuite/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* ld-elf/begin.c: New file.
* ld-elf/end.c: Likewise.
* ld-elf/endhidden.c: Likewise.
* ld-elf/endprotected.c: Likewise.
* ld-elf/foo.c: Likewise.
* ld-elf/foo.map: Likewise.
* ld-elf/hidden.out: Likewise.
* ld-elf/main.c: Likewise.
* ld-elf/normal.out: Likewise.
* ld-elf/shared.exp: Likewise.

* lib/ld-lib.exp (run_cc_link_tests): New.

17 years agobfd/
Richard Sandiford [Wed, 12 Jul 2006 12:47:00 +0000 (12:47 +0000)] 
bfd/
2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>

* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.

ld/testsuite/
2006-07-12  Richard Sandiford  <richard@codesourcery.com>

* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.

17 years agoFix grammatical error in ChangeLog entry
Nick Clifton [Wed, 12 Jul 2006 09:08:34 +0000 (09:08 +0000)] 
Fix grammatical error in ChangeLog entry

17 years ago* config/tc-sh.c (md_apply_fix): Do not allow the generic code in
Nick Clifton [Wed, 12 Jul 2006 09:02:00 +0000 (09:02 +0000)] 
* config/tc-sh.c (md_apply_fix): Do not allow the generic code in
  fixup_segment() to repeat a range check on a value that have already
  been checked here.
* gas/sh/basic.exp: Run "too_large" dump test.
* gas/sh/too_large.s: New test file.  Check that .byte directives do not
  generate a bogus overflow message.
* gas/sh/too_large.s: New test control file.

17 years agodaily update
Alan Modra [Wed, 12 Jul 2006 00:00:11 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 12 Jul 2006 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

17 years ago * ld-cris/libdso-2.d: Adjust for recent hash-related changes.
Hans-Peter Nilsson [Tue, 11 Jul 2006 21:47:41 +0000 (21:47 +0000)] 
* ld-cris/libdso-2.d: Adjust for recent hash-related changes.

17 years ago* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
Mark Kettenis [Tue, 11 Jul 2006 20:44:53 +0000 (20:44 +0000)] 
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.

17 years agodaily update
Alan Modra [Tue, 11 Jul 2006 00:00:09 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Tue, 11 Jul 2006 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

17 years agoinclude/
Jakub Jelinek [Mon, 10 Jul 2006 21:40:25 +0000 (21:40 +0000)] 
include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
emit_gnu_hash bitfields.
include/elf/
* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
* scripttempl/elf.sc: Add .gnu.hash section.
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
(gld${EMULATION_NAME}_handle_option): Handle it.
(gld${EMULATION_NAME}_list_options): Document it.
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
* ld.texinfo: Document --hash-style option.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
Handle SHT_GNU_HASH.
(special_sections_g): Include .gnu.hash section.
(bfd_elf_gnu_hash): New function.
* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
(struct elf_backend_data): Add elf_hash_symbol method.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
only if info->emit_hash, create .gnu.hash section if
info->emit_gnu_hash.
(struct collect_gnu_hash_codes): New type.
(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
_bfd_elf_hash_symbol): New functions.
(compute_bucket_count): Don't compute HASHCODES array, instead add
that and NSYMS as arguments.  Use bed->s->sizeof_hash_entry
instead of bed->s->arch_size / 8.  Fix .hash size estimation.
When not optimizing, use the number of hashed symbols rather than
dynsymcount.
(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
and ADD DT_GNU_HASH if info->emit_gnu_hash.
(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
adjust compute_bucket_count caller.  Create and populate .gnu.hash
section if info->emit_gnu_hash.
(elf_link_output_extsym): Only populate .hash section if
finfo->hash_sec != NULL.
(bfd_elf_final_link): Adjust assertion.  Handle DT_GNU_HASH.
* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
(elfNN_bed): Add elf_backend_hash_symbol.
* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
* elf32-i386.c (elf_i386_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
binutils/
* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
(get_section_type_name): Handle SHT_GNU_HASH.
(dynamic_info_DT_GNU_HASH): New variable.
(process_dynamic_section): Handle DT_GNU_HASH.
(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
* ld-powerpc/tlsso32.r: Adjust.
* ld-powerpc/tlsso32.d: Adjust.
* ld-powerpc/tlsso32.g: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlsso.g: Adjust.
* ld-powerpc/tlstocso.g: Adjust.

17 years ago* alphaobsd-tdep.c: New file.
Mark Kettenis [Mon, 10 Jul 2006 19:40:27 +0000 (19:40 +0000)] 
* alphaobsd-tdep.c: New file.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
handler for GDB_OSABI_OPENBSD_ELF.
* Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
(alphaobsd-tdep.o): New target.
* config/alpha/obsd.mt: New file.
* configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.

17 years ago * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
Richard Henderson [Mon, 10 Jul 2006 15:28:02 +0000 (15:28 +0000)] 
    * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
* alpha-tdep.c (alpha_register_byte): Remove.
(alpha_extract_struct_value_address): Remove.
(alpha_return_value): New.
(alpha_return_in_memory_always): New.
(alpha_gdbarch_init): Set tdep->return_in_memory.  Don't call
set_gdbarch_deprecated_register_byte.  Do call set_gdbarch_return_value
instead of set_gdbarch_deprecated_use_struct_convention,
set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
or set_gdbarch_deprecated_extract_struct_value_address.
* alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
alphafbsd_use_struct_convention, remove gcc_p argument.
(alphafbsd_init_abi): Set tdep->return_in_memory instead of
set_gdbarch_deprecated_use_struct_convention.

17 years ago* po/zh_TW.po: New Chinese (traditional) translation.
Nick Clifton [Mon, 10 Jul 2006 14:30:41 +0000 (14:30 +0000)] 
* po/zh_TW.po: New Chinese (traditional) translation.
* configure.in (ALL_LINGUAS): Add zh_TW.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Mon, 10 Jul 2006 00:00:08 +0000 (00:00 +0000)] 
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 10 Jul 2006 00:00:04 +0000 (00:00 +0000)] 
*** empty log message ***

17 years ago* alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
Mark Kettenis [Sun, 9 Jul 2006 22:01:59 +0000 (22:01 +0000)] 
* alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
prototype.
* alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
a.out-style core file format here.  Make global.
(alphanbsd_regset_from_core_section): Remove.
(alphanbsd_sigtramp_offset): Make static.
(alphanbsd_aout_init_abi): Remove.
(alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
a.out style core files.
(_initialize_alphanbsd_tdep): Do not register a handler for
GDB_OSABI_NETBSD_AOUT.

17 years agoFix typo.
Mark Kettenis [Sun, 9 Jul 2006 16:12:30 +0000 (16:12 +0000)] 
Fix typo.

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