external/binutils.git
18 years ago * c-exp.y (type): Remove incorrect pointer to member case.
Daniel Jacobowitz [Wed, 2 Aug 2006 03:13:20 +0000 (03:13 +0000)]
* c-exp.y (type): Remove incorrect pointer to member case.
* objc-exp.y (type): Likewise.
* p-exp.y (type): Likewise.

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

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

18 years ago * gdb.base/cursal.exp: Add "" to gdb_load call.
Daniel Jacobowitz [Tue, 1 Aug 2006 22:57:49 +0000 (22:57 +0000)]
* gdb.base/cursal.exp: Add "" to gdb_load call.

18 years ago* arm-tdep.h (enum struct_return): New.
Mark Kettenis [Tue, 1 Aug 2006 18:27:52 +0000 (18:27 +0000)]
* arm-tdep.h (enum struct_return): New.
(struct gdbarch_tdep): Add struct_return member.
* arm-tdep.c (arm_return_value): Return
RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
pcc_struct_return.
(arm_gdbarch_init): Default to reg_struct_return.
* armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.

18 years agogas/
H.J. Lu [Tue, 1 Aug 2006 17:54:28 +0000 (17:54 +0000)]
gas/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Don't update
cpu_arch_isa_flags.

gas/testsuite/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.

18 years agold/
H.J. Lu [Tue, 1 Aug 2006 17:50:52 +0000 (17:50 +0000)]
ld/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (init_os): Add flags. Replace bfd_make_section with
bfd_make_section_with_flags.
(exp_init_os): Updated.
(lang_add_section): Call init_os with flags.
(map_input_to_output_sections): Likewise.

ld/testsuite/

2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/noload-1.d: New.
* ld-elf/noload-1.s: Likewise.
* ld-elf/noload-1.t: Likewise.

18 years ago * config/tc-mips.c (md_section_align): Check ELF-ness at runtime.
Thiemo Seufer [Tue, 1 Aug 2006 07:58:22 +0000 (07:58 +0000)]
* config/tc-mips.c (md_section_align): Check ELF-ness at runtime.

18 years ago * config/tc-mips.c (macro_build_lui): Fix comment formatting.
Thiemo Seufer [Tue, 1 Aug 2006 05:49:02 +0000 (05:49 +0000)]
* config/tc-mips.c (macro_build_lui): Fix comment formatting.
(md_apply_fix): Likewise. Unify handling of BFD_RELOC_RVA,
BFD_RELOC_32 and BFD_RELOC_16.
(s_align, s_cpload, s_cplocal, s_cprestore, s_mips_stab,
md_convert_frag, md_obj_end): Fix comment formatting.

18 years ago*** empty log message ***
gdbadmin [Tue, 1 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years ago* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
Mark Kettenis [Mon, 31 Jul 2006 20:15:50 +0000 (20:15 +0000)]
* alpha-tdep.h (ALPHA_S0_REGNUM): New define.
* alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
<machine/pcb.h> and "bsd-kvm.h".
(alphabsd_supply_pcb): New function.
(_initialize_alphabsd_nat): Enable libkvm interface.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

18 years agoReviewed by Daniel Jacobowitz <drow@false.org>
Fred Fish [Mon, 31 Jul 2006 17:33:30 +0000 (17:33 +0000)]
Reviewed by Daniel Jacobowitz <drow@false.org>

2006-07-31  Fred Fish  <fnf@specifix.com>
* arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
instead of calling frame_obstack_zalloc directly.
(arm_make_stub_cache): Ditto.
* frame-unwind.h: Ditto.
* frame.c (create_new_frame): Ditto.

18 years ago * config/tc-mips.c (md_apply_fix, tc_gen_reloc): Remove special
Thiemo Seufer [Mon, 31 Jul 2006 17:23:31 +0000 (17:23 +0000)]
* config/tc-mips.c (md_apply_fix, tc_gen_reloc): Remove special
handling for BFD_RELOC_MIPS16_JMP.

18 years ago*** empty log message ***
gdbadmin [Mon, 31 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

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

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

18 years ago* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
Mark Kettenis [Sat, 29 Jul 2006 19:15:00 +0000 (19:15 +0000)]
* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
NetBSD/ELF targets.

18 years agoopcodes/
Richard Sandiford [Sat, 29 Jul 2006 08:55:38 +0000 (08:55 +0000)]
opcodes/
* m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
"fdaddl" entry.

gas/testsuite/
* gas/m68k/mcf-fpu.s: Add tests for all addressing modes.
* gas/m68k/mcf-fpu.d: Update accordingly.

18 years agold/
Richard Sandiford [Sat, 29 Jul 2006 08:48:15 +0000 (08:48 +0000)]
ld/
* Makefile.am (eelf32b4300.c): Update dependencies.
(eelf32bmip.c): Likewise.
(eelf32bsmip.c): Likewise.
(eelf32btsmip.c): Likewise.
(eelf32btsmipn32.c): Likewise.
(eelf32ltsmip.c): Likewise.
(eelf32ltsmipn32.c): Likewise.
(eelf32ebmip.c): Likewise.
(eelf32ebmipvxworks.c): Likewise.
(eelf32elmip.c): Likewise.
(eelf32elmipvxworks.c): Likewise.
(eelf32bmipn32.c): Likewise.
(eelf32lmip.c): Likewise.
(eelf32mipswindiss.c): Likewise.
(eelf32lsmip.c): Likewise.
(eelf64bmip.c): Likewise.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
(emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
(emipsbsd.c): Likewise.
(emipsidt.c): Update dependencies.
(emipsidtl.c): Likewise.
(emipslit.c): Likewise.
(emipslnews.c): Likewise.
(emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
* Makefile.in: Regenerate.
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
* emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
* emultempl/irix.em: Include emultempl/mipself.em.
* emultempl/mipself.em: New file.

ld/testsuite/
* ld-mips-elf/hash1.s, ld-mips-elf/hash1a.d,
* ld-mips-elf/hash1b.d, ld-mips-elf/hash1c.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

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

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

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

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

18 years ago * MAINTAINERS (Write After Approval): Add myself.
Bob Wilson [Thu, 27 Jul 2006 23:02:56 +0000 (23:02 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

18 years ago * main.c (captured_main): Print a newline after calling
Daniel Jacobowitz [Thu, 27 Jul 2006 21:31:40 +0000 (21:31 +0000)]
* main.c (captured_main): Print a newline after calling
print_gdb_version instead of waiting until after the symbol file
has been read.  Adjust error_pre_print, quit_pre_print, and
warning_pre_print values.

18 years ago * irix5-nat.c (fetch_core_registers): Simplify and correct logic.
Daniel Jacobowitz [Thu, 27 Jul 2006 21:27:12 +0000 (21:27 +0000)]
* irix5-nat.c (fetch_core_registers): Simplify and correct logic.

18 years ago * target.h (target_read_stralloc): New prototype.
Daniel Jacobowitz [Thu, 27 Jul 2006 21:23:42 +0000 (21:23 +0000)]
* target.h (target_read_stralloc): New prototype.
* target.c (target_read_alloc_1): Renamed from target_read_alloc.
Take new PADDING argument.
(target_read_alloc): Use it.
(target_read_stralloc): New function.

18 years agomerge from gcc
DJ Delorie [Thu, 27 Jul 2006 18:05:31 +0000 (18:05 +0000)]
merge from gcc

18 years ago * server.c (handle_query): Correct qPart to qXfer.
Daniel Jacobowitz [Thu, 27 Jul 2006 00:06:12 +0000 (00:06 +0000)]
* server.c (handle_query): Correct qPart to qXfer.

18 years ago * remote.c (remote_protocol_features): Correct qPart to qXfer.
Daniel Jacobowitz [Thu, 27 Jul 2006 00:06:02 +0000 (00:06 +0000)]
* remote.c (remote_protocol_features): Correct qPart to qXfer.

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

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

18 years ago * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
Andreas Schwab [Wed, 26 Jul 2006 19:56:16 +0000 (19:56 +0000)]
* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.

18 years ago * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
Alan Modra [Wed, 26 Jul 2006 12:32:27 +0000 (12:32 +0000)]
* elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Delete.
(define elf_backend_modify_segment_map): Don't define.

18 years ago * emultempl/elf-generic.em (map_segments): Reorganise loop so that
Alan Modra [Wed, 26 Jul 2006 12:27:12 +0000 (12:27 +0000)]
* emultempl/elf-generic.em (map_segments): Reorganise loop so that
layout happens before segment map.  Don't do segment map on
relocatable link.

18 years ago * ld-scripts/overlay-size-map.d: Update.
Alan Modra [Wed, 26 Jul 2006 05:10:05 +0000 (05:10 +0000)]
* ld-scripts/overlay-size-map.d: Update.

18 years ago * ldexp.c (fold_name <LOADADDR>): Use the lma.
Alan Modra [Wed, 26 Jul 2006 05:05:52 +0000 (05:05 +0000)]
* ldexp.c (fold_name <LOADADDR>): Use the lma.
* ldlang.h (lang_memory_region_type): Delete old_length.  Add
last_os.
* ldlang.c (lang_memory_region_lookup): Init new field.
(lang_reset_memory_regions): Reset new field.
(lang_insert_orphan): Don't set load_base.
(lang_leave_overlay): Likewise.
(lang_size_sections_1): Delete unnecessary code setting lma_region
to region.  Correct lma region check.
(lang_do_assignments_1): Rename output_section_statement parm
to current_os.  Set lma from previous section in region.

18 years ago * ldlang.c: Formatting.
Alan Modra [Wed, 26 Jul 2006 00:42:33 +0000 (00:42 +0000)]
* ldlang.c: Formatting.

18 years ago * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
Bob Wilson [Wed, 26 Jul 2006 00:10:26 +0000 (00:10 +0000)]
* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
Set discarded section's output_section to bfd_abs_section_ptr.

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

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

18 years ago * ld-mips-elf/mips16-call-global-2.s,
Thiemo Seufer [Tue, 25 Jul 2006 16:45:55 +0000 (16:45 +0000)]
* ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Improve test robustness.

18 years ago * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
Alan Modra [Tue, 25 Jul 2006 14:45:17 +0000 (14:45 +0000)]
* ldlang.c (analyze_walk_wild_section_handler): Init handler_data
earlier.

18 years ago * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow
Thiemo Seufer [Tue, 25 Jul 2006 09:17:57 +0000 (09:17 +0000)]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Allow
linking of objects for compatible machine types.

18 years ago * elfxx-mips.c (mips_elf_next_relocation): Tighten check to test
Thiemo Seufer [Tue, 25 Jul 2006 09:06:05 +0000 (09:06 +0000)]
* elfxx-mips.c (mips_elf_next_relocation): Tighten check to test
also for same symbol.

18 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Remove magic constant.
Thiemo Seufer [Tue, 25 Jul 2006 09:01:02 +0000 (09:01 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Remove magic constant.

18 years agoSync from GCC
Paolo Bonzini [Tue, 25 Jul 2006 08:39:57 +0000 (08:39 +0000)]
Sync from GCC

2006-07-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

        PR bootstrap/18058
        * configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
        if the bootstrap compiler is a GCC version that supports it.
        * configure: Regenerate.

config:
2006-07-21  David Daney  <ddaney@avtrex.com>

        PR libgcj/28426
        * gxx-include-dir.m4: Use target_alias in path for cross build.

18 years ago2006-07-25 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 25 Jul 2006 08:32:44 +0000 (08:32 +0000)]
2006-07-25  Paolo Bonzini  <bonzini@gnu.org>

PR build/26188
        * stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.

Sync from GCC
2006-07-21  Steve Ellcey  <sje@cup.hp.com>

        PR target/26792
        * unwind_ipinfo.m4: New.

18 years agogdb/
Daniel Jacobowitz [Tue, 25 Jul 2006 04:24:50 +0000 (04:24 +0000)]
gdb/
* eval.c (evaluate_subexp_for_address): Don't incorrectly discard
calls to C++ operator*.
gdb/testsuite/
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.

18 years ago * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
Bob Wilson [Tue, 25 Jul 2006 00:20:09 +0000 (00:20 +0000)]
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
in dep_sec_name for null terminator.  Make sure dep_sec_name has a
".t" linkonce tag.

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

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

18 years ago * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
Daniel Jacobowitz [Mon, 24 Jul 2006 22:04:13 +0000 (22:04 +0000)]
* solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
(gdb_int64_bytes): Likewise.
(fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
as first argument to extract_unsigned_integer to silence compiler
warnings.

18 years ago2006-07-24 Frederic Riss <frederic.riss@st.com>
Frederic Riss [Mon, 24 Jul 2006 21:37:04 +0000 (21:37 +0000)]
2006-07-24  Frederic Riss  <frederic.riss@st.com>

* dwarf2read.c (struct dwarf2_per_objfile): Add
has_section_at_zero
field.
(dwarf2_locate_sections): Initialize
dwarf2_per_objfile->has_section_at_zero.
(dwarf2_get_pc_bounds): Use
dwarf2_per_objfile->has_section_at_zero
instead of HAS_RELOC test.
(read_partial_die): Ditto.

18 years agogdb/
Daniel Jacobowitz [Mon, 24 Jul 2006 20:38:08 +0000 (20:38 +0000)]
gdb/
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen.  Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.

18 years ago2006-07-21 Frederic Riss <frederic.riss@st.com>
Frederic Riss [Mon, 24 Jul 2006 20:10:48 +0000 (20:10 +0000)]
2006-07-21  Frederic Riss  <frederic.riss@st.com>

* regcache.c (struct regcache): Make register_valid_p a signed
char
array.

18 years ago * linux-thread-db.c (thread_db_wait): Remove libthread_db
Daniel Jacobowitz [Mon, 24 Jul 2006 18:57:32 +0000 (18:57 +0000)]
* linux-thread-db.c (thread_db_wait): Remove libthread_db
after exec events.

18 years ago * NEWS: Mention Windows cross debugging support.
Daniel Jacobowitz [Mon, 24 Jul 2006 18:20:58 +0000 (18:20 +0000)]
* NEWS: Mention Windows cross debugging support.

18 years ago* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
Nick Clifton [Mon, 24 Jul 2006 18:18:19 +0000 (18:18 +0000)]
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
* elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific sections
  only if the SHF_OS_NONCONFORMING flag is present.

18 years agoPR ld/2729
Nick Clifton [Mon, 24 Jul 2006 16:51:26 +0000 (16:51 +0000)]
PR ld/2729
* peXXigen.c (_bfd_XXi_final_link_postscript): Check for the existance of
  output sections before putting their entries into the DataDictionary.

18 years agoPR/2756
Nick Clifton [Mon, 24 Jul 2006 16:30:55 +0000 (16:30 +0000)]
PR/2756
* read.c (read_a_source_file): Ignore unknown text after line comment
  character.  Fix misleading comment.

18 years ago * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
Nathan Sidwell [Mon, 24 Jul 2006 14:20:50 +0000 (14:20 +0000)]
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.

18 years agoFix spelling typos
Nick Clifton [Mon, 24 Jul 2006 13:49:50 +0000 (13:49 +0000)]
Fix spelling typos

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

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

18 years ago * linux-nat.c (linux_nat_add_target): Remove extern.
Daniel Jacobowitz [Sun, 23 Jul 2006 21:21:01 +0000 (21:21 +0000)]
* linux-nat.c (linux_nat_add_target): Remove extern.
* linux-nat.h (thread_db_init): New prototype.

18 years ago* ldlang.c (lang_section_bst): New structure for sorting sections by name.
Nick Clifton [Sun, 23 Jul 2006 15:32:08 +0000 (15:32 +0000)]
* ldlang.c (lang_section_bst): New structure for sorting sections by name.
  (wild_sort_fast): New function: Insert a section into a binary search tree.
  (output_section_callback_fast): New function: Store a section in BST.
  (output_section_callback_tree_to_list): New function: Convert a BST into a list.
  (analyze_walk_wild_section_handler): Initialize handler_data elements.
  (wild): If the data is sorted by name use the BST method to sort the names.

18 years agogdb/
Daniel Jacobowitz [Sun, 23 Jul 2006 03:52:15 +0000 (03:52 +0000)]
gdb/
* configure.tgt: Build gdbserver for Cygwin and mingw32.
gdb/gdbserver/
* configure.ac: Check for more headers which are missing on
Windows.  Automatically supply -lwsock32 and USE_WIN32API.
* configure.srv: Add Cygwin and mingw32.
* remote-utils.c: Don't include headers unconditionally which
are missing on mingw32.  Include <winsock.h> for mingw32.
(remote_open): Adjust for mingw32 support.  Flush
standard error after writing to it.
(remote_close, putpkt_binary, input_interrupt, block_async_io)
(unblock_async_io, enable_async_io, disable_async_io)
(readchar, getpkt): Update for Winsock support.
(prepare_resume_reply): Expect a protocol signal number.
* server.c: Disable <sys/wait.h> on mingw32.
(start_inferior): Adjust for mingw32 support.  Flush
standard error after writing to it.
(attach_inferior): Likewise.  Use protocol signal
numbers.
(main): Skip 'D' packet on mingw32.  Use protocol signal numbers
and names.
* win32-i386-low.c: New file.
* Makefile.in (XM_CLIBS): Set.
(gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
(win32-i386-low.o): New dependency rule.
* linux-low.c (linux_wait): Use target signal numbers.
* target.h (struct target_ops): Doc fix.
* server.h (target_signal_to_name): New prototype.
* gdbreplay.c: Don't include headers unconditionally which
are missing on mingw32.  Include <winsock.h> for mingw32.
(remote_close, remote_open): Adjust for Winsock support.
* configure, config.in: Regenerated.

18 years ago * configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
Daniel Jacobowitz [Sun, 23 Jul 2006 03:47:44 +0000 (03:47 +0000)]
* configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
* configure: Regenerated.
gdb/
* config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
* config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
* config/i386/tm-cygwin.h: Delete file.

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

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

18 years ago* infrun.c (handle_inferior_event): Typo.
Mark Kettenis [Sat, 22 Jul 2006 14:48:03 +0000 (14:48 +0000)]
* infrun.c (handle_inferior_event): Typo.

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

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

18 years ago2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 21 Jul 2006 14:46:56 +0000 (14:46 +0000)]
2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>

* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.

docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.

testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.

18 years ago* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
Nick Clifton [Fri, 21 Jul 2006 09:56:40 +0000 (09:56 +0000)]
* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
   being tested.

18 years ago* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.
Nick Clifton [Fri, 21 Jul 2006 09:46:15 +0000 (09:46 +0000)]
* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.

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

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

18 years agoUpdate amd family 10 instructions to add appropriate alignment for cygwin
Michael Meissner [Thu, 20 Jul 2006 23:09:32 +0000 (23:09 +0000)]
Update amd family 10 instructions to add appropriate alignment for cygwin

18 years agogdb/
Daniel Jacobowitz [Thu, 20 Jul 2006 22:50:07 +0000 (22:50 +0000)]
gdb/
* eval.c (evaluate_struct_tuple): Skip static fields.
gdb/testsuite/
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.

18 years ago * config/tc-mips.c (md_parse_option): Don't infer optimisation
Thiemo Seufer [Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)]
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.

18 years ago [ bfd/ChangeLog ]
Thiemo Seufer [Thu, 20 Jul 2006 16:46:30 +0000 (16:46 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
instead of mips16_jump_reloc.
* elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
_bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.

[ gas/ChangeLog ]
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
(tc_gen_reloc): Handle mips16 jumps to section symbol offsets.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-call-global-1.s,
ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Test linking of external mips16 jumps.
* ld-mips-elf/mips-elf.exp: Run new test.

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

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

18 years ago* alphaobsd-tdep.c: Include "obsd-tdep.h".
Mark Kettenis [Wed, 19 Jul 2006 23:23:35 +0000 (23:23 +0000)]
* alphaobsd-tdep.c: Include "obsd-tdep.h".
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.

18 years ago* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
Mark Kettenis [Wed, 19 Jul 2006 18:21:36 +0000 (18:21 +0000)]
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
from ELF flags for binaries produced by the GNU toolchain.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

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

18 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.