summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * gdb/regformats/regdat.sh: Include <stdlib.h>.gdb-csl-arm-20051020-branchcvs/gdb-csl-arm-20051020-branchDaniel Jacobowitz2006-01-262-0/+5
|
* Backport:Daniel Jacobowitz2006-01-2610-71/+63
| | | | | | | | | | | | | | 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. ...
* Backport:Daniel Jacobowitz2006-01-2624-56/+67
| | | | | | | | | | | 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. ...
* * gdb/gdbserver/linux-arm-low.c: Move #include below ELF_GREGSET_TDaniel Jacobowitz2006-01-252-6/+11
| | | | definition.
* * gdb/arm-tdep.c (thumb2_modify_constant): Silence compiler warning.Julian Brown2005-10-202-1/+8
| | | | (thumb_scan_prologue): Fix typo.
* * gdb/arm-tdep.c (bitcount): Move function higher up in file.Julian Brown2005-10-202-35/+235
| | | | | | (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.
* * gdb/arm-tdep.c (submask, bit, bits, sbits): Move macro definitions.Julian Brown2005-10-202-84/+185
| | | | | | | | | | | (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.
* 2005-10-20 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-202-1/+43
| | | | | | * arm-tdep.c (arm_iwmmxt_type): New. (arm_build_iwmmxt_type): New function. (arm_register_type): Use it.
* 2005-03-30 Daniel Jacobowitz <dan@codesourcery.com>Paul Brook2005-10-2025-156/+1480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2005-04-29 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-203-0/+13
| | | | | * gdb/remote-sim.c (SIGTRAP): Provide default defnition. * gdb/signals/signals.c (SIGRAP): Ditto.
* 2005-04-25 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-203-4/+10
| | | | | * gdb/configure.tgt: Don't build rdi-share library. * gdb/config/arm/embed.mt: Ditto.
* 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>Paul Brook2005-10-205-4/+64
| | | | | | | | | | | | * 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.
* 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>Paul Brook2005-10-20283-65594/+10
| | | | | * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers special.
* daily updategdb-csl-arm-20051020-branchpointAlan Modra2005-10-201-1/+1
|
* *** empty log message ***gdbadmin2005-10-201-1/+1
|
* * elf32-arm.c (find_arm_elf_section_entry): New function.Nick Clifton2005-10-192-29/+49
| | | | | (get_arm_elf_section_data): Use it. (unrecord_section_with_arm_elf_section_data): Use it.
* * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-addMartin Schwidefsky2005-10-192-0/+18
| | | | instructions.
* * m32r.opc (parse_slo16): Fix bad application of previous patch.Nick Clifton2005-10-192-5/+5
|
* daily updateAlan Modra2005-10-191-1/+1
|
* *** empty log message ***gdbadmin2005-10-191-1/+1
|
* * bfin-dis.c (print_insn_bfin): Do proper endian transform whenJie Zhang2005-10-182-3/+13
| | | | reading instruction from memory.
* m32r.opc (parse_slo16): Better version of previous patch.Nick Clifton2005-10-182-2/+6
|
* 2005-10-17 Jim Blandy <jimb@redhat.com>Jim Blandy2005-10-182-1/+6
| | | | | * dwarf2expr.c (dwarf_expr_fetch): Use correct comparison to detect stack underflow.
* *** empty log message ***gdbadmin2005-10-181-1/+1
|
* daily updateAlan Modra2005-10-181-1/+1
|
* 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2005-10-172-2/+7
| | | | | * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg vscr" tests to better match output.
* * configure.in (bfin-*-*): Use test, not brackets, in if statement.Bernd Schmidt2005-10-173-2/+7
| | | | * configure: Regenerate.
* daily updateAlan Modra2005-10-171-1/+1
|
* *** empty log message ***gdbadmin2005-10-171-1/+1
|
* * hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes.Dave Anglin2005-10-162-1/+8
| | | | Add FLAG_STRICT to pa10 ftest opcode.
* daily updateAlan Modra2005-10-161-1/+1
|
* *** empty log message ***gdbadmin2005-10-161-1/+1
|
* 2005-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-10-153-0/+13
| | | | | | | | | * 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.
* bfd/H.J. Lu2005-10-158-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* daily updateAlan Modra2005-10-151-1/+1
|
* *** empty log message ***gdbadmin2005-10-151-1/+1
|
* 2005-10-14 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam2005-10-142-0/+6
| | | | | * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for vector registers.
* m32r.opc (parse_slo16): Do not assume a 32-bit host word size.Nick Clifton2005-10-142-1/+5
|
* *** empty log message ***gdbadmin2005-10-141-1/+1
|
* daily updateAlan Modra2005-10-141-1/+1
|
* * Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).Andreas Schwab2005-10-133-5/+23
| | | | | | * linux-thread-db.c (enable_thread_event): Extend pointer value as specified by target. (thread_db_get_thread_local_address): Likewise.
* * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lhaDave Anglin2005-10-132-4/+6
| | | | | | | instructions from system.s. * gas/hppa/basic/system.s (lha): Remove. * hppa.h (pa_opcodes): Remove lha entries.
* *** empty log message ***gdbadmin2005-10-131-1/+1
|
* daily updateAlan Modra2005-10-131-1/+1
|
* 2005-10-12 Jim Blandy <jimb@redhat.com>Jim Blandy2005-10-122-13/+58
| | | | | | | * 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.
* daily updateAlan Modra2005-10-121-1/+1
|
* *** empty log message ***gdbadmin2005-10-121-1/+1
|
* daily updateAlan Modra2005-10-111-1/+1
|
* *** empty log message ***gdbadmin2005-10-111-1/+1
|
* * gdb.ada/arrayidx/p.adb: New file.Joel Brobecker2005-10-103-1/+198
| | | | * gdb.ada/arrayidx.exp: New testcase