Ulrich Weigand [Fri, 24 Nov 2006 20:19:37 +0000 (20:19 +0000)]
* NEWS: SPU target is already supported in GDB 6.6.
Ulrich Weigand [Fri, 24 Nov 2006 18:23:34 +0000 (18:23 +0000)]
* Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
(nto-procfs.o): Likewise.
* mips-linux-tdep.c: Include "solib.h".
* nto-procfs.c: Likewise.
* config/nm-linux.h: Do not include "solib.h".
* config/nm-nbsd.h: Likewise.
* config/tm-linux.h: Likewise.
* config/alpha/nm-osf.h: Likewise.
* config/frv/tm-frv.h: Likewise.
* config/i386/nm-fbsh.h: Likewise.
* config/i386/nm-i386gnu.h: Likewise.
* config/i386/nm-i386sco5.h: Likewise.
* config/i386/nm-i386sol2.h: Likewise.
* config/i386/nm-i386v4.h: Likewise.
* config/i386/nm-i386v42mp.h: Likewise.
* config/i386/tm-i386sol2.h: Likewise.
* config/i386/tm-nto.h: Likewise.
* config/mips/nm-irix5.h: Likewise.
* config/mips/tm-nbsd.h: Likewise.
* config/pa/tm-hppah.h: Likewise.
* config/powerpc/tm-ppc-eabi.h: Likewise.
* config/rs6000/tm-rs6000.h: Likewise.
* config/sh/tm-nbsd.h: Likewise.
* config/sparc/nm-sol2.h: Likewise.
* config/sparc/tm-sol2.h: Likewise.
* config/arm/nbsdaout.mh: Remove NAT_FILE.
* config/i386/nbsdaout.mh: Likewise.
* config/i386/nbsdelf.mh: Likewise.
* config/i386/obsdaout.mh: Likewise.
* config/m68k/nbsdaout.mh: Likewise.
* config/m68k/obsd.mh: Likewise.
* config/sparc/nbsdaout.mh: Likewise.
* config/cris/cris.mt: Remove DEPRECATED_TM_FILE.
* config/i386/linux64.mt: Likewise.
* config/m68k/linux.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/sparc/linux.mt: Likewise.
* config/sparc/linux64.mt: Likewise.
* config/vax/nbsd.mt: Likewise.
Alan Modra [Fri, 24 Nov 2006 04:32:41 +0000 (04:32 +0000)]
* config/tc-spu.c (md_pseudo_table): Add eqv and .eqv.
gdbadmin [Fri, 24 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 23 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Thiemo Seufer [Thu, 23 Nov 2006 16:50:39 +0000 (16:50 +0000)]
* ld-elf/warn2.d: Match regex also for the second segment.
gdbadmin [Thu, 23 Nov 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 22 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Wed, 22 Nov 2006 19:41:17 +0000 (19:41 +0000)]
* NEWS: New port to Cell Broadband Engine SPU.
* MAINTAINERS: Add myself as spu maintainer.
Daniel Jacobowitz [Wed, 22 Nov 2006 18:51:58 +0000 (18:51 +0000)]
gdb/
* Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c (thumb_skip_prologue): Remove.
(thumb_analyze_prologue): New function.
(arm_skip_prologue): Use thumb_analyze_prologue.
(thumb_scan_prologue): Ditto.
gdb/testsuite/
* gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
Daniel Jacobowitz [Wed, 22 Nov 2006 17:45:57 +0000 (17:45 +0000)]
opcodes/
* arm-dis.c (last_is_thumb): Delete.
(enum map_type, last_type): New.
(print_insn_data): New.
(get_sym_code_type): Take MAP_TYPE argument. Check the type of
the right symbol. Handle $d.
(print_insn): Check for mapping symbols even without a normal
symbol. Adjust searching. If $d is found see how much data
to print. Handle data.
gas/
* config/tc-arm.h (md_cons_align): Define.
(mapping_state): New prototype.
* config/tc-arm.c (mapping_state): Make global.
gas/testsuite/
* gas/arm/arm7t.d, gas/arm/neon-ldst-rm.d, gas/arm/thumb2_pool.d,
gas/arm/tls.d: Update for $d support.
* gas/arm/mapshort.d, gas/arm/mapshort.s: New test.
* gas/elf/section2.e-armeabi: Update.
* gas/elf/section2.e-armelf: New file.
* gas/elf/elf.exp: Use it.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/tls-app.d, ld-arm/tls-lib.d: Update
for $d support.
Ulrich Weigand [Wed, 22 Nov 2006 17:34:15 +0000 (17:34 +0000)]
ChangeLog:
* configure.tgt: Enable gdbserver for SPU target.
* configure.ac: Build gdbserver when gdb_native is yes.
* configure: Regenerate.
* regformats/reg-spu.dat: New file.
gdbserver/ChangeLog:
* configure.srv: Add target "spu*-*-*".
* Makefile.in (clean): Remove reg-spu.c.
(reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
* spu-low.c: New file.
Daniel Jacobowitz [Wed, 22 Nov 2006 17:32:07 +0000 (17:32 +0000)]
* osabi.c (gdbarch_lookup_osabi): Do not return
GDB_OSABI_UNINITIALIZED.
Ulrich Weigand [Wed, 22 Nov 2006 17:19:52 +0000 (17:19 +0000)]
* gdb.asm/asm-source.exp: Add "spu*-*-*" target.
* gdb.asm/spu.inc: New file.
* gdb.base/term.exp: Disable if [target_info exists noargs].
* gdb.gdb/complaints.exp: Disable if ![isnative].
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
* gdb.base/attach.exp: Disable on SPU target.
* gdb.cp/bs145503.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
Daniel Jacobowitz [Wed, 22 Nov 2006 15:24:07 +0000 (15:24 +0000)]
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
Ulrich Weigand [Wed, 22 Nov 2006 13:49:53 +0000 (13:49 +0000)]
* config/powerpc/spu-linux.mh: New file.
* config/spu/spu.mt: New file.
* configure.ac: Provide gdb_native configuration variable.
* configure: Regenerate.
* configure.host: Support powerpc64 to spu 'pseudo-native' mode.
* configure.tgt: Add "spu" target_cpu and "spu*-*-*" target.
* Makefile.in (spu_tdep_h): New variable.
(ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c
(spu-linux-nat.o, spu-tdep.o): Add dependencies.
* spu-linux-nat.c: New file.
* spu-tdep.c: New file.
* spu-tdep.h: New file.
Ulrich Weigand [Wed, 22 Nov 2006 13:44:45 +0000 (13:44 +0000)]
* findvar.c (address_from_register): New function.
* value.h (address_from_register): Add prototype.
* dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register.
Vladimir Prus [Wed, 22 Nov 2006 10:43:34 +0000 (10:43 +0000)]
2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
* breakpoint.c: Include "memattr.h".
(automatic_hardware_breakpoints): New.
(show_automatic_hardware_breakpoints): New.
(insert_bp_location): Automatically use
hardware breakpoints.
(_initialize_breakpoint): Register the "auto-hw"
variable.
* Makefile.in (breakpoint.o): Update dependencies.
Nick Clifton [Wed, 22 Nov 2006 09:45:12 +0000 (09:45 +0000)]
Add Irish translation for ld and Malay translation for gprof
Alan Modra [Wed, 22 Nov 2006 03:35:36 +0000 (03:35 +0000)]
* config/obj-elf.c (obj_elf_version): Use memcpy rather than strcpy.
Alan Modra [Wed, 22 Nov 2006 03:33:51 +0000 (03:33 +0000)]
* pef.c (bfd_pef_make_empty_symbol): Delete function. Define instead.
* xsym.c (bfd_sym_make_empty_symbol): Likewise.
* xsym.h (bfd_sym_make_empty_symbol): Delete.
Greg McGary [Wed, 22 Nov 2006 00:12:30 +0000 (00:12 +0000)]
* 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.
gdbadmin [Wed, 22 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 21 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Vladimir Prus [Tue, 21 Nov 2006 16:50:16 +0000 (16:50 +0000)]
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.
Jakub Jelinek [Tue, 21 Nov 2006 11:25:17 +0000 (11:25 +0000)]
* 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.
Joel Brobecker [Tue, 21 Nov 2006 05:12:44 +0000 (05:12 +0000)]
* README: Remove obsolete information.
gdbadmin [Tue, 21 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 20 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 20 Nov 2006 21:47:06 +0000 (21:47 +0000)]
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.
H.J. Lu [Mon, 20 Nov 2006 20:07:51 +0000 (20:07 +0000)]
2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Fix a typo.
Alan Modra [Mon, 20 Nov 2006 02:17:06 +0000 (02:17 +0000)]
* emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
Alan Modra [Mon, 20 Nov 2006 02:09:56 +0000 (02:09 +0000)]
* 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.
Alan Modra [Mon, 20 Nov 2006 01:38:38 +0000 (01:38 +0000)]
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.
Mei Ligang [Mon, 20 Nov 2006 01:28:43 +0000 (01:28 +0000)]
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.
Joel Brobecker [Mon, 20 Nov 2006 00:16:05 +0000 (00:16 +0000)]
* 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.
gdbadmin [Mon, 20 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Sun, 19 Nov 2006 23:30:13 +0000 (23:30 +0000)]
GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
* version.in: Bump version to 6.6.50.
20061119-cvs.
Alan Modra [Sun, 19 Nov 2006 23:00:07 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 19 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sat, 18 Nov 2006 23:57:08 +0000 (23:57 +0000)]
* prologue-value.c (clear_entries): Fix memory leak.
Daniel Jacobowitz [Sat, 18 Nov 2006 23:54:32 +0000 (23:54 +0000)]
2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
dereferencing it.
Alan Modra [Sat, 18 Nov 2006 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 18 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 17 Nov 2006 23:00:08 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 17 Nov 2006 19:30:41 +0000 (19:30 +0000)]
* utils.c (string_to_core_addr): Use error instead of
internal_error.
* mi/mi-main.c (mi_execute_command): Check for a NULL message.
Daniel Jacobowitz [Fri, 17 Nov 2006 17:48:41 +0000 (17:48 +0000)]
* NEWS: Mention QPassSignals.
Alan Modra [Fri, 17 Nov 2006 13:55:41 +0000 (13:55 +0000)]
* 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.
Paolo Bonzini [Fri, 17 Nov 2006 10:35:45 +0000 (10:35 +0000)]
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.
gdbadmin [Fri, 17 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 16 Nov 2006 23:00:10 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 16 Nov 2006 22:04:09 +0000 (22:04 +0000)]
* configure.ac: Correct td_thr_tls_get_addr test.
* configure: Regenerated.
Maxim Grigoriev [Thu, 16 Nov 2006 19:58:57 +0000 (19:58 +0000)]
Changelog update for my previous check-in.
Maxim Grigoriev [Thu, 16 Nov 2006 19:45:45 +0000 (19:45 +0000)]
2006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
* MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
(Write After Approval): Add myself.
Daniel Jacobowitz [Thu, 16 Nov 2006 15:08:25 +0000 (15:08 +0000)]
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.
Nathan Sidwell [Thu, 16 Nov 2006 07:22:25 +0000 (07:22 +0000)]
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.
Mei Ligang [Thu, 16 Nov 2006 04:36:25 +0000 (04:36 +0000)]
* 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.
Ian Lance Taylor [Thu, 16 Nov 2006 00:38:25 +0000 (00:38 +0000)]
Snapshot. Includes first cut at output relocation sections.
gdbadmin [Thu, 16 Nov 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 15 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
Alan Modra [Wed, 15 Nov 2006 21:47:49 +0000 (21:47 +0000)]
* symbols.c (resolve_symbol_value): Formatting.
Jan Beulich [Wed, 15 Nov 2006 15:59:26 +0000 (15:59 +0000)]
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.
Nick Clifton [Wed, 15 Nov 2006 15:18:04 +0000 (15:18 +0000)]
Add changelog entry for previous delta
gdbadmin [Wed, 15 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Tue, 14 Nov 2006 23:26:39 +0000 (23:26 +0000)]
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.
Alan Modra [Tue, 14 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
Daniel Jacobowitz [Tue, 14 Nov 2006 21:53:59 +0000 (21:53 +0000)]
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.
Daniel Jacobowitz [Tue, 14 Nov 2006 21:40:19 +0000 (21:40 +0000)]
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.
Ian Lance Taylor [Tue, 14 Nov 2006 19:21:05 +0000 (19:21 +0000)]
More dynamic object support, initial scripting support.
Nick Clifton [Tue, 14 Nov 2006 19:03:32 +0000 (19:03 +0000)]
* 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
Mark Shinwell [Tue, 14 Nov 2006 12:21:13 +0000 (12:21 +0000)]
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.
Daniel Jacobowitz [Tue, 14 Nov 2006 03:32:36 +0000 (03:32 +0000)]
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
Geoffrey Keating [Tue, 14 Nov 2006 02:04:57 +0000 (02:04 +0000)]
Merge ChangeLog and multi.m4 from GCC repository.
gdbadmin [Tue, 14 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 13 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update
Daniel Jacobowitz [Mon, 13 Nov 2006 21:18:36 +0000 (21:18 +0000)]
* ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack.
* ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d:
Allow smaller section gap.
* ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder. Remove
_stack.
* ld-arm/mixed-app.sym: Remove _stack.
* ld-arm/tls-app.d: Update start address.
Daniel Jacobowitz [Mon, 13 Nov 2006 20:39:21 +0000 (20:39 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
(bfd_elf32_arm_set_byteswap_code): New prototype.
* bfd-in2.h: Regenerate.
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Don't take
byteswap_code as an argument. Revert 2006-11-01 change.
(bfd_elf32_arm_set_byteswap_code): New.
(elf32_arm_size_dynamic_sections): Call
bfd_elf32_arm_process_before_allocation.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Only call
bfd_elf32_arm_process_before_allocation if no dynamic sections.
Daniel Jacobowitz [Mon, 13 Nov 2006 19:05:50 +0000 (19:05 +0000)]
Fix last entry.
Paul Gilliam [Mon, 13 Nov 2006 18:50:11 +0000 (18:50 +0000)]
Fixed up some indentation introduced by my last pactch.
Paul Gilliam [Mon, 13 Nov 2006 17:37:36 +0000 (17:37 +0000)]
Fix sigtramp cache code so that PPC register are read only if there is H/W.
Frederic Riss [Mon, 13 Nov 2006 09:33:30 +0000 (09:33 +0000)]
2006-11-13 Denis Pilat <denis.pilat@st.com>
* terminal.c (_rl_get_screen_size): use wr and wc variable to store
window size.
gdbadmin [Mon, 13 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Nov 2006 22:58:49 +0000 (22:58 +0000)]
daily update
Ben Harris [Sun, 12 Nov 2006 11:06:31 +0000 (11:06 +0000)]
* arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
gdbadmin [Sun, 12 Nov 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 11 Nov 2006 22:58:50 +0000 (22:58 +0000)]
daily update
gdbadmin [Sat, 11 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Nov 2006 22:58:51 +0000 (22:58 +0000)]
daily update
H.J. Lu [Fri, 10 Nov 2006 20:52:03 +0000 (20:52 +0000)]
2006-11-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/merom.d: Use "#pass" instead of "#..." to skip the
rest of output.
* gas/i386/x86-64-merom.d: Likewise.
Daniel Jacobowitz [Fri, 10 Nov 2006 20:11:35 +0000 (20:11 +0000)]
* frame.c (frame_register_unwind_location): New function.
(get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
(frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
* frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
Daniel Jacobowitz [Fri, 10 Nov 2006 19:20:37 +0000 (19:20 +0000)]
gdb/
* arch-utils.c (target_byte_order_user): Renamed from
target_byte_order.
(target_byte_order_auto, selected_byte_order): Removed.
(show_endian): Check target_byte_order_user.
(set_endian): Always update the architecture. Set
target_byte_order_user after success.
(target_architecture_auto): Removed.
(target_architecture_user): New.
(selected_architecture_name, show_architecture): Check it.
(set_architecture): Set target_architecture_user after success.
(gdbarch_from_bfd): Check the argument.
(default_byte_order): New.
(initialize_current_architecture): Set the global default
architecture and endianness.
(gdbarch_info_fill): Remove GDBARCH argument. Do not check the
previous architecture. Use exec_bfd, global selected architecture
and endianness, and global defaults.
* arch-utils.h (selected_byte_order): Remove prototype.
(gdbarch_info_fill): Update.
* exec.c (exec_file_attach): Update the architecture after removing
the current file.
* gdbarch.sh: Update comments.
(find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
gdbarch_info_fill.
(gdbarch_find_by_info): Update call to find_arch_by_info.
* gdbarch.h, gdbarch.c: Regenerated.
* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
* gdbint.texinfo (Target Architecture Definition): Add new
Initializing a New Architecture section.
Vladimir Prus [Fri, 10 Nov 2006 16:58:53 +0000 (16:58 +0000)]
2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/completion.exp: Fix completion tests for
'info' and 'info '.
* gdb.base/help.exp (help_test_raw, test_class_help)
(test_prefix_command_help): Move...
* lib/gdb.exp: Here.
* gdb.base/main.exp: Adjust.
* gdb.cp/maint.exp: Adjust.
* gdb.trace/tracecmd.exp: Use test_help_class.
Thiemo Seufer [Fri, 10 Nov 2006 14:37:33 +0000 (14:37 +0000)]
* config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
for SDE configs.
Thiemo Seufer [Fri, 10 Nov 2006 14:15:52 +0000 (14:15 +0000)]
* gas/cfi/cfi.exp: Don't run cfi-common-6 for mips*-*.
Nick Clifton [Fri, 10 Nov 2006 09:32:42 +0000 (09:32 +0000)]
* config/tc-arm.c (arm_fix_adjustable) [OBJ_COFF]: Delete.
(arm_fix_adjustable) [OBJ_ELF]: Use it on coff targets too.
* gas/arm/local_label_coff.s: New test.
* gas/arm/local_label_coff.d: New test.
* gas/arm/local_label_elf.s: New test.
* gas/arm/local_label_elf.d: New test.
* gas/arm/local_label_wince.s: New test.
* gas/arm/local_label_wince.d: New test.
Nick Clifton [Fri, 10 Nov 2006 07:53:33 +0000 (07:53 +0000)]
* config.bfd: Move previously obsoleted targets to the REMOVED list.
Add maxq-*-coff to the obsolete list.
Nick Clifton [Fri, 10 Nov 2006 07:47:14 +0000 (07:47 +0000)]
PR gas/3456:
* config/obj-elf.c (obj_elf_version): Do not include the name field's padding in the namesz value.
Nick Clifton [Fri, 10 Nov 2006 07:35:20 +0000 (07:35 +0000)]
* pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
* pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise.
* coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before.
* gas/arm/undefined.d: Run test on Windows CE.
* gas/arm/undefined_coff.d: Don't run test on Windows CE.
H.J. Lu [Fri, 10 Nov 2006 03:54:11 +0000 (03:54 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (print_insn): Check PREFIX_REPNZ before
PREFIX_DATA when prefix user table is used.
H.J. Lu [Fri, 10 Nov 2006 02:13:40 +0000 (02:13 +0000)]
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
(twobyte_uses_DATA_prefix): This.
(twobyte_uses_REPNZ_prefix): New.
(twobyte_uses_REPZ_prefix): Likewise.
(threebyte_0x38_uses_DATA_prefix): Likewise.
(threebyte_0x38_uses_REPNZ_prefix): Likewise.
(threebyte_0x38_uses_REPZ_prefix): Likewise.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(threebyte_0x3a_uses_REPNZ_prefix): Likewise.
(threebyte_0x3a_uses_REPZ_prefix): Likewise.
(print_insn): Updated checking usages of DATA/REPNZ/REPZ
prefixes.