Fix trace status to output username without trailing colon.
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 5b41f7a4cdcfe3d881554c04f6f3c82295d66743..781f91049cc20037cf5c9a564d475801b9f2a3f3 100644 (file)
@@ -1,3 +1,787 @@
+2013-06-10  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output user name without trailing colon.
+       * tracepoint.c (cmd_qtstatus): Remove unnecessary colon from user name.
+
+2013-06-10  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output proper start-time and stop-time.
+       * tracepoint.c (cmd_qtstatus): Modify trace-status output to
+       output start time and stop time in hex as gdb expects.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (build_traceframe_info_xml): Output trace state
+       variables present in the trace buffer.
+
+2013-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use bfd/version.h, common/version.in,
+       create-version.sh.
+       (version.o): Remove.
+       * gdbreplay.c: Include version.h.
+       (version, host_name): Don't declare.
+       * server.h: Include version.h.
+       (version, host_name): Don't declare.
+
+2013-06-12  Pedro Alves  <palves@redhat.com>
+
+       * linux-x86-low.c (linux_is_elf64): Delete global.
+       (x86_siginfo_fixup): Replace reference to `linux_is_elf64' global
+       with local linux_pid_exe_is_elf_64_file use.
+
+2013-06-11  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (regset_disabled, disable_regset): New functions.
+       (regsets_fetch_inferior_registers)
+       (regsets_store_inferior_registers): Use them.
+       (initialize_regsets_info); Don't allocate the disabled_regsets
+       array here.
+       * linux-low.h (struct regsets_info) <disabled_regsets>: Extend
+       comment.
+
+2013-06-11  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (initialize_regsets_info): Use xcalloc instead of
+       xmalloc.
+
+2013-06-11  Pedro Alves  <palves@redhat.com>
+
+       * linux-x86-low.c (initialize_low_arch): Call
+       init_registers_x32_avx_linux.
+
+2013-06-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with Android Bionic.
+       * linux-low.c (linux_qxfer_libraries_svr4): Ignore first entry even if
+       it is not empty.
+
+2013-06-07  Pedro Alves  <palves@redhat.com>
+
+       PR server/14823
+       * Makefile.in (OBS): Add tdesc.o.
+       (IPA_OBJS): Add tdesc-ipa.o.
+       (tdesc-ipa.o): New rule.
+       * ax.c (gdb_eval_agent_expr): Adjust register_size call to new
+       interface.
+       * linux-low.c (new_inferior): Delete.
+       (disabled_regsets, num_regsets): Delete.
+       (linux_add_process): Adjust to set the new per-process
+       new_inferior flag.
+       (linux_detach_one_lwp): Adjust to call regcache_invalidate_thread.
+       (linux_wait_for_lwp): Adjust.  Only call arch_setup if the event
+       was a stop.  When calling arch_setup, switch the current inferior
+       to the thread that got an event.
+       (linux_resume_one_lwp): Adjust to call regcache_invalidate_thread.
+       (regsets_fetch_inferior_registers)
+       (regsets_store_inferior_registers): New regsets_info parameter.
+       Adjust to use it.
+       (linux_register_in_regsets): New regs_info parameter.  Adjust to
+       use it.
+       (register_addr, fetch_register, store_register): New usrregs_info
+       parameter.  Adjust to use it.
+       (usr_fetch_inferior_registers, usr_store_inferior_registers): New
+       parameter regs_info.  Adjust to use it.
+       (linux_fetch_registers): Get the current inferior's regs_info, and
+       adjust to use it.
+       (linux_store_registers): Ditto.
+       [HAVE_LINUX_REGSETS] (initialize_regsets_info): New.
+       (initialize_low): Don't initialize the target_regsets here.  Call
+       initialize_low_arch.
+       * linux-low.h (target_regsets): Delete declaration.
+       (struct regsets_info): New.
+       (struct usrregs_info): New.
+       (struct regs_info): New.
+       (struct process_info_private) <new_inferior>: New field.
+       (struct linux_target_ops): Delete the num_regs, regmap, and
+       regset_bitmap fields.  New field regs_info.
+       [HAVE_LINUX_REGSETS] (initialize_regsets_info): Declare.
+       * i387-fp.c (num_xmm_registers): Delete.
+       (i387_cache_to_fsave, i387_fsave_to_cache): Adjust find_regno
+       calls to new interface.
+       (i387_cache_to_fxsave, i387_cache_to_xsave, i387_fxsave_to_cache)
+       (i387_xsave_to_cache): Adjust find_regno calls to new interface.
+       Infer the number of xmm registers from the regcache's target
+       description.
+       * i387-fp.h (num_xmm_registers): Delete.
+       * inferiors.c (add_thread): Don't install the thread's regcache
+       here.
+       * proc-service.c (gregset_info): Fetch the current inferior's
+       regs_info.  Adjust to use it.
+       * regcache.c: Include tdesc.h.
+       (register_bytes, reg_defs, num_registers)
+       (gdbserver_expedite_regs): Delete.
+       (get_thread_regcache): If the thread doesn't have a regcache yet,
+       create one, instead of aborting gdbserver.
+       (regcache_invalidate_one): Rename to ...
+       (regcache_invalidate_thread): ... this.
+       (regcache_invalidate_one): New.
+       (regcache_invalidate): Only invalidate registers of the current
+       process.
+       (init_register_cache): Add target_desc parameter, and use it.
+       (new_register_cache): Ditto.  Assert the target description has a
+       non zero registers_size.
+       (regcache_cpy): Add assertions.  Adjust.
+       (realloc_register_cache, set_register_cache): Delete.
+       (registers_to_string, registers_from_string): Adjust.
+       (find_register_by_name, find_regno, find_register_by_number)
+       (register_cache_size): Add target_desc parameter, and use it.
+       (free_register_cache_thread, free_register_cache_thread_one)
+       (regcache_release, register_cache_size): New.
+       (register_size): Add target_desc parameter, and use it.
+       (register_data, supply_register, supply_register_zeroed)
+       (supply_regblock, supply_register_by_name, collect_register)
+       (collect_register_as_string, collect_register_by_name): Adjust.
+       * regcache.h (struct target_desc): Forward declare.
+       (struct regcache) <tdesc>: New field.
+       (init_register_cache, new_register_cache): Add target_desc
+       parameter.
+       (regcache_invalidate_thread): Declare.
+       (regcache_invalidate_one): Delete declaration.
+       (regcache_release): Declare.
+       (find_register_by_number, register_cache_size, register_size)
+       (find_regno): Add target_desc parameter.
+       (gdbserver_expedite_regs, gdbserver_xmltarget): Delete
+       declarations.
+       * remote-utils.c: Include tdesc.h.
+       (outreg, prepare_resume_reply): Adjust.
+       * server.c: Include tdesc.h.
+       (gdbserver_xmltarget): Delete declaration.
+       (get_features_xml, process_serial_event): Adjust.
+       * server.h [IN_PROCESS_AGENT] (struct target_desc): Forward
+       declare.
+       (struct process_info) <tdesc>: New field.
+       (ipa_tdesc): Declare.
+       * tdesc.c: New file.
+       * tdesc.h: New file.
+       * tracepoint.c: Include tdesc.h.
+       [IN_PROCESS_AGENT] (ipa_tdesc): Define.
+       (get_context_regcache): Adjust to pass ipa_tdesc down.
+       (do_action_at_tracepoint): Adjust to get the register cache size
+       from the context regcache's description.
+       (traceframe_walk_blocks): Adjust to get the register cache size
+       from the current trace frame's description.
+       (traceframe_get_pc): Adjust to get current trace frame's
+       description and pass it down.
+       (gdb_collect): Adjust to get the register cache size from the
+       IPA's description.
+       * linux-amd64-ipa.c (tdesc_amd64_linux): Declare.
+       (gdbserver_xmltarget): Delete.
+       (initialize_low_tracepoint): Set the ipa's target description.
+       * linux-i386-ipa.c (tdesc_i386_linux): Declare.
+       (initialize_low_tracepoint): Set the ipa's target description.
+       * linux-x86-low.c: Include tdesc.h.
+       [__x86_64__] (is_64bit_tdesc): New.
+       (ps_get_thread_area, x86_get_thread_area): Use it.
+       (i386_cannot_store_register): Rename to ...
+       (x86_cannot_store_register): ... this.  Use is_64bit_tdesc.
+       (i386_cannot_fetch_register): Rename to ...
+       (x86_cannot_fetch_register): ... this.  Use is_64bit_tdesc.
+       (x86_fill_gregset, x86_store_gregset): Adjust register_size calls
+       to new interface.
+       (target_regsets): Rename to ...
+       (x86_regsets): ... this.
+       (x86_get_pc, x86_set_pc): Adjust register_size calls to new
+       interface.
+       (x86_siginfo_fixup): Use is_64bit_tdesc.
+       [__x86_64__] (tdesc_amd64_linux, tdesc_amd64_avx_linux)
+       (tdesc_x32_avx_linux, tdesc_x32_linux)
+       (tdesc_i386_linux, tdesc_i386_mmx_linux, tdesc_i386_avx_linux):
+       Declare.
+       (x86_linux_update_xmltarget): Delete.
+       (I386_LINUX_XSAVE_XCR0_OFFSET): Define.
+       (have_ptrace_getfpxregs, have_ptrace_getregset): New.
+       (AMD64_LINUX_USER64_CS): New.
+       (x86_linux_read_description): New, based on
+       x86_linux_update_xmltarget.
+       (same_process_callback): New.
+       (x86_arch_setup_process_callback): New.
+       (x86_linux_update_xmltarget): New.
+       (x86_regsets_info): New.
+       (amd64_linux_regs_info): New.
+       (i386_linux_usrregs_info): New.
+       (i386_linux_regs_info): New.
+       (x86_linux_regs_info): New.
+       (x86_arch_setup): Reimplement.
+       (x86_install_fast_tracepoint_jump_pad): Use is_64bit_tdesc.
+       (x86_emit_ops): Ditto.
+       (the_low_target): Adjust.  Install x86_linux_regs_info,
+       x86_cannot_fetch_register, and x86_cannot_store_register.
+       (initialize_low_arch): New.
+       * linux-ia64-low.c (tdesc_ia64): Declare.
+       (ia64_fetch_register): Adjust.
+       (ia64_usrregs_info, regs_info): New globals.
+       (ia64_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-sparc-low.c (tdesc_sparc64): Declare.
+       (sparc_fill_gregset_to_stack, sparc_store_gregset_from_stack):
+       Adjust.
+       (sparc_arch_setup): New function.
+       (sparc_regsets_info, sparc_usrregs_info, regs_info): New globals.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-ppc-low.c (tdesc_powerpc_32l, tdesc_powerpc_altivec32l)
+       (tdesc_powerpc_cell32l, tdesc_powerpc_vsx32l)
+       (tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_altivec32l)
+       (tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_e500l)
+       (tdesc_powerpc_64l, tdesc_powerpc_altivec64l)
+       (tdesc_powerpc_cell64l, tdesc_powerpc_vsx64l)
+       (tdesc_powerpc_isa205_64l, tdesc_powerpc_isa205_altivec64l)
+       (tdesc_powerpc_isa205_vsx64l): Declare.
+       (ppc_cannot_store_register, ppc_collect_ptrace_register)
+       (ppc_supply_ptrace_register, parse_spufs_run, ppc_get_pc)
+       (ppc_set_pc, ppc_get_hwcap): Adjust.
+       (ppc_usrregs_info): Forward declare.
+       (!__powerpc64__) ppc_regmap_adjusted: New global.
+       (ppc_arch_setup): Adjust to the current process'es target
+       description.
+       (ppc_fill_vsxregset, ppc_store_vsxregset, ppc_fill_vrregset)
+       (ppc_store_vrregset, ppc_fill_evrregset, ppc_store_evrregse)
+       (ppc_store_evrregset): Adjust.
+       (target_regsets): Rename to ...
+       (ppc_regsets): ... this, and make static.
+       (ppc_usrregs_info, ppc_regsets_info, regs_info): New globals.
+       (ppc_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-s390-low.c (tdesc_s390_linux32, tdesc_s390_linux32v1)
+       (tdesc_s390_linux32v2, tdesc_s390_linux64, tdesc_s390_linux64v1)
+       (tdesc_s390_linux64v2, tdesc_s390x_linux64, tdesc_s390x_linux64v1)
+       (tdesc_s390x_linux64v2): Declare.
+       (s390_collect_ptrace_register, s390_supply_ptrace_register)
+       (s390_fill_gregset, s390_store_last_break): Adjust.
+       (target_regsets): Rename to ...
+       (s390_regsets): ... this, and make static.
+       (s390_get_pc, s390_set_pc): Adjust.
+       (s390_get_hwcap): New target_desc parameter, and use it.
+       [__s390x__] (have_hwcap_s390_high_gprs): New global.
+       (s390_arch_setup): Adjust to set the current process'es target
+       description.  Don't adjust the regmap.
+       (s390_usrregs_info, s390_regsets_info, regs_info): New globals.
+       [__s390x__] (s390_usrregs_info_3264, s390_regsets_info_3264)
+       (regs_info_3264): New globals.
+       (s390_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-mips-low.c (tdesc_mips_linux, tdesc_mips_dsp_linux)
+       (tdesc_mips64_linux, tdesc_mips64_dsp_linux): Declare.
+       [__mips64] (init_registers_mips_linux)
+       (init_registers_mips_dsp_linux): Delete defines.
+       [__mips64] (tdesc_mips_linux, tdesc_mips_dsp_linux): New defines.
+       (have_dsp): New global.
+       (mips_read_description): New, based on mips_arch_setup.
+       (mips_arch_setup): Reimplement.
+       (get_usrregs_info): New function.
+       (mips_cannot_fetch_register, mips_cannot_store_register)
+       (mips_get_pc, mips_set_pc, mips_fill_gregset, mips_store_gregset)
+       (mips_fill_fpregset, mips_store_fpregset): Adjust.
+       (target_regsets): Rename to ...
+       (mips_regsets): ... this, and make static.
+       (mips_regsets_info, mips_dsp_usrregs_info, mips_usrregs_info)
+       (dsp_regs_info, regs_info): New globals.
+       (mips_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-arm-low.c (tdesc_arm, tdesc_arm_with_iwmmxt)
+       (tdesc_arm_with_vfpv2, tdesc_arm_with_vfpv3, tdesc_arm_with_neon):
+       Declare.
+       (arm_fill_vfpregset, arm_store_vfpregset): Adjust.
+       (arm_read_description): New, with bits factored from
+       arm_arch_setup.
+       (arm_arch_setup): Reimplement.
+       (target_regsets): Rename to ...
+       (arm_regsets): ... this, and make static.
+       (arm_regsets_info, arm_usrregs_info, regs_info): New globals.
+       (arm_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-m68k-low.c (tdesc_m68k): Declare.
+       (target_regsets): Rename to ...
+       (m68k_regsets): ... this, and make static.
+       (m68k_regsets_info, m68k_usrregs_info, regs_info): New globals.
+       (m68k_regs_info): New function.
+       (m68k_arch_setup): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-sh-low.c (tdesc_sharch): Declare.
+       (target_regsets): Rename to ...
+       (sh_regsets): ... this, and make static.
+       (sh_regsets_info, sh_usrregs_info, regs_info): New globals.
+       (sh_regs_info, sh_arch_setup): New functions.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-bfin-low.c (tdesc_bfin): Declare.
+       (bfin_arch_setup): New function.
+       (bfin_usrregs_info, regs_info): New globals.
+       (bfin_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-cris-low.c (tdesc_cris): Declare.
+       (cris_arch_setup): New function.
+       (cris_usrregs_info, regs_info): New globals.
+       (cris_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-cris-low.c (tdesc_crisv32): Declare.
+       (cris_arch_setup): New function.
+       (cris_regsets_info, cris_usrregs_info, regs_info): New globals.
+       (cris_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-m32r-low.c (tdesc_m32r): Declare.
+       (m32r_arch_setup): New function.
+       (m32r_usrregs_info, regs_info): New globals.
+       (m32r_regs_info): Adjust.
+       (initialize_low_arch): New function.
+       * linux-tic6x-low.c (tdesc_tic6x_c64xp_linux)
+       (tdesc_tic6x_c64x_linux, tdesc_tic6x_c62x_linux): Declare.
+       (tic6x_usrregs_info): Forward declare.
+       (tic6x_read_description): New function, based on ...
+       (tic6x_arch_setup): ... this.  Reimplement.
+       (target_regsets): Rename to ...
+       (tic6x_regsets): ... this, and make static.
+       (tic6x_regsets_info, tic6x_usrregs_info, regs_info): New globals.
+       (tic6x_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-xtensa-low.c (tdesc_xtensa): Declare.
+       (xtensa_fill_gregset, xtensa_store_gregset): Adjust.
+       (target_regsets): Rename to ...
+       (xtensa_regsets): ... this, and make static.
+       (xtensa_regsets_info, xtensa_usrregs_info, regs_info): New
+       globals.
+       (xtensa_arch_setup, xtensa_regs_info): New functions.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * linux-nios2-low.c (tdesc_nios2_linux): Declare.
+       (nios2_arch_setup): Set the current process'es tdesc.
+       (target_regsets): Rename to ...
+       (nios2_regsets): ... this.
+       (nios2_regsets_info, nios2_usrregs_info, regs_info): New globals.
+       (nios2_regs_info): New function.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+        * linux-aarch64-low.c (tdesc_aarch64): Declare.
+        (aarch64_arch_setup): Set the current process'es tdesc.
+        (target_regsets): Rename to ...
+        (aarch64_regsets): ... this.
+        (aarch64_regsets_info, aarch64_usrregs_info, regs_info): New globals.
+        (aarch64_regs_info): New function.
+        (the_low_target): Adjust.
+        (initialize_low_arch): New function.
+       * linux-tile-low.c (tdesc_tilegx, tdesc_tilegx32): Declare
+       globals.
+       (target_regsets): Rename to ...
+       (tile_regsets): ... this.
+       (tile_regsets_info, tile_usrregs_info, regs_info): New globals.
+       (tile_regs_info): New function.
+       (tile_arch_setup): Set the current process'es tdesc.
+       (the_low_target): Adjust.
+       (initialize_low_arch): New function.
+       * spu-low.c (tdesc_spu): Declare.
+       (spu_create_inferior, spu_attach): Set the new process'es tdesc.
+       * win32-arm-low.c (tdesc_arm): Declare.
+       (arm_arch_setup): New function.
+       (the_low_target): Install arm_arch_setup instead of
+       init_registers_arm.
+       * win32-i386-low.c (tdesc_i386, tdesc_amd64): Declare.
+       (init_windows_x86): Rename to ...
+       (i386_arch_setup): ... this.  Set `win32_tdesc'.
+       (the_low_target): Adjust.
+       * win32-low.c (win32_tdesc): New global.
+       (child_add_thread): Don't create the thread cache here.
+       (do_initial_child_stuff): Set the new process'es tdesc.
+       * win32-low.h (struct target_desc): Forward declare.
+       (win32_tdesc): Declare.
+       * lynx-i386-low.c (tdesc_i386): Declare global.
+       (lynx_i386_arch_setup): Set `lynx_tdesc'.
+       * lynx-low.c (lynx_tdesc): New global.
+       (lynx_add_process): Set the new process'es tdesc.
+       * lynx-low.h (struct target_desc): Forward declare.
+       (lynx_tdesc): Declare global.
+       * lynx-ppc-low.c (tdesc_powerpc_32): Declare global.
+       (lynx_ppc_arch_setup): Set `lynx_tdesc'.
+       * nto-low.c (nto_tdesc): New global.
+       (do_attach): Set the new process'es tdesc.
+       * nto-low.h (struct target_desc): Forward declare.
+       (nto_tdesc): Declare.
+       * nto-x86-low.c (tdesc_i386): Declare.
+       (nto_x86_arch_setup): Set `nto_tdesc'.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+       * server.c (handle_query): Add "augmented-libraries-svr4-read+"
+       to qSupported response when appropriate.
+       (handle_qxfer_libraries_svr4): Allow qXfer:libraries-svr4:read
+       with nonzero-length annex.
+       * linux-low.c (linux_qxfer_libraries_svr4): Parse and handle
+       arguments supplied in annex.
+
+2013-05-31  Doug Evans  <dje@google.com>
+
+       PR server/15594
+       * linux-x86-low.c (ps_get_thread_area): Properly extend address to
+       64 bits in 64-cross-32 environment.
+
+2013-05-28  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (clean): Remove reference to aarch64-without-fpu.c.
+       (aarch64-without-fpu.c): Delete rule.
+       * configure.srv (aarch64*-*-linux*): Remove references to
+       aarch64-without-fpu.o and aarch64-without-fpu.xml.
+       * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove
+       declaration.
+
+2013-05-24  Pedro Alves  <palves@redhat.com>
+
+       * server.c (handle_v_cont) <vCont;r>: Use unpack_varlen_hex
+       instead of strchr/decode_address.  Error if the range isn't split
+       with a ','.  Don't assume there's be a ':' in the action.
+
+2013-05-23  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (lwp_in_step_range): New function.
+       (linux_wait_1): If the thread was range stepping and stopped
+       outside the stepping range, report the stop to GDB.  Otherwise,
+       continue stepping.  Add range stepping debug output.
+       (linux_set_resume_request): Copy the step range from the resume
+       request to the lwp.
+       (linux_supports_range_stepping): New.
+       (linux_target_ops) <supports_range_stepping>: Set to
+       linux_supports_range_stepping.
+       * linux-low.h (struct linux_target_ops)
+       <supports_range_stepping>: New field.
+       (struct lwp_info) <step_range_start, step_range_end>: New fields.
+       * linux-x86-low.c (x86_supports_range_stepping): New.
+       (the_low_target) <supports_range_stepping>: Set to
+       x86_supports_range_stepping.
+       * server.c (handle_v_cont): Handle 'r' action.
+       (handle_v_requests): Append ";r" if the target supports range
+       stepping.
+       * target.h (struct thread_resume) <step_range_start,
+       step_range_end>: New fields.
+       (struct target_ops) <supports_range_stepping>:
+       New field.
+       (target_supports_range_stepping): New macro.
+
+2013-05-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_resume): Fix null_ptid/minus_one_ptid
+       confusion in comment.
+
+2013-05-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (struct process_info_private): New type.
+       (lynx_add_process): New function.
+       (lynx_create_inferior, lynx_attach): Replace calls to
+       add_process by calls to lynx_add_process.
+       (lynx_resume): If PTID is null, then try using
+       current_process()->private->last_wait_event_ptid.
+       Add comments.
+       (lynx_clear_inferiors): Delete.  The contents of that function
+       has been inlined in lynx_mourn;
+       (lynx_wait_1): Save the ptid in the process's private data.
+       (lynx_mourn): Free the process' private data.  Replace call
+       to lynx_clear_inferiors by call to clear_inferiors.
+
+2013-05-17  Yao Qi  <yao@codesourcery.com>
+
+       * i386-low.c (i386_length_and_rw_bits): Move the comment to
+       the right place.
+
+2013-05-16  Luis Machado  <lgustavo@codesourcery.com>
+
+       * linux-low.c: Move definition checks upwards for PT_TEXT_ADDR,
+       PT_DATA_ADDR and PT_TEXT_END_ADDR.  Update comments.
+       (linux_read_offsets): Remove PT_TEXT_ADDR, PT_DATA_ADDR and
+       PT_TEXT_END_ADDR guards.  Update comments.
+       (linux_target_op) <read_offsets>: Conditionally define to
+       linux_read_offsets if the target is UCLIBC and if it defines
+       PT_TEXT_ADDR, PT_DATA_ADDR and PT_TEXT_END_ADDR.
+
+2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner  <andrew@codesourcery.com>
+
+       * Makefile.in (SFILES): Add linux-nios2-low.c.
+       (clean): Add action to delete nios2-linux.c.
+       (nios2-linux.c): New rule.
+       * configure.srv: Add nios2*-*-linux*.
+       * linux-nios2-low.c: New.
+
+2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * tracepoint.c (cmd_qtinit): Call 'stop_tracing'.
+
+2013-04-25  Hui Zhu  <hui@codesourcery.com>
+
+       PR gdb/15186
+       * ax.c (ax_printf): Add fflush.
+
+2013-04-22  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (SFILES): Add filestuff.c.
+       (OBS): Add filestuff.o.
+       (filestuff.o): New target.
+       * config.in, configure: Rebuild.
+       * configure.ac: Check for fdwalk, pipe2.
+
+2013-04-17  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac (USE_THREAD_DB): Delete variable.
+       (if test "$srv_linux_thread_db" = "yes"): AC_DEFINE USE_THREAD_DB.
+       Don't AC_SUBST USE_THREAD_DB.
+       * Makefile.in (INTERNAL_CFLAGS): Remove @USE_THREAD_DB@.
+       * config.in, configure: Regenerate.
+
+2013-04-16  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.h (struct lwp_info) <thread_known>: Move under
+       the USE_THREAD_DB #ifdef.
+
+2013-04-16  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (INTERNAL_CFLAGS): Add @USE_THREAD_DB@.
+       (linux-low.o): Delete rule.
+       * linux-low.h: Always include "gdb_thread_db.h" instead of
+       conditionally including thread_db.h.
+       (struct lwp_info) <th>: Guard with #ifdef USE_THREAD_DB instead of
+       HAVE_THREAD_DB_H.
+
+2013-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in (install-only): Fix make install regression.
+
+2013-04-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Convert man pages to texinfo, new gdbinit.5 texinfo page.
+       * Makefile.in (install-only): Remove $(man1dir) and gdbserver.1
+       installation.
+       * gdbserver.1: Remove.
+
+2013-03-22  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Don't call
+       linux_enable_event_reporting.
+
+2013-03-15  Tony Theodore  <tonyt@logyst.com>
+
+       PR build/9098:
+       * Makefile.in (SHELL): Use @SHELL@.
+
+2013-03-14  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * tracepoint.c (cmd_qtv): Initialize `val' with zero, silencing
+       compiler warning.
+
+2013-03-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]:
+       Remove extraneous NULL element.
+
+2013-03-13  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (traceframe_read_tsv): Look for the last matched
+       'V' block in trace frame.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (struct target_ops): Add btrace ops.
+       (target_supports_btrace): New macro.
+       (target_enable_btrace): New macro.
+       (target_disable_btrace): New macro.
+       (target_read_btrace): New macro.
+       * gdbthread.h (struct thread_info): Add btrace field.
+       * server.c: Include btrace-common.h.
+       (handle_btrace_general_set): New function.
+       (handle_btrace_enable): New function.
+       (handle_btrace_disable): New function.
+       (handle_general_set): Call handle_btrace_general_set.
+       (handle_qxfer_btrace): New function.
+       (struct qxfer qxfer_packets[]): Add btrace entry.
+       * inferiors.c (remove_thread): Disable btrace.
+       * linux-low: Include linux-btrace.h.
+       (linux_low_enable_btrace): New function.
+       (linux_low_read_btrace): New function.
+       (linux_target_ops): Add btrace ops.
+       * configure.srv (i[34567]86-*-linux*): Add linux-btrace.o.
+       Add srv_linux_btrace=yes.
+       (x86_64-*-linux*): Add linux-btrace.o.
+       Add srv_linux_btrace=yes.
+       * configure.ac: Define HAVE_LINUX_BTRACE.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * server.c (handle_qxfer): Preserve error message if -3 is
+       returned.
+       (qxfer): Document the -3 return value.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * Makefile.in (SFILES): Add $(srcdir)/common/linux-btrace.c.
+       (linux_btrace_h): New variable.
+       (linux-btrace.o): New rule.
+
+2013-03-08  Stan Shebs  <stan@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * tracepoint.c (trace_buffer_size): New global.
+       (DEFAULT_TRACE_BUFFER_SIZE): New define.
+       (init_trace_buffer): Change to one-argument function. Allocate
+       trace buffer memory.
+       (handle_tracepoint_general_set): Call cmd_bigqtbuffer_size to
+       handle QTBuffer:size packet.
+       (cmd_bigqtbuffer_size): New function.
+       (initialize_tracepoint): Call init_trace_buffer with
+       DEFAULT_TRACE_BUFFER_SIZE.
+       * server.c (handle_query): Add QTBuffer:size in the
+       supported packets.
+
+2013-03-07  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cur_action, cur_step_action): Make them unsigned.
+       (cmd_qtfp): Initialize cur_action and cur_step_action 0 instead
+       of -1.
+       (cmd_qtsp): Adjust condition.  Do post increment.
+       Set cur_action and cur_step_action back to 0.
+
+2013-03-07  Jeremy Bennett  <jeremy.bennett@embecosm.com>
+
+       PR server/15236
+       * linux-low.c (linux_write_memory): Return early success if LEN is
+       zero.
+
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+       * configure.srv: Add x86_64-*-cygwin* as target.
+
+2013-02-28  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac: Invoke AC_SYS_LARGEFILE.
+       * configure, config.in: Rebuild.
+
+2013-02-28  Corinna Vinschen  <vinschen@redhat.com>
+
+       * win32-low.c: Throughout, fix format strings and casts of
+       printf-like functions to avoid type related warnings on all
+       platforms.
+       (get_child_debug_event): Print dwDebugEventCode as hex since
+       that's how it's usually documented.
+
+2013-02-28  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of
+       pulongest.
+
+2013-02-27  Jiong Wang  <jiwang@tilera.com>
+
+       * Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c.
+       (reg-tilegx32.c): New rule.
+       * configure.srv (tilegx-*-linux*): Add reg-tilegx32.o to srv_regobj.
+       * linux-tile-low.c (tile_arch_setup): New function.  Invoke
+       different register info initializer according to elf class.
+       (init_registers_tilgx32): New function.  The tilegx32 register info
+       initializer.
+       (tile_fill_gregset): Use "uint_reg_t" to represent register size.
+       (tile_store_gregset): Likewise.
+
+2013-02-27  Yao Qi  <yao@codesourcery.com>
+
+       * server.c (process_point_options): Print debug message when
+       debug_threads is true.
+
+2013-02-26  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
+
+2013-02-19  Pedro Alves  <palves@redhat.com>
+           Kai Tietz <ktietz@redhat.com>
+
+       PR gdb/15161
+
+       * server.c (handle_query) <CRC check>: Use unpack_varlen_hex
+       instead of strtoul to extract address from packet.
+       (process_serial_event) <'z'>: Likewise.
+
+2013-02-18  Yao Qi  <yao@codesourcery.com>
+
+       * linux-bfin-low.c (the_low_target): Use NULL instead of 0.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       Plug memory leak.
+
+       * tracepoint.c (cmd_qtnotes): Free TRACING_USER_NAME,
+       TRACING_NOTES and TRACING_STOP_NOTE before clobbering.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (cmd_qtdpsrc): Use savestring.
+
+2013-02-14  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (save_string): Delete.
+       (add_tracepoint_action): Use savestring instead of save_string.
+
+2013-02-12  Pedro Alves  <palves@redhat.com>
+
+       * linux-xtensa-low.c: Ditto.
+       * xtensa-xtregs.c: Ditto.
+
+2013-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * thread-db.c (thread_db_get_tls_address): NULL pointer check
+       thread_db.
+
+2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-aarch64-low.c (aarch64_arch_setup): Clamp
+       aarch64_num_wp_regs and aarch64_num_bp_regs to
+       AARCH64_HWP_MAX_NUM and AARCH64_HBP_MAX_NUM respectively.
+
+2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-aarch64-low.c (ps_get_thread_area): Replace
+       PTRACE_GET_THREAD_AREA with PTRACE_GETREGSET.
+
+2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * Makefile.in (clean): Remove aarch64.c and aarch64-without-fpu.c.
+       (aarch64.c, aarch64-without-fpu.c): New targets.
+       * configure.srv (aarch64*-*-linux*): New.
+       * linux-aarch64-low.c: New file.
+
+2013-02-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * linux-low.c (handle_extended_wait, linux_create_inferior)
+       (linux_attach_lwp_1, linux_kill_one_lwp, linux_attach_one_lwp)
+       (dequeue_one_deferred_signal, linux_resume_one_thread)
+       (fetch_register, linux_write_memory, linux_enable_event_reporting)
+       (linux_tracefork_grandchild, linux_test_for_tracefork)
+       (linux_read_offsets, linux_xfer_siginfo, linux_xfer_siginfo): Add
+       PTRACE_ARG3_TYPE and PTRACE_ARG4_TYPE cast to ptrace arguments
+       where the argument is 0.
+
+2013-01-25  Yao Qi  <yao@codesourcery.com>
+
+       * event-loop.c: Include "queue.h".
+       (gdb_event_p): New typedef.
+       (struct gdb_event) <next_event>: Remove.
+       (event_queue): Change to QUEUE(gdb_event_p).
+       (async_queue_event): Remove.
+       (gdb_event_xfree): New.
+       (initialize_event_loop): New.
+       (process_event): Use API from QUEUE.
+       (wait_for_event): Likewise.
+       * server.c (main): Call initialize_event_loop.
+       * server.h (initialize_event_loop): Declare.
+
 2013-01-18  Yao Qi  <yao@codesourcery.com>
 
        * ax.h (struct eval_agent_expr_context): New.
 
        PR gdb/7205
 
-        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+       Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
 
 2012-05-24  Pedro Alves  <palves@redhat.com>
 
 
 2012-04-19  Pedro Alves  <palves@redhat.com>
 
-        * Makefile.in (GNULIB_BUILDDIR): New.
+       * Makefile.in (GNULIB_BUILDDIR): New.
        (LIBGNU, INCGNU, GNULIB_H): Adjust.
-        (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
-        (all, install-only, uninstall, clean-info, all-lib, clean): No
-        longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
-        (maintainer-clean realclean distclean): Use subdir_do.
-        (subdir_do): New.
-        (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
+       (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
+       (all, install-only, uninstall, clean-info, all-lib, clean): No
+       longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
+       (maintainer-clean realclean distclean): Use subdir_do.
+       (subdir_do): New.
+       (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
        $(GNULIB_BUILDDIR).  Don't pass argument to config.status.
-        * acinclude.m4: Include acx_configure_dir.m4.
-        * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
-        calls.  Call AC_PROG_RANLIB.  Configure gnulib using
-        ACX_CONFIGURE_DIR.
-        (GNULIB): New.
-        (GNULIB_STDINT_H): Adjust.
-        (AC_OUTPUT): Don't output gnulib/Makefile anymore.
-        * gdbreplay.c: Include build-gnulib/config.h.
-        * server.h: Likewise.
-        * aclocal.m4: Regenerate.
-        * config.in: Regenerate.
-        * configure: Regenerate.
+       * acinclude.m4: Include acx_configure_dir.m4.
+       * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
+       calls.  Call AC_PROG_RANLIB.  Configure gnulib using
+       ACX_CONFIGURE_DIR.
+       (GNULIB): New.
+       (GNULIB_STDINT_H): Adjust.
+       (AC_OUTPUT): Don't output gnulib/Makefile anymore.
+       * gdbreplay.c: Include build-gnulib/config.h.
+       * server.h: Likewise.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
 
 2012-04-19  Pedro Alves  <palves@redhat.com>
 
        and move to ax.c.
        (eval_tracepoint_agent_expr): New function.
        (agent_mem_read, agent_mem_read_string, agent_tsv_read): Make
-       non-static. 
+       non-static.
        (current_insn_ptr, emit_error, struct bytecode_address): Move to
        ax.c.
        (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul, emit_lsh,
        (linux_read_loadmap): New function.
        (linux_target_ops): Add linux_read_loadmap.
        * server.c (handle_query): Support qXfer:fdpic:read packet.
-       * win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL.
+       * win32-low.c (win32_target_ops): Initialize field `read_loadmap'
+       to NULL.
 
 2011-08-05  Eli Zaretskii  <eliz@gnu.org>
 
 
        * server.c (handle_query): Add EnableDisableTracepoints to the list
        of supported features.
-       * tracepoint.c (clear_installed_tracepoints): Uninstall disabled
+       * tracepoint.c (clear_installed_tracepoints): Uninstall disabled
+       tracepoints.
+       (cmd_qtenable_disable): New.
+       (cmd_qtstart): Install tracepoints even if disabled.
+       (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on
+       receiving a QTEnable or QTDisable packet.
+       (gdb_collect): Skip data collection if fast tracepoint is disabled.
+       (ust_marker_to_static_tracepoint): Do not ignore disabled static
        tracepoints.
-       (cmd_qtenable_disable): New.
-       (cmd_qtstart): Install tracepoints even if disabled.
-       (handle_tracepoint_general_set): Add call to cmd_qtenable_disable on
-       receiving a QTEnable or QTDisable packet.
-       (gdb_collect): Skip data collection if fast tracepoint is disabled.
-       (ust_marker_to_static_tracepoint): Do not ignore disabled static
-       tracepoints.
-       (gdb_probe): Skip data collection if static tracepoint is disabled.
+       (gdb_probe): Skip data collection if static tracepoint is disabled.
 
 2011-05-10  Doug Evans  <dje@google.com>
 
 
 2011-04-26  Yao Qi  <yao@codesourcery.com>
 
-        * linux-low.c: Move common macros to linux-ptrace.h.
-        Include linux-ptrace.h.
+       * linux-low.c: Move common macros to linux-ptrace.h.
+       Include linux-ptrace.h.
        * Makefile.in (linux_ptrace_h): New.
        (linux-low.o): Depends on linux-ptrace.h.
 
        (struct collect_static_trace_data_action): Delete.
        (enum tracepoint_type): New.
        (struct tracepoint) <type>: New field `type'.
-       <actions_str, step_actions, step_actions_str>: Only include in GDBserver.
+       <actions_str, step_actions, step_actions_str>: Only include in
+       GDBserver.
        <orig_size, obj_addr_on_target, adjusted_insn_addr>
        <adjusted_insn_addr_end, jump_pad, jump_pad_end>: New fields.
        (tracepoints): Use IP_AGENT_EXPORT.
        (linux_fetch_registers, linux_store_registers): Ditto.
        * i387-fp.c (i387_cache_to_fsave): Change prototype to take a
        regcache.  Adjust.
-       (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto.
+       (i387_fsave_to_cache, i387_cache_to_fxsave, i387_fxsave_to_cache):
+       Ditto.
        * i387-fp.h (i387_cache_to_fsave, i387_fsave_to_cache): Change
        prototype to take a regcache.
        (i387_cache_to_fxsave, i387_fxsave_to_cache): Ditto.
        (mips_collect_register_32bit, mips_supply_register_32bit)
        (mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
        (mips_store_fpregset): Ditto.
-       * linux-ppc-low.c (ppc_supply_ptrace_register, ppc_supply_ptrace_register):
-       Ditto.
+       * linux-ppc-low.c (ppc_supply_ptrace_register)
+       (ppc_supply_ptrace_register): Ditto.
        (parse_spufs_run): Adjust.
        (ppc_get_pc, ppc_set_pc, ppc_fill_gregset, ppc_fill_vsxregset)
        (ppc_store_vsxregset, ppc_fill_vrregset, ppc_store_vrregset)
 
 2008-04-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
-       * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into single
-       powerpc*-*-linux* case.
+       * configure.srv (powerpc64-*-linux*, powerpc-*-linux*): Merge into
+       single powerpc*-*-linux* case.
        (s390-*-linux*, s390x-*-linux*): Merge into single s390*-*-linux* case.
 
 2008-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
This page took 0.034404 seconds and 4 git commands to generate.