gdb/gnu.git
16 years ago * gdb/regformats/regdat.sh: Include <stdlib.h>.cvs/gdb-csl-arm-20051020-branchgdb-csl-arm-20051020-branch
Daniel Jacobowitz [Thu, 26 Jan 2006 18:12:46 +0000 (26 18:12 +0000)]
* gdb/regformats/regdat.sh: Include <stdlib.h>.

16 years ago Backport:
Daniel Jacobowitz [Thu, 26 Jan 2006 18:11:40 +0000 (26 18:11 +0000)]
Backport:
2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>

PR gdb/1914
* fork-child.c (fork_inferior): Don't call
solib_create_inferior_hook.
* infcmd.c (post_create_inferior): Call solib_add,
solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
(attach_command): Don't call solib_add or
re_enable_breakpoints_in_shlibs.  Call post_create_inferior
instead.
...

16 years ago Backport:
Daniel Jacobowitz [Thu, 26 Jan 2006 18:05:55 +0000 (26 18:05 +0000)]
Backport:
2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>

* infcmd.c: Include "observer.h".
(post_create_inferior): New function.
(run_command_1): Call it.  Also call proceed.
* inferior.h (post_create_inferior): New prototype.
* Makefile.in (infcmd.o): Update.
...

16 years ago * gdb/gdbserver/linux-arm-low.c: Move #include below ELF_GREGSET_T
Daniel Jacobowitz [Wed, 25 Jan 2006 01:36:17 +0000 (25 01:36 +0000)]
* gdb/gdbserver/linux-arm-low.c: Move #include below ELF_GREGSET_T
definition.

16 years ago * gdb/arm-tdep.c (thumb2_modify_constant): Silence compiler warning.
Julian Brown [Thu, 20 Oct 2005 14:10:25 +0000 (20 14:10 +0000)]
    * gdb/arm-tdep.c (thumb2_modify_constant): Silence compiler warning.
        (thumb_scan_prologue): Fix typo.

16 years ago * gdb/arm-tdep.c (bitcount): Move function higher up in file.
Julian Brown [Thu, 20 Oct 2005 13:36:44 +0000 (20 13:36 +0000)]
* gdb/arm-tdep.c (bitcount): Move function higher up in file.
    (thumb2_it_block): New function. Find the next instruction to be
    executed in an IT block.
    (thumb_get_next_pc): Handle 16- and 32-bit Thumb-2 instructions.

16 years ago * gdb/arm-tdep.c (submask, bit, bits, sbits): Move macro definitions.
Julian Brown [Thu, 20 Oct 2005 13:32:36 +0000 (20 13:32 +0000)]
    * gdb/arm-tdep.c (submask, bit, bits, sbits): Move macro definitions.
        (thumb_skip_prologue): Don't require frame pointer. Handle Thumb-2
        prologue instructions.
        (thumb_get_insn): New function. Read a Thumb or Thumb-2 instruction
        from memory.
        (arm_skip_prologue): Change comment to include Thumb-2.
        (thumb2_modify_constant): New function. Perform the Thumb-2 12-bit
        immediate transformation.
        (thumb_scan_prologue): Handle Thumb-2 prologue instructions.

16 years ago2005-10-20 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:36:54 +0000 (20 03:36 +0000)]
2005-10-20  Paul Brook  <paul@codesourcery.com>

* arm-tdep.c (arm_iwmmxt_type): New.
(arm_build_iwmmxt_type): New function.
(arm_register_type): Use it.

16 years ago2005-03-30 Daniel Jacobowitz <dan@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:36:28 +0000 (20 03:36 +0000)]
2005-03-30  Daniel Jacobowitz  <dan@codesourcery.com>

* gdb/Makefile.in (arm-linux-nat.o): Update dependencies.
* gdb/arm-linux-nat.c: Include "gdb_assert.h".
(PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New flag.
(GET_THREAD_ID): Remove stray punctuation.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New functions.
(fetch_inferior_registers, store_inferior_registers): Call them.
(arm_linux_available_registers): New function.
* gdb/inftarg.c (child_xfer_partial): Handle
TARGET_OBJECT_AVAILABLE_REGISTERS.
* gdb/config/arm/nm-linux.h (arm_linux_available_registers): Add
prototype.
(NATIVE_XFER_AVAILABLE_REGISTERS): Define.

* gdb/gdbserver/linux-arm-low.c (arm_fill_wmmxregset)
(arm_store_wmmxregset): Remove stray text.
(arm_available_registers): Remove debugging output.  Use hex.
* gdb/gdbserver/regcache.c (num_registers): Make global.
* gdb/gdbserver/server.c (handle_p_packet, handle_P_packet): Check
the value of regnum.

2005-03-28  Paul Brook  <paul@codesourcery.com>
Daniel Jacobowitz  <dan@codesourcery.com>

* gdb/Makefile.in: arm-tdep.o depends on $(observer_h).
* gdb/arm-linux-nat.c (fetch_fpregister, fetch_fpregs,
store_fpregister, store_fpregs): Rename...
(fetch_fpa_register, fetch_fpa_regs, store_fpa_register,
store_fpa_regs): ... to this.
* gdb/arm-linux-tdep.c (arm_linux_init_abi): Provide ABI specific
overrides.
* gdb/arm-tdep.c: Include opserver.h.
(struct gdbarch_tdep_info): Add.
(arm_push_dummy_call): Handle doubleword alignment.
(arm_register_type): Handle iWMMXt and VFP regs.
(arm_register_byte): Ditto.
(arm_pseudo_register_read): New function.
(arm_pseudo_register_write): New function.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_sim_regno): Handle iWMMXT regs.
(arm_register_remote_regno): New function.
(arm_extract_return_value): Use new macro names.
(arm_register_name): Handle iWMMXt and VFP registers.
(arm_sim_available_registers): New function.
(arm_update_architecture): New function.
(arm_gdbarch_init): Handle optional register sets.  Register new
hooks.  Fix misleading error message.
(_initialize_arm_tdep): Call observer_attach_inferior_created.
* gdb/arm-tdep.h (ARM_NUM_FP_ARG_REGS, ARM_LAST_FP_ARG_REGNUM,
FP_REGISTER_SIZE, NUM_FREGS): Rename ...
(ARM_NUM_FPA_ARG_REGS, ARM_LAST_FPA_ARG_REGNUM, FPA_REGISTER_SIZE,
NUM_FPA_REGS): ... to this.
(NUM_IWMMXT_COP0REGS, NUM_IWMMXT_COP1REGS, NUM_IWMMXT_REGS,
IWMMXT_COP0_REGSIZE, IWMMXT_COP1_REGSIZE, NUM_VFP_XREGS,
VFP_XREG_SIZE, NUM_VFP_SREGS, VFP_SREG_SIZE, NUM_VFP_PSEUDOS): Define.
(struct gdbarch_tdep): Add target_has_iwmmxt_regs,
target_has_vfp_regs, first_iwmmxt_regnum, target_iwmmxt_regnum,
first_vfp_regnum, first_vfp_pseudo and target_vfp_regnum.
* gdb/gdbarch.c (struct gdbarch): Add remote_num_g_packet_regs,
sim_available_registers and register_remote_regno.
(startup_gdbarch, verify_gdbarch): Ditto.
(gdbarch_dump): Dump new fields.
(gdbarch_remote_num_g_packet_regs_p, gdbarch_remote_num_g_packet_regs,
set_gdbarch_remote_num_g_packet_regs,
gdbarch_sim_available_registers_p, gdbarch_sim_available_registers,
set_gdbarch_sim_available_registers, gdbarch_register_remote_regno_p,
gdbarch_register_remote_regno, set_gdbarch_register_remote_regno):
New functions.
* gdb/gdbarch.h: Add prototypes.
* gdb/gdbarch.sh: Add new fields.
(deprecated_current_gdbarch_select_hack): Call flush_cached_frames.
* gdb/remote-sim.h (gdbsim_create_inferior): Call
observer_notify_inferior_created.
(gdbsim_xfer_partial): New function.
(init_gdbsim_ops): Use it.
* gdb/remote.c (struct remote_state): Add num_g_regs.
(init_remote_state): Only consider hard regs.  Allow target to provide
register mapping.
(packet_reg_from_regnum): Don't check pseudo regs.
(packet_reg_from_pnum): Ditto.
(remote_protocol_qPart_availableRegisters): Add.
(set_remote_protocol_qPart_availableRegisters_packet_cmd,
show_remote_protocol_qPart_availableRegisters_packet_cmd): New
functions.
(fetch_register_using_p, store_register_using_P): Handle arbitrary
register mappings.
(fetch_registers_using_g): New function.
(remote_fetch_registers): Use it.
(store_registers_using_G): New function.
(remote_store_registers): Use it.
(remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_REGISTERS.
(show_remote_cmd): Display availableRegisters.
(_initialize_remote): Register qPart_availableRegisters.
* gdb/target.h (enum target_object): Add
TARGET_OBJECT_AVAILABLE_REGISTERS.
* gdb/gdbserver/configure.srv (arm*-*-linux*): set
srv_linux_regsets=yes.
* gdb/gdbserver/linux-arm-low.c (PTRACE_GETWMMXREGS,
PTRACE_SETWMMXREGS): Define.
(arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset,
arm_store_wmmxregset, arm_available_registers): New functions.
(target_regsets): Add.
(the_low_target): Use arm_available_registers.
* gdb/gdbserver/linux-low.c (linux_available_registers): New function.
(linux_target_op): Use it.
* gdb/gdbserver/linux-low.h (gdbserver/linux-low.h): Add
available_registers.
(use_regsets_p): Declare.
* gdb/gdbserver/regcache.c (g_register_bytes): Add.
(regcache_invalidate, registers_to_string, registers_from_string):
Use it.
(set_register_cache): Set g_register_bytes.
(supply_register_as_string): New function.
* gdb/gdbserver/regcache.h (supply_register_as_string): Add prototype.
* gdb/gdbserver/server.c (handle_query): Handle
qPart:availableRegisters.
(handle_p_packet, handle_P_packet): New functions.
(main): Handle 'p' and 'P' packets.
* gdb/gdbserver/target.h (struct target_ops): Add available_registers.
* gdb/regformats/reg-arm.dat: Add last_g_reg and iWMMXT regs.
* gdb/regformats/regdat.sh: Handle last_g_reg.
* gdb/regformats/regdef.h (set_register_cache): Update prototype.

16 years ago2005-04-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:35:48 +0000 (20 03:35 +0000)]
2005-04-29  Paul Brook  <paul@codesourcery.com>

* gdb/remote-sim.c (SIGTRAP): Provide default defnition.
* gdb/signals/signals.c (SIGRAP): Ditto.

16 years ago2005-04-25 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:35:18 +0000 (20 03:35 +0000)]
2005-04-25  Paul Brook  <paul@codesourcery.com>

* gdb/configure.tgt: Don't build rdi-share library.
* gdb/config/arm/embed.mt: Ditto.

16 years ago2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:34:53 +0000 (20 03:34 +0000)]
2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>

* gdb/Makefile.in (arm-linux-nat.o): Update dependencies.
* gdb/arm-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.

* gdb/gdbserver/Makefile.in (linux-arm-low.o): Update dependencies.
* gdb/gdbserver/linux-arm-low.c: Include "../gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.

16 years ago2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
Paul Brook [Thu, 20 Oct 2005 03:34:12 +0000 (20 03:34 +0000)]
2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>

* gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
special.

16 years agodaily updategdb-csl-arm-20051020-branchpoint
Alan Modra [Thu, 20 Oct 2005 00:09:01 +0000 (20 00:09 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 20 Oct 2005 00:00:05 +0000 (20 00:00 +0000)]
*** empty log message ***

16 years ago* elf32-arm.c (find_arm_elf_section_entry): New function.
Nick Clifton [Wed, 19 Oct 2005 15:40:23 +0000 (19 15:40 +0000)]
* elf32-arm.c (find_arm_elf_section_entry): New function.
  (get_arm_elf_section_data): Use it.
  (unrecord_section_with_arm_elf_section_data): Use it.

16 years ago * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
Martin Schwidefsky [Wed, 19 Oct 2005 15:05:10 +0000 (19 15:05 +0000)]
* s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
instructions.

16 years ago* m32r.opc (parse_slo16): Fix bad application of previous patch.
Nick Clifton [Wed, 19 Oct 2005 14:44:16 +0000 (19 14:44 +0000)]
* m32r.opc (parse_slo16): Fix bad application of previous patch.

16 years agodaily update
Alan Modra [Wed, 19 Oct 2005 00:00:05 +0000 (19 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 19 Oct 2005 00:00:02 +0000 (19 00:00 +0000)]
*** empty log message ***

16 years ago * bfin-dis.c (print_insn_bfin): Do proper endian transform when
Jie Zhang [Tue, 18 Oct 2005 16:39:41 +0000 (18 16:39 +0000)]
* bfin-dis.c (print_insn_bfin): Do proper endian transform when
reading instruction from memory.

16 years agom32r.opc (parse_slo16): Better version of previous patch.
Nick Clifton [Tue, 18 Oct 2005 07:53:17 +0000 (18 07:53 +0000)]
m32r.opc (parse_slo16): Better version of previous patch.

16 years ago2005-10-17 Jim Blandy <jimb@redhat.com>
Jim Blandy [Tue, 18 Oct 2005 00:04:11 +0000 (18 00:04 +0000)]
2005-10-17  Jim Blandy  <jimb@redhat.com>

* dwarf2expr.c (dwarf_expr_fetch): Use correct comparison to
detect stack underflow.

16 years ago*** empty log message ***
gdbadmin [Tue, 18 Oct 2005 00:00:33 +0000 (18 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 18 Oct 2005 00:00:06 +0000 (18 00:00 +0000)]
daily update

16 years ago2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Mon, 17 Oct 2005 22:16:54 +0000 (17 22:16 +0000)]
2005-10-17  Paul Gilliam  <pgilliam@us.ibm.com>

        * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
        vscr" tests to better match output.

16 years ago * configure.in (bfin-*-*): Use test, not brackets, in if statement.
Bernd Schmidt [Mon, 17 Oct 2005 12:54:34 +0000 (17 12:54 +0000)]
* configure.in (bfin-*-*): Use test, not brackets, in if statement.
* configure: Regenerate.

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

16 years ago*** empty log message ***
gdbadmin [Mon, 17 Oct 2005 00:00:03 +0000 (17 00:00 +0000)]
*** empty log message ***

16 years ago * hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes.
Dave Anglin [Sun, 16 Oct 2005 20:42:14 +0000 (16 20:42 +0000)]
* hppa.h (pa_opcodes): Add two fcmp opcodes.  Reorder ftest opcodes.
Add FLAG_STRICT to pa10 ftest opcode.

16 years agodaily update
Alan Modra [Sun, 16 Oct 2005 00:00:07 +0000 (16 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 16 Oct 2005 00:00:02 +0000 (16 00:00 +0000)]
*** empty log message ***

16 years ago2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Oct 2005 15:38:12 +0000 (15 15:38 +0000)]
2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

16 years agobfd/
H.J. Lu [Sat, 15 Oct 2005 14:57:55 +0000 (15 14:57 +0000)]
bfd/

2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* elf-bfd.h (_bfd_elf_match_sections_by_type): New.
(_bfd_generic_match_sections_by_type): New. Defined.

* elf.c (_bfd_elf_match_sections_by_type): New.

* libbfd-in.h (_bfd_generic_match_sections_by_type): New.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

* libbfd.c (_bfd_generic_match_sections_by_type): New.

* targets.c (BFD_JUMP_TABLE_LINK): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(bfd_target): Add _bfd_match_sections_by_type.

ld/

2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* emultempl/elf32.em: Include "elf-bfd.h".
(gld${EMULATION_NAME}_place_orphan): Check section type and
don't use section name for ELF input sections.

* ld.texinfo: Document orphan section processing.

* ldlang.c (lang_output_section_find_by_flags): Match section
types by calling bfd_match_sections_by_type.

16 years agodaily update
Alan Modra [Sat, 15 Oct 2005 00:00:05 +0000 (15 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 15 Oct 2005 00:00:04 +0000 (15 00:00 +0000)]
*** empty log message ***

16 years ago2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Fri, 14 Oct 2005 20:17:11 +0000 (14 20:17 +0000)]
2005-10-14  Paul Gilliam  <pgilliam@us.ibm.com>

        * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
        vector registers.

16 years agom32r.opc (parse_slo16): Do not assume a 32-bit host word size.
Nick Clifton [Fri, 14 Oct 2005 08:33:27 +0000 (14 08:33 +0000)]
m32r.opc (parse_slo16): Do not assume a 32-bit host word size.

16 years ago*** empty log message ***
gdbadmin [Fri, 14 Oct 2005 00:00:33 +0000 (14 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 14 Oct 2005 00:00:05 +0000 (14 00:00 +0000)]
daily update

16 years ago * Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).
Andreas Schwab [Thu, 13 Oct 2005 09:31:59 +0000 (13 09:31 +0000)]
* Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).

* linux-thread-db.c (enable_thread_event): Extend pointer value as
specified by target.
(thread_db_get_thread_local_address): Likewise.

16 years ago * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
Dave Anglin [Thu, 13 Oct 2005 02:26:34 +0000 (13 02:26 +0000)]
* gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
instructions from system.s.
* gas/hppa/basic/system.s (lha): Remove.

* hppa.h (pa_opcodes): Remove lha entries.

16 years ago*** empty log message ***
gdbadmin [Thu, 13 Oct 2005 00:00:37 +0000 (13 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 13 Oct 2005 00:00:07 +0000 (13 00:00 +0000)]
daily update

16 years ago2005-10-12 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 12 Oct 2005 17:56:41 +0000 (12 17:56 +0000)]
2005-10-12  Jim Blandy  <jimb@redhat.com>

* gdb.base/structs.exp (any): New function.
(test_struct_returns): Don't make any assumptions at all about
what value the function returns when GDB can't set the return
value.

16 years agodaily update
Alan Modra [Wed, 12 Oct 2005 00:00:05 +0000 (12 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 12 Oct 2005 00:00:02 +0000 (12 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 11 Oct 2005 00:00:05 +0000 (11 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 11 Oct 2005 00:00:03 +0000 (11 00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/arrayidx/p.adb: New file.
Joel Brobecker [Mon, 10 Oct 2005 01:14:36 +0000 (10 01:14 +0000)]
    * gdb.ada/arrayidx/p.adb: New file.
        * gdb.ada/arrayidx.exp: New testcase

16 years ago * gdb.ada/array_return/pck.ads: New file.
Joel Brobecker [Mon, 10 Oct 2005 01:11:51 +0000 (10 01:11 +0000)]
    * gdb.ada/array_return/pck.ads: New file.
        * gdb.ada/array_return/pck.adb: New file.
        * gdb.ada/array_return/p.adb: New file.
        * gdb.ada/array_return.exp: New testcase.

16 years ago * i386-tdep.c (i386_reg_struct_return_p): Allow array types as well.
Joel Brobecker [Mon, 10 Oct 2005 01:08:07 +0000 (10 01:08 +0000)]
    * i386-tdep.c (i386_reg_struct_return_p): Allow array types as well.
        (i386_return_value): Add handling for functions that return array
        types.

16 years ago * ada-valprint.c (print_optional_low_bound): Handle properly
Joel Brobecker [Mon, 10 Oct 2005 01:05:32 +0000 (10 01:05 +0000)]
    * ada-valprint.c (print_optional_low_bound): Handle properly
        cases where the array index type is a TYPE_CODE_RANGE.

16 years ago * valprint.c (val_print_array_elements): Check array size before
Joel Brobecker [Mon, 10 Oct 2005 01:03:59 +0000 (10 01:03 +0000)]
    * valprint.c (val_print_array_elements): Check array size before
        computing its low bound. If zero, then use a default bound of zero.

16 years ago*** empty log message ***
gdbadmin [Mon, 10 Oct 2005 00:00:33 +0000 (10 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 10 Oct 2005 00:00:05 +0000 (10 00:00 +0000)]
daily update

16 years ago * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
Kazu Hirata [Sun, 9 Oct 2005 16:35:55 +0000 (9 16:35 +0000)]
* configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
target-libffi, target-qthreads, target-libjava, and
targetlibobjc.
* configure: Regenerate.

16 years agodaily update
Alan Modra [Sun, 9 Oct 2005 00:00:04 +0000 (9 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 9 Oct 2005 00:00:03 +0000 (9 00:00 +0000)]
*** empty log message ***

16 years ago * config/tc-hppa.c (strict): Don't initialize. Update comment.
Dave Anglin [Sat, 8 Oct 2005 19:01:29 +0000 (8 19:01 +0000)]
* config/tc-hppa.c (strict): Don't initialize.  Update comment.
(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
found.  Simplify handling of "ma" and "mb" completers.

* hppa.h (FLAG_STRICT): Revise comment.
(pa_opcode): Revise ordering rules.  Add/move strict pa10 variants
before corresponding pa11 opcodes.  Add strict pa10 register-immediate
entries for "fdc".

16 years ago2005-10-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 8 Oct 2005 17:07:16 +0000 (8 17:07 +0000)]
2005-10-08  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.

16 years ago2005-10-08 James Lemke <jim@wasabisystems.com>
Richard Earnshaw [Sat, 8 Oct 2005 14:52:07 +0000 (8 14:52 +0000)]
2005-10-08  James Lemke  <jim@wasabisystems.com>

* arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP
operations.

16 years agodaily update
Alan Modra [Sat, 8 Oct 2005 00:00:06 +0000 (8 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 8 Oct 2005 00:00:05 +0000 (8 00:00 +0000)]
*** empty log message ***

16 years ago * at-file.texi: Fix typo.
Mark Mitchell [Fri, 7 Oct 2005 14:20:47 +0000 (7 14:20 +0000)]
* at-file.texi: Fix typo.

16 years ago*** empty log message ***
gdbadmin [Fri, 7 Oct 2005 00:00:34 +0000 (7 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 7 Oct 2005 00:00:07 +0000 (7 00:00 +0000)]
daily update

16 years agobfd/
Daniel Jacobowitz [Thu, 6 Oct 2005 19:21:14 +0000 (6 19:21 +0000)]
bfd/
* elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from
GCC.
(elf32_arm_size_dynamic_sections): Likewise.
* ecofflink.c (bfd_ecoff_debug_one_external): Likewise.
* elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count)
(ppc64_elf_size_dynamic_sections): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_size_dynamic_sections): Likewise.
* ieee.c (ieee_slurp_section_data): Likewise.
* oasys.c (oasys_slurp_section_data): Likewise.
opcodes/
* ppc-dis.c (struct dis_private): Remove.
(powerpc_dialect): Avoid aliasing warnings.
(print_insn_big_powerpc, print_insn_little_powerpc): Likewise.

16 years ago * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
Daniel Jacobowitz [Thu, 6 Oct 2005 15:24:36 +0000 (6 15:24 +0000)]
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP.
(OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET)
(USUAL_OBJDUMP_FOR_TARGET): New.
(EXTRA_TARGET_FLAGS): Add OBJDUMP.
* configure.in: Check for $OBJDUMP_FOR_TARGET.
* configure, Makefile: Regenerated.

16 years ago PR 1659
Alan Modra [Thu, 6 Oct 2005 00:22:57 +0000 (6 00:22 +0000)]
PR 1659
* rs6000-tdep.c (rs6000_push_dummy_call): Correct size of
backchain write.
(rs6000_convert_from_func_ptr_addr): Correct comment.

16 years ago*** empty log message ***
gdbadmin [Thu, 6 Oct 2005 00:00:32 +0000 (6 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 6 Oct 2005 00:00:04 +0000 (6 00:00 +0000)]
daily update

16 years ago * archive.c: Add missing SUBSECTION for documentation.
Bob Wilson [Wed, 5 Oct 2005 21:24:23 +0000 (5 21:24 +0000)]
    * archive.c: Add missing SUBSECTION for documentation.
        * bfd.c: Likewise.
        * cache.c: Likewise.
        * corefile.c: Likewise.
        * format.c: Likewise.
        * init.c: Likewise.
        * libbfd.c: Likewise.
        * opncls.c: Likewise.
        * elf.c: Remove blank line after SECTION heading.
        * reloc.c: Change "howto manager" SECTION to a SUBSECTION.

16 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 15:59:52 +0000 (5 15:59 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
before other host packages.

16 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 07:30:22 +0000 (5 07:30 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/22340

* configure.in (default_target): Remove.
* Makefile.tpl (all): Do not use prerequisites as subroutines
(all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet.
(do-[+make_target+], check, install, [+bootstrap_target+]): Do not
use prerequisites as subroutines.
(check-host, check-target): New.
(bootstrap configure & all targets): Do not use stage*-start
if the directory layout is already ok.
(non-bootstrap configure & all targets): Prepend a $(unstage).
(stage[+id+]-bubble): Do that here.  Do not use NOTPARALLEL.
(NOTPARALLEL): Remove.
(unstage, stage variables): New variables.
(unstage, stage targets): Simply expand to those variables.

* configure: Regenerate.
* Makefile.in: Regenerate.

16 years agoFix mips-elf --enable-libmudflap make -j2 failure.
Jim Wilson [Wed, 5 Oct 2005 01:19:36 +0000 (5 01:19 +0000)]
Fix mips-elf --enable-libmudflap make -j2 failure.
* Makefile.def (lang_env_dependencies): Add libmudflap.
* Makefile.in: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Wed, 5 Oct 2005 00:00:33 +0000 (5 00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 5 Oct 2005 00:00:05 +0000 (5 00:00 +0000)]
daily update

16 years ago* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
Nick Clifton [Tue, 4 Oct 2005 07:23:50 +0000 (4 07:23 +0000)]
* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
that the typical case of scanning for the previous section to last one can be
handled quickly.

16 years ago * at-file.texi: New file.
Mark Mitchell [Tue, 4 Oct 2005 05:34:17 +0000 (4 05:34 +0000)]
* at-file.texi: New file.

16 years ago * MAINTAINERS: Add section for release management.
Joel Brobecker [Tue, 4 Oct 2005 00:56:30 +0000 (4 00:56 +0000)]
    * MAINTAINERS: Add section for release management.

16 years ago * NEWS: Add entry for new "set print array-indexes" command.
Joel Brobecker [Tue, 4 Oct 2005 00:16:07 +0000 (4 00:16 +0000)]
    * NEWS: Add entry for new "set print array-indexes" command.

16 years agodaily update
Alan Modra [Tue, 4 Oct 2005 00:00:05 +0000 (4 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 4 Oct 2005 00:00:03 +0000 (4 00:00 +0000)]
*** empty log message ***

16 years ago * gdb.texinfo (Print Settings): Add documentation for set/show
Joel Brobecker [Mon, 3 Oct 2005 22:26:54 +0000 (3 22:26 +0000)]
    * gdb.texinfo (Print Settings): Add documentation for set/show
        print array-indexes.

16 years ago * elf32-xtensa.c (relocations_reach): Skip range check for
Bob Wilson [Mon, 3 Oct 2005 21:49:17 +0000 (3 21:49 +0000)]
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.

16 years ago * gdb.base/arrayidx.c: New file.
Joel Brobecker [Mon, 3 Oct 2005 21:28:04 +0000 (3 21:28 +0000)]
    * gdb.base/arrayidx.c: New file.
        * gdb.base/arrayidx.exp: New testcase.

16 years ago2005-10-03 Joel Brobecker <brobecker@adacore.com>
Joel Brobecker [Mon, 3 Oct 2005 21:21:20 +0000 (3 21:21 +0000)]
2005-10-03  Joel Brobecker  <brobecker@adacore.com>

        * language.h (language_defn): New field la_print_array_index.
        (LA_PRINT_ARRAY_INDEX): New macro.
        (default_print_array_index): Add declaration.
        * language.c (default_print_array_index): new function.
        (unknown_language): Add value for new field.
        (auto_language): Likewise.
        (local_language): Likewise.
        * ada-lang.c (ada_print_array_index): New function.
        (ada_language_defn): Add value for new field.
        * c-lang.c (c_language_defn): Likewise.
        (cpluc_language_defn): Likewise.
        (asm_language_defn): Likewise.
        (minimal_language_defn): Likewise.
        * f-lang.c (f_language_defn): Likewise.
        * jv-lang.c (java_language_defn): Likewise.
        * m2-lang.c (m2_language_defn): Likewise.
        * objc-lang.c (objc_language_defn): Likewise.
        * p-lang.c (pascal_language_defn): Likewise.
        * scm-lang.c (scm_language_defn): Likewise.
        * valprint.h (print_array_indexes_p): Add declaration.
        (get_array_low_bound): Add declaration.
        (maybe_print_array_index): Add declaration.
        * valprint.c (print_array_indexes): New static variable.
        (show_print_array_indexes): New function.
        (print_array_indexes_p): New function.
        (get_array_low_bound): New function.
        (maybe_print_array_index): New function.
        (val_print_array_elements): Print the index of each element if
        requested by the user.
        (_initialize_valprint): Add new array-indexes "set/show print" command.
        * ada-valprint.c (print_optional_low_bound): Replace extracted code
        by call to ada_get_array_low_bound_and_type(). Stop printing the low
        bound if indexes will be printed for all elements of the array.
        (val_print_packed_array_elements): Print the index of each element
        of the array if necessary.

16 years ago * hppa-tdep.c (read_unwind_info): Fix typo in comment.
Joel Brobecker [Mon, 3 Oct 2005 20:53:01 +0000 (3 20:53 +0000)]
    * hppa-tdep.c (read_unwind_info): Fix typo in comment.

16 years agoRegenerated with 2.13 version of autoconf.
Catherine Moore [Mon, 3 Oct 2005 15:35:57 +0000 (3 15:35 +0000)]
Regenerated with 2.13 version of autoconf.

16 years ago * configure.in (bfin-*-*): Support bfin.
Catherine Moore [Mon, 3 Oct 2005 15:11:13 +0000 (3 15:11 +0000)]
* configure.in (bfin-*-*): Support bfin.
* configure: Regenerated.

16 years agooops - delayed commit for addtion of Irish translation for gprof and opcodes
Nick Clifton [Mon, 3 Oct 2005 10:52:38 +0000 (3 10:52 +0000)]
oops - delayed commit for addtion of Irish translation for gprof and opcodes

16 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
Alan Modra [Mon, 3 Oct 2005 03:41:56 +0000 (3 03:41 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
synthetic syms.

16 years agodaily update
Alan Modra [Mon, 3 Oct 2005 00:00:05 +0000 (3 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 3 Oct 2005 00:00:02 +0000 (3 00:00 +0000)]
*** empty log message ***

16 years ago * gdb_gcore.sh: Use a temporary file. Use gdb from $PATH.
Daniel Jacobowitz [Sun, 2 Oct 2005 23:01:01 +0000 (2 23:01 +0000)]
* gdb_gcore.sh: Use a temporary file.  Use gdb from $PATH.

16 years ago*** empty log message ***
gdbadmin [Sun, 2 Oct 2005 03:00:02 +0000 (2 03:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 1 Oct 2005 00:00:08 +0000 (1 00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 1 Oct 2005 00:00:03 +0000 (1 00:00 +0000)]
*** empty log message ***

16 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 18:38:50 +0000 (30 18:38 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.