gdb
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 29b175fa98bc093a82225eadeac78633bb91f010..d0a914faacafb364be4233b8294a9750f8683154 100644 (file)
@@ -1,5 +1,246 @@
+2011-07-22  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * linux-low.c (compare_ints, unique, list_threads, show_process,
+       linux_core_of_thread): Delete.
+       (linux_target_ops): Change linux_core_of_thread to
+       linux_common_core_of_thread.
+       (linux_qxfer_osdata): Defer to linux_common_xfer_osdata.
+       * utils.c (malloc_failure): Change type of argument.
+       (xmalloc, xrealloc, xcalloc, xsnprintf): Delete.
+       * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c,
+       common/linux-osdata.c, common/ptid.c and common/buffer.c.
+       (OBS): Add xml-utils.o, common-utils.o, ptid.o and buffer.o.
+       (IPA_OBJS): Add common-utils-ipa.o.
+       (ptid_h, linux_osdata_h): New macros.
+       (server_h): Add common/common-utils.h, common/xml-utils.h,
+       common/buffer.h, common/gdb_assert.h, common/gdb_locale.h and
+       common/ptid.h.
+       (common-utils-ipa.o, common-utils.o, xml-utils.o, linux-osdata.o,
+       ptid.o, buffer.o): New rules.
+       (linux-low.o): Add common/linux-osdata.h as a dependency.
+       * configure.srv (srv_tgtobj): Add linux-osdata.o to Linux targets.
+       * configure.ac: Add AC_HEADER_DIRENT check.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * remote-utils.c (xml_escape_text): Delete.
+       (buffer_grow, buffer_free, buffer_init, buffer_finish,
+       buffer_xml_printf): Move to common/buffer.c.
+       * server.c (main): Remove call to initialize_inferiors.
+       * server.h (struct ptid, ptid_t, minus_one_ptid, null_ptid,
+       ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp, ptid_get_tid,
+       ptid_equal, ptid_is_pid, initialize_inferiors, xml_escape_text,
+       internal_error, gdb_assert, gdb_assert_fail): Delete.
+       (struct buffer, buffer_grow, buffer_free, buffer_init, buffer_finish,
+       buffer_xml_printf, buffer_grow_str, buffer_grow_str0): Move to
+       common/buffer.h.
+       * inferiors.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid,
+       ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid,
+       initialize_inferiors): Delete.
+
+2011-07-20  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (tracepoint_look_up_symbols): Return upon the first
+       symbol error.
+
+2011-05-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in
+       assertion.
+       * win32-i386-low.c (i386_dr_low_get_addr): Ditto.
+
+2011-05-26  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (thread-db.o): Track dependence to
+       common/gdb_thread_db.h.
+       * thread-db.c: include gdb_thread_db.h from right place.
+
+2011-05-16  Adrian Cornish  <gnu@bluedreamer.com>
+
+       * linux-i386-ipa.c (supply_static_tracepoint_registers): Pass
+       __FILE__ and __LINE__ to internal_error.
+
+2011-05-13  Doug Evans  <dje@google.com>
+
+       * thread-db.c (try_thread_db_load_from_sdir): New function.
+       (try_thread_db_load_from_dir): New function.
+       (thread_db_load_search): Handle $sdir, ignore $pdir.
+       Remove trying of system directories if search of
+       libthread-db-search-path fails, that is now done via $sdir.
+
+2011-05-12  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * server.c (handle_query): Add EnableDisableTracepoints to the list
+       of supported features.
+       * 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.
+       (gdb_probe): Skip data collection if static tracepoint is disabled.
+
+2011-05-10  Doug Evans  <dje@google.com>
+
+       * thread-db.c (thread_db_handle_monitor_command): Handle elided path.
+
+2011-05-04  Doug Evans  <dje@google.com>
+
+       * linux-low.c (linux_join): Skip process lookup.
+       * spu-low.c (spu_join): Ditto.
+       * server.c (join_inferiors_callback): Delete.
+       (process_serial_event): For 'D' packet (detach) call join_inferior
+       directly.
+
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * README: Don't mention xscale*-*-linux*.
+       * configure.srv (xscale*-*-linux*): Don't handle target.
+
+2011-04-27  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * linux-x86-low.c (amd64_emit_const): Call memcpy instead of
+       casting pointers.
+       (amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2):
+       (i386_emit_const, i386_emit_reg, i386_emit_int_call_1):
+       (i386_emit_void_call_2): Likewise.
+
+2011-04-26  Yao Qi  <yao@codesourcery.com>
+
+        * 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.
+
+2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * remote-utils.c (handle_accept_event): Close LISTEN_DESC only if
+       RUN_ONCE.  Comment for the LISTEN_DESC delete_file_handler call.
+       (remote_prepare): New function with most of the TCP code from ...
+       (remote_open): ... here.  Detect PORT here unconditionally.  Move also
+       setting transport_is_reliable.
+       * server.c (run_once): New variable.
+       (gdbserver_usage): Document it.
+       (main): Set run_once for `--once'.  Call remote_prepare.  Exit after
+       the first run if RUN_ONCE.
+       * server.h (run_once, remote_prepare): New declarations.
+
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * win32-low.c (handle_load_dll): Remove duplicate "the".
+
+2011-04-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Remove support for old Cygwin 1.5 versions.
+       * win32-low.c (win32_create_inferior): Use new cygwin_path_list
+       function to avoid warning.
+       (win32_add_one_solib): Use cygwin_conv_path function to avoid
+       warning.
+
+2011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdbserver/server.h (Macro _): Define it if not available.
+
+2011-03-14  Michael Snyder  <msnyder@vmware.com>
+
+       * hostio.c (handle_close): Remove unnecessary null test.
+
+2011-03-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (maintainer-clean realclean distclean): Remove
+       "make ...  subdir_do" command.
+
+2011-03-10  Michael Snyder  <msnyder@vmware.com>
+
+       * tracepoint.c (tracepoint_finish_step): Fix loop variable.
+
+       * server.c (handle_v_run): Free alloced buffer on early return.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+       Revert:
+       2011-03-04  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in: Remove GNU make feature --directory.
+
+       2011-03-05  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
+       (subdir_do): New make target.  Copied from gdb/Makefile.
+       (maintainer-clean, realclean, distclean, clean): Call corresponding
+       make targets in common/Makefile.
+
+       2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+       * configure.ac: Call AC_PROG_RANLIB.
+       * Makefile.in: Remove signals.o from OBS.  Link libcommon.a.
+       * configure: Regenerate.
+
+2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * remote-utils.c (putpkt_binary_1): Calculate BUF2 size dynamically.
+
+2011-03-06  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
+
+2011-03-05  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
+       (subdir_do): New make target.  Copied from gdb/Makefile.
+       (maintainer-clean, realclean, distclean, clean): Call corresponding
+       make targets in common/Makefile.
+
+2011-03-04  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in: Remove GNU make feature --directory.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * server.c (queue_stop_reply): Call xmalloc not malloc.
+
+2011-03-02  Michael Snyder  <msnyder@vmware.com>
+
+       * linux-arm-low.c (arm_arch_setup): Replace malloc with xmalloc.
+
+2011-02-28  Michael Snyder  <msnyder@vmware.com>
+
+       * tracepoint.c (cmd_qtv): Discard unused value 'packet'.
+       (cmd_qtframe): Ditto.
+       (cmd_qtbuffer): Ditto.
+       (cmd_bigqtbuffer): Ditto.
+
+       * utils.c (decimal2str): Initialize 'width' to nine, then
+       don't mess with it.
+
+2011-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * hostio.c (require_data): Free *data, not data.
+
+2011-02-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * hostio.c (require_data): Use free, not xfree.
+
 2011-02-27  Michael Snyder  <msnyder@vmware.com>
 
+       * server.c (handle_query): Discard unused value.
+
+       * hostio.c (require_data): Free malloc memory before returning
+       error.
+
+2011-02-26  Michael Snyder  <msnyder@vmware.com>
+
+       * linux-low.c (list_threads): Call closedir for dirent.
+
+2011-02-27  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-low.c (i386-length_and_rw_bits): Comment the fact that
+       a case statement falls through.
+
+       * linux-low.c (linux_xfer_siginfo): Fix fencepost error.
+
        * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Fix fencepost error
        in comparison.
 
This page took 0.040281 seconds and 4 git commands to generate.