gdb:
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 64ecbf99d01e34a5dccaab7d11041d53009f72b2..b115b239bb7eb242228f63a5f253756eb8417bc8 100644 (file)
@@ -1,3 +1,130 @@
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+       * linux-low.c (linux_supports_agent): New.
+       (linux_target_ops): Initialize field `supports_agent' with
+       linux_supports_agent.
+       * target.h (struct target_ops) <supports_agent>: New.
+       (target_supports_agent): New macro.
+       * server.c (handle_general_set): Handle packet 'QAgent'.
+       (handle_query): Send `QAgent+'.
+       * Makefile.in (server.o): Depends on agent.h.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (OBS): Add agent.o.
+       Add new rule for agent.o.
+       Track dependence of tracepoint.c on agent.h.
+       * tracepoint.c (run_inferior_command_1):
+       (run_inferior_command): Call agent_run_command.
+       (gdb_ust_connect_sync_socket): Deleted.  Move it to
+       common/agent.c.
+       (resume_thread, stop_thread): Likewise.
+       (gdb_ust_socket_init): Renamed to ...
+       (gdb_agent_socket_init): ... New.
+       (gdb_ust_thread): Renamed to ...
+       (gdb_agent_helper_thread): ... New.
+       (gdb_ust_init): Move some code to ...
+       (gdb_agent_init): ... here.  New.
+       [HAVE_UST]: Call gdb_ust_init.
+       (initialize_tracepoint_ftlib):  Call gdb_agent_init.
+       * configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS.
+       * config.in, configure: Regenerated.
+
+2012-03-02  Pedro Alves  <palves@redhat.com>
+
+       * inferiors.c (add_pid_to_list, pull_pid_from_list): Delete.
+       * linux-low.c (struct simple_pid_list): New.
+       (stopped_pids): New a struct simple_pid_list pointer.
+       (add_to_pid_list, pull_pid_from_list): New.
+       (handle_extended_wait): Don't assume the first signal new children
+       report is SIGSTOP.  Adjust call to pull_pid_from_list.
+       (linux_wait_for_lwp): Adjust.
+
+2012-03-02  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
+       debug log.
+
+2012-03-02  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
+       `stop_pc' and `tpoint'.  Update caller.
+
+2012-03-01  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * linux-low.h (linux_target_ops): Add regset_bitmap member.
+       * linux-low.c (use_linux_regsets): New macro.
+       [!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise.
+       [!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise.
+       (linux_register_in_regsets): New function.
+       (usr_fetch_inferior_registers): Skip registers covered by
+       regsets.
+       (usr_store_inferior_registers): Likewise.
+       (usr_fetch_inferior_registers): New macro.
+       (usr_store_inferior_registers): Likewise.
+       (linux_fetch_registers): Handle mixed regset/non-regset targets.
+       (linux_store_registers): Likewise.
+       * linux-mips-low.c (init_registers_mips_dsp_linux): New
+       prototype.
+       (init_registers_mips64_dsp_linux): Likewise.
+       (init_registers_mips_linux): New macro.
+       (init_registers_mips_dsp_linux): Likewise.
+       (mips_dsp_num_regs): Likewise.
+       (DSP_BASE, DSP_CONTROL): New fallback macros.
+       (mips_base_regs): New macro.
+       (mips_regmap): Use it.  Fix the size.
+       (mips_dsp_regmap): New variable.
+       (mips_dsp_regset_bitmap): Likewise.
+       (mips_arch_setup): New function.
+       (mips_cannot_fetch_register): Use the_low_target.regmap rather
+       than mips_regmap.
+       (mips_cannot_store_register): Likewise.
+       (the_low_target): Update .arch_setup, .num_regs and .regmap
+       initializers.  Add .regset_bitmap initializer.
+       * linux-arm-low.c (the_low_target): Add .regset_bitmap
+       initializer.
+       * linux-bfin-low.c (the_low_target): Likewise.
+       * linux-cris-low.c (the_low_target): Likewise.
+       * linux-crisv32-low.c (the_low_target): Likewise.
+       * linux-ia64-low.c (the_low_target): Likewise.
+       * linux-m32r-low.c (the_low_target): Likewise.
+       * linux-m68k-low.c (the_low_target): Likewise.
+       * linux-ppc-low.c (the_low_target): Likewise.
+       * linux-s390-low.c (the_low_target): Likewise.
+       * linux-sh-low.c (the_low_target): Likewise.
+       * linux-sparc-low.c (the_low_target): Likewise.
+       * linux-tic6x-low.c (the_low_target): Likewise.
+       * linux-x86-low.c (the_low_target): Likewise.
+       * linux-xtensa-low.c (the_low_target): Likewise.
+       * configure.srv <mips*-*-linux*>: Add mips-dsp-linux.o and
+       mips64-dsp-linux.o to srv_regobj.  Add mips-dsp-linux.xml,
+       mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to
+       srv_xmlfiles.
+       * Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets.
+       (mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise.
+
+2012-02-29  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c: (linux_wait_1): Call unsuspend_all_lwps when
+       `step_over_finished' is true.
+
+2012-02-27  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (pid_is_stopped): Delete, moved to common/.
+       (linux_attach_lwp_1): Adjust to use linux_proc_pid_is_stopped.
+
+2012-02-27  Pedro Alves  <palves@redhat.com>
+
+       PR server/9684
+       * linux-low.c (pid_is_stopped): New.
+       (linux_attach_lwp_1): Handle attaching to 'T (stopped)' processes.
+
+2012-02-25  Luis Machado  <lgustavo@codesourcery.com>
+
+       * mem-break.c (clear_gdb_breakpoint_conditions): Fix de-allocation
+       of conditions.
+
 2012-02-24  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * linux-mips-low.c (mips_regmap): Correct the index of $f9.
This page took 0.026043 seconds and 4 git commands to generate.