Commit Graph

52525 Commits

Author SHA1 Message Date
Greg McGary 4fe5ca5b13 * elf32-ppc.c (ppc_elf_relocate_section): Fixup D field
at proper offset in little-endian mode.
	* elf64-ppc.c (ppc_elf_relocate_section): Likewise.
2006-11-22 00:12:30 +00:00
gdbadmin 3593430428 *** empty log message *** 2006-11-22 00:00:32 +00:00
Alan Modra 19a3a98b69 daily update 2006-11-21 23:00:07 +00:00
Vladimir Prus 4b5752d02f gdb/
* memattr.h (enum mem_access_mode): New value
        MEM_NONE.
        * memattr.c (unknown_mem_attrib): New.
        (inaccessible_by_default): New.
        (show_inaccessible_by_default): New.
        (lookup_mem_region): Check inaccessible_by_default.
        (dummy_cmd): New.
        (mem_set_cmdlist, mem_show_cmdlist): New.
        (_initialize_mem): Register new "set" and "show"
        commands.
        * target.c (memory_xfer_partial): If memory type
        is MEM_NONE, return an error.
        Clip to region size when calling to_xfer_partial.
        If upper limit of memory range is 0, don't clip
        anything.

        gdb/doc/
        * gdb.texinfo (Memory Access Checking): New.
2006-11-21 16:50:16 +00:00
Jakub Jelinek bce613b9bf * elf-eh-frame.c (struct cie): New type.
(cie_compare): Removed.
	(cie_eq, cie_hash, cie_compute_hash): New functions.
	(_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs
	pointing only to last CIE and allow merging of any duplicate CIEs,
	not just duplicate consecutive CIEs.
	(_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table.
	* elf-bfd.h (struct cie_header, struct cie): Removed.
	(struct eh_frame_sec_info): Remove alloced field.
	(struct eh_frame_hdr_info): Remove last_cie, last_cie_sec
	and last_cie_inf fields.  Add cies field.

	* ld-elf/eh5.d: New test.
	* ld-elf/eh5.s: New file.
	* ld-elf/eh5a.s: New file.
	* ld-elf/eh5b.s: New file.
2006-11-21 11:25:17 +00:00
Joel Brobecker caac47b8c3 * README: Remove obsolete information. 2006-11-21 05:12:44 +00:00
gdbadmin 76ea7ebf75 *** empty log message *** 2006-11-21 00:00:33 +00:00
Alan Modra 344b021b85 daily update 2006-11-20 23:00:07 +00:00
Andrew Cagney 155bd5d1c1 Index: ChangeLog
2006-11-20  Andrew Cagney  <cagney@redhat.com>

	* linux-nat.h: Refer to GNU/Linux or Linux kernel.
	* linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
	* infcmd.c (attach_command): Ditto.
	* hppa-linux-tdep.c (hppa_linux_regset): Ditto.
	* mn10300-linux-tdep.c: Ditto.  Update copyright year.
	* frv-linux-tdep.c: Ditto.  Update copyright year.
2006-11-20 21:47:06 +00:00
H.J. Lu 0f6bf4518a 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Fix a typo.
2006-11-20 20:07:51 +00:00
Alan Modra f99ab86efa * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define. 2006-11-20 02:17:06 +00:00
Alan Modra 74633dd074 * bfd-in.h (struct stat): Don't typedef.
* bfdio.c (bfd_get_size): Return a file_ptr.
	* cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
	* mmo.c (mmo_scan): Use file_ptr for curpos.
	* trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
	unsigned long.
	* bfd-in2.h: Regenerate.
2006-11-20 02:09:56 +00:00
Alan Modra 98f0b6ab8c PR 3532
* bfd-in.h (struct bfd_hash_table): Reorganize.  Add "frozen".
	* hash.c (bfd_hash_table_init_n): Init frozen.
	(bfd_hash_lookup): Don't grow if frozen.
	(bfd_hash_traverse): Freeze hash table during traversal.
	* bfd-in2.h: Regenerate.
2006-11-20 01:38:38 +00:00
Mei Ligang 98a16ee117 2006-11-16 Mei ligang <ligang@sunnorth.com.cn>
* config/tc-score.c (score_relax_frag): If next frag contains 32 bit branch
	instruction, handle it specially.
	(score_insns): Modify 32 bit branch instruction.
2006-11-20 01:28:43 +00:00
Joel Brobecker 6dd0964508 * NEWS: Add a new section for changes since GDB 6.6. Rename
the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
        Move a couple of items into the new section as they did not
        make it to 6.6.
2006-11-20 00:16:05 +00:00
gdbadmin baa7655eda *** empty log message *** 2006-11-20 00:00:32 +00:00
Joel Brobecker ab44b8ebc8 GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
* version.in: Bump version to 6.6.50.20061119-cvs.
2006-11-19 23:30:13 +00:00
Alan Modra 478a2350ed daily update 2006-11-19 23:00:07 +00:00
gdbadmin ed4768753a *** empty log message *** 2006-11-19 00:00:02 +00:00
Daniel Jacobowitz 08f08ce684 * prologue-value.c (clear_entries): Fix memory leak. 2006-11-18 23:57:08 +00:00
Daniel Jacobowitz aef9c3b3f5 2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
	dereferencing it.
2006-11-18 23:54:32 +00:00
Alan Modra 7f762562fe daily update 2006-11-18 23:00:06 +00:00
gdbadmin 8329e30aa8 *** empty log message *** 2006-11-18 00:00:03 +00:00
Alan Modra 3218c4ac02 daily update 2006-11-17 23:00:08 +00:00
Daniel Jacobowitz 63f0680332 * utils.c (string_to_core_addr): Use error instead of
internal_error.
	* mi/mi-main.c (mi_execute_command): Check for a NULL message.
2006-11-17 19:30:41 +00:00
Daniel Jacobowitz e554a4b262 * NEWS: Mention QPassSignals. 2006-11-17 17:48:41 +00:00
Alan Modra c2370991ed * elflink.c (_bfd_elf_check_kept_section): Test for kept group
section.  Save result of checks in kept_section.
	(_bfd_elf_section_already_linked): Tidy.  Correct comments.
	Ignore all group member sections.  Handle special matching of
	single-member groups against linkonce sections via their group
	section.  When such a match is found, set kept_section to the
	group member section rather than to the group.
2006-11-17 13:55:41 +00:00
Paolo Bonzini 9daf399328 2006-11-16 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence.
	(unstage): Test for stage_last presence.

	PR bootstrap/29802
	* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX.
	* Makefile.in: Regenerate.
2006-11-17 10:35:45 +00:00
gdbadmin 6e953d69fb *** empty log message *** 2006-11-17 00:00:03 +00:00
Alan Modra 50ad8cbf69 daily update 2006-11-16 23:00:10 +00:00
Daniel Jacobowitz cb7283db10 * configure.ac: Correct td_thr_tls_get_addr test.
* configure: Regenerated.
2006-11-16 22:04:09 +00:00
Maxim Grigoriev 7a11f07a31 Changelog update for my previous check-in. 2006-11-16 19:58:57 +00:00
Maxim Grigoriev 9cd8460227 2006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
* MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
   (Write After Approval): Add myself.
2006-11-16 19:45:45 +00:00
Daniel Jacobowitz 89be209149 gdb/
* remote.c (PACKET_QPassSignals): New.
	(last_pass_packet, remote_pass_signals): New.
	(remote_protocol_features): Add QPassSignals.
	(remote_query_supported): Correct an infinite loop.
	(remote_open_1): Reset last_pass_packet.
	(remote_resume): Call remote_pass_signals.
	(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
	* gdb.texinfo (Remote configuration): Mention
	"pass-signals-packet".
	(General Query Packets): Document QPassSignals.  Fix
	a typo.
gdb/gdbserver/
	* linux-low.c (linux_wait_for_event): Reformat.  Use the
	pass_signals array.
	* remote-utils.c (decode_address_to_semicolon): New.
	* server.c (pass_signals, handle_general_set): New.
	(handle_query): Mention QPassSignals for qSupported.
	(main): Call handle_general_set.
	* server.h (pass_signals, decode_address_to_semicolon): New.
2006-11-16 15:08:25 +00:00
Nathan Sidwell 869ddf2a18 gas/
* config/tc-m68k.c (m68k_ip):  Correct output of cpu aliases.
gas/testsuite/
	* gas/m68k/all.exp: Add mcf-trap.
	* gas/m68k/mcf-trap.[sd]: New.
opcodes/
	* m68k-opc.c (m68k_opcodes): Place trap instructions before set
	conditionals.  Add tpf coldfire instruction as alias for trapf.
2006-11-16 07:22:25 +00:00
Mei Ligang 41c55c875a * config/tc-score.c (score_relax_frag): If next frag contains 32 bit branch
instruction, handle it specially.
	(score_insns): Modify 32 bit branch instruction.
2006-11-16 04:36:25 +00:00
Ian Lance Taylor c06b7b0ba3 Snapshot. Includes first cut at output relocation sections. 2006-11-16 00:38:25 +00:00
gdbadmin 7495b3afc0 *** empty log message *** 2006-11-16 00:00:36 +00:00
Alan Modra 90ed2bd7fc daily update 2006-11-15 22:58:48 +00:00
Alan Modra 0023dd272f * symbols.c (resolve_symbol_value): Formatting. 2006-11-15 21:47:49 +00:00
Jan Beulich bdf128d65b gas/
2006-11-15  Jan Beulich  <jbeulich@novell.com>

	PR/3469
	* symbols.c (symbol_clone): Mark symbol ending up not on symbol
	chain by linking it to itself.
	(resolve_symbol_value): Also check symbol_shadow_p().
	(symbol_shadow_p): New.
	* symbols.h (symbol_shadow_p): Declare.

gas/testsuite/
2006-11-15  Jan Beulich  <jbeulich@novell.com>

	* gas/elf/equ-reloc.[sd]: New.
	* gas/elf/elf.exp: Run new test.
2006-11-15 15:59:26 +00:00
Nick Clifton b9c3a42a93 Add changelog entry for previous delta 2006-11-15 15:18:04 +00:00
gdbadmin 5f69414afa *** empty log message *** 2006-11-15 00:00:33 +00:00
DJ Delorie 9dbaa84237 * Makefile.tpl (clean-stage*): Sync with GCC (clean).
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.
2006-11-14 23:26:39 +00:00
Alan Modra 866dcbf333 daily update 2006-11-14 22:58:48 +00:00
Daniel Jacobowitz ca3bf3bdbe 2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* NEWS: New port to Xtensa.
	* Makefile.in: Add dependencies for Xtensa files.
	* configure.tgt (xtensa*, xtensa*-*-elf*): New.
	* configure.host (xtensa*-*-elf*): New.
	* config/xtensa/xtensa.mt: New file.
	* xtensa-config.c: New file.
	* xtensa-tdep.h: New file.
	* xtensa-tdep.c: New file.

2006-11-14  Maxim Grigoriev  <maxim@tensilica.com>

	* gdb.texinfo (Contributors): Add contributors of Xtensa port.
2006-11-14 21:53:59 +00:00
Daniel Jacobowitz 427c3a89d3 gdb/
* remote.c (set_remote_cmd): Call help_list.
	(show_remote_cmd): Skip legacy aliases.  Handle non-show_cmd
	entries.  Add missed cleanup.
	* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
	* gdb.texinfo (Remote configuration): Rewrite documentation for
	packet configuration commands.
	(OS Information): Adjust reference to qXfer:auxv:read.
	(General Query Packets): Remove references to read-aux-vector-packet
	and set remote get-thread-local-storage-address.
2006-11-14 21:40:19 +00:00
Ian Lance Taylor dbe717effb More dynamic object support, initial scripting support. 2006-11-14 19:21:05 +00:00
Nick Clifton 6c73cbb1d9 * peXXigen.c: Updates for PE/COFF V8.0, and clarification
(dir_names): Added CLR Runtime Header to dir_names[].
  (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX subsystem names
  (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
  (pe_print_idata, pe_print_edata)
  (_bfd_XX_bfd_copy_private_bfd_data_common)
  (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into DataDirectory.
* pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and IMAGE_SUBSYSTEM_XBOX.
* internal.h: Added defines for PE directory entry types.
  NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in pe.h
2006-11-14 19:03:32 +00:00
Mark Shinwell 25fe350bd9 gas/
* config/tc-arm.c (do_t_czb): Rename to do_t_cbz.
	(insns): Adjust accordingly.
	(md_apply_fix): Alter comments to use CBZ instead of CZB.
2006-11-14 12:21:13 +00:00