gdb
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 0d16be9f0c1397dfee9c798775f64cf1d975304f..d0a914faacafb364be4233b8294a9750f8683154 100644 (file)
@@ -1,3 +1,709 @@
+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.
+
+2011-02-26  Michael Snyder  <msnyder@vmware.com>
+
+       * utils.c (decimal2str): Eliminate dead code and dead param.
+       (pulongest): Drop dead param from call to decimal2str.
+       (plongest): Ditto.
+
+2011-02-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert the following patch (not approved yet):
+       2011-02-21  Hui Zhu  <teawater@gmail.com>
+       * tracepoint.c (tp_printf): New function.
+       (eval_agent_expr): Handle gdb_agent_op_printf.
+
+2011-02-21  Hui Zhu  <teawater@gmail.com>
+
+       * tracepoint.c (tp_printf): New function.
+       (eval_agent_expr): Handle gdb_agent_op_printf.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (tracepoint-ipa.o): Depend on ax.def.
+       (tracepoint.o): Likewise.
+       * tracepoint.c (enum gdb_agent_op): Use ax.def.
+       (gdb_agent_op_names): Likewise.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (enum gdb_agent_op) <gdb_agent_op_pick,
+       gdb_agent_op_rot>: New constants.
+       (gdb_agent_op_names): Add pick and roll.
+       (eval_agent_expr) <gdb_agent_op_pick, gdb_agent_op_rot>: New
+       cases.
+
+2011-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * aclocal.m4: Regenerated with aclocal-1.11.1.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * server.c (handle_qxfer_traceframe_info): New.
+       (qxfer_packets): Register "traceframe-info".
+       (handle_query): Report support for qXfer:traceframe-info:read+.
+       * tracepoint.c (match_blocktype): New.
+       (traceframe_find_block_type): Rename to ...
+       (traceframe_walk_blocks): ... this.  Add callback filter argument,
+       and use it.
+       (traceframe_find_block_type): New, reimplemented on top of
+       traceframe_walk_blocks.
+       (build_traceframe_info_xml): New.
+       (traceframe_read_info): New.
+       * server.h (traceframe_read_info): Declare.
+
+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-02-07  Pedro Alves  <pedro@codesourcery.com>
+
+       * server.c (gdb_read_memory): Change return semantics to allow
+       partial transfers.
+       (handle_search_memory_1): Adjust.
+       (process_serial_event) <'m' packet>: Handle partial transfers.
+       * tracepoint.c (traceframe_read_mem): Handle partial transfers.
+
+2011-01-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * regcache.c (init_register_cache): Initialize
+       regcache->register_status.
+       (free_register_cache): Release regcache->register_status.
+       (regcache_cpy): Copy register_status.
+       (registers_to_string): Print 'x's for unavailable registers.
+       (supply_register): Mark the register's status valid or
+       unavailable, depending on whether a buffer was passed in or not.
+       (supply_register_zeroed): New.
+       (supply_regblock): Mark the registers' status valid or
+       unavailable, depending on whether a buffer was passed in or not.
+       * regcache.h (REG_UNAVAILABLE, REG_VALID): New defines.
+       (struct regcache): New `register_status' field.
+       (supply_register_zeroed): Declare.
+       * i387-fp.c (i387_xsave_to_cache): Zero out registers using
+       supply_register_zeroed, rather than passing a NULL buffer to
+       supply_register.
+       * tracepoint.c (fetch_traceframe_registers): Update comment.
+
+2011-01-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * i387-fp.c (i387_xsave_to_cache): Make passing NULL as register
+       buffer explicit.
+
+2011-01-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * server.h (decode_xfer_write): Change prototype.
+       * remote-utils.c (decode_xfer_write): Remove `annex' parameter,
+       and don't extract the annex here.
+       * server.c (decode_xfer_read): Remove `annex' parameter,
+       and don't extract the annex here.
+       (decode_xfer): New.
+       (struct qxfer): New.
+       (handle_qxfer_auxv, handle_qxfer_features, handle_qxfer_libraries)
+       (handle_qxfer_osdata, handle_qxfer_siginfo, handle_qxfer_spu)
+       (handle_qxfer_statictrace): New functions, abstracted out from
+       handle_query, and made to use the struct qxfer interface.
+       (handle_threads_qxfer_proper): Rename to ...
+       (handle_qxfer_threads_proper): ... this.
+       (handle_threads_qxfer): Rename to ...
+       (handle_qxfer_threads): ... this.  Adjust.
+       (qxfer_packets): New array.
+       (handle_qxfer): New function.
+       (handle_query): Use handle_qxfer.
+
+2011-01-05  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
+
+       * gdbreplay.c: Shorten lines of >= 80 columns.
+       * linux-low.c: Ditto.
+       * linux-ppc-low.c: Ditto.
+       * linux-s390-low.c: Ditto.
+       * linux-sparc-low.c: Ditto.
+       * linux-x86-low.c: Ditto.
+       * linux-xtensa-low.c: Ditto.
+       * mem-break.c: Ditto.
+       * nto-low.c: Ditto.
+       * regcache.h: Ditto.
+       * remote-utils.c: Ditto.
+       * server.c: Ditto.
+       * server.h: Ditto.
+       * thread-db.c: Ditto.
+       * tracepoint.c: Ditto.
+       * utils.c: Ditto.
+       * win32-low.h: Ditto.
+
+2011-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbserver/configure.ac, gdbserver/gdbserver.1: Copyright year
+       update.
+
+2011-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * server.c (gdbserver_version): Update copyright year in version
+       output.
+       * gdbreplay.c (gdbreplay_version): Ditto.
+
+2010-12-29  Jie Zhang  <jie.zhang@analog.com>
+
+       * configure.srv (bfin-*-*linux*): Handle Blackfin/Linux targets.
+       * linux-bfin-low.c: New file.
+       * linux-low.c: Define PT_TEXT_ADDR, PT_TEXT_END_ADDR, and
+       PT_DATA_ADDR for BFIN targets.
+       * Makefile.in (SFILES): Add linux-bfin-low.c.
+       (clean): Remove reg-bfin.c.
+       (linux-bfin-low.o, reg-bfin.o, reg-bfin.c): New targets.
+       * README: Mention supported Blackfin targets.
+
+2010-12-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: New file.
+
+2010-11-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * linux-low.c (linux_tracefork_child): Add char* cast to arg.
+
+2010-10-22  Jie Zhang  <jie@codesourcery.com>
+
+       * Makefile.in: Add FLAGS_TO_PASS variable.
+       (install): Remove dependency of install-only and recursively
+       invoke make for install-only.
+
+2010-10-04  Doug Evans  <dje@google.com>
+
+       * Makefile.in (uninstall): Use $(DESTDIR).
+
+2010-09-24  Pedro Alves  <pedro@codesourcery.com>
+
+       PR gdb/11842
+
+       * linux-x86-low.c (compat_siginfo_from_siginfo)
+       (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
+       si_code is < 0.  Check for si_code == SI_TIMER before checking for
+       si_code < 0.
+
+2010-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-i386-low.c: New file.
+       * configure.srv: Add handling of i[34567]86-*-lynxos* targets.
+
+2010-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (ptrace_request_to_str): Remove handling for
+       request values that have been removed in LynxOS 5.x.
+
+2010-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c, lynx-ppc-loc.c: Include <sys/ptrace.h> instead of
+       <ptrace.h>
+
+2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.ac: Add --enable-inprocess-agent option.
+       * configure: Rebuilt.
+
+2010-09-06  Yao Qi  <yao@codesourcery.com>
+
+       * linux-low.c (linux_kill): Remove unused variable.
+       (linux_stabilize_threads): Likewise.
+       * server.c (start_inferior): Likewise.
+       (queue_stop_reply_callback): Likewise.
+       * tracepoint.c (do_action_at_tracepoint): Likewise.
+
+2010-09-06  Yao Qi  <yao@codesourcery.com>
+
+       * linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior
+       on return.
+
+2010-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
+
+2010-09-06  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (install-only): Replace $IPA_DEPFILES with
+       "$(IPA_DEPFILES)".
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbserver/lynx-low.c, gdbserver/lynx-low.h,
+       gdbserver/lynx-ppc-low.c: New files.
+       * Makefile.in (lynx_low_h): New variable.
+       (lynx-low.o, lynx-ppc-low.o): New rules.
+       * configure.ac: On LynxOS, link with -lnetinet.
+       * configure.srv: Add handling of powerpc-*-lynxos* targets.
+       * configure: regenerate.
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (vasprintf.o, vsnprintf.o): New rules.
+       * configure.ac: Add check for vasprintf and vsnprintf.
+       * configure, config.in: Regenerate.
+       * server.h (vasprintf, vsnprintf): Add conditional declarations.
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbreplay.c: Move include of alloca.h up, next to include of
+       malloc.h.
+       * server.h: Add include of malloc.h.
+       * mem-break.c: Remove include of malloc.h.
+       * server.c, tracepoint.c, utils.c, win32-low.c: Likewise.
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (memmem.o): Build with -Wno-error.
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * utils.c (xsnprintf): Make non-static.
+       * server.h: Add xsnprintf declaration.
+       * linux-low.c, nto-low.c, target.c, thread-db.c, tracepoint.c:
+       replace calls to snprintf by calls to xsnprintf throughout.
+
+2010-09-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Add configure check for alloca.
+       * configure, config.in: Regenerate.
+       * server.h: Include alloca.h if it exists.
+       * gdbreplay.c: Include alloca.h if it exists.
+
+2010-08-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (__SIGRTMIN): Define if not already defined.
+       (linux_create_inferior): Check for __ANDROID__ rather than
+       __SIGRTMIN.
+       (enqueue_one_deferred_signal): Don't requeue non-RT signals that
+       are already deferred.
+       (linux_wait_1): Check for __ANDROID__ rather than __SIGRTMIN.
+       (linux_resume_one_thread): Don't queue a SIGSTOP if the lwp is
+       stopped and already has a pending signal to report.
+       (proceed_one_lwp): : Don't queue a SIGSTOP if the lwp already has
+       a pending signal to report or is moving out of a jump pad.
+       (linux_init_signals): Check for __ANDROID__ rather than
+       __SIGRTMIN.
+
+2010-08-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_stabilize_threads): Wrap debug output in a
+       debug_threads check.  Avoid a linear search when not doing debug
+       output.
+
+2010-08-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * event-loop.c (event_handle_func): Adjust to use gdb_fildes_t.
+       (struct gdb_event) <fd>: Change type to gdb_fildes_t.
+       (struct file_handler) <fd>: Change type to gdb_fildes_t.
+       (process_event): Change local fd's type to gdb_fildes_t.
+       (create_file_handler): Adjust prototype.
+       (delete_file_handler): Adjust prototype.
+       (handle_file_event): Adjust prototype.  Use pfildes.
+       (create_file_event): Adjsut prototype.
+       * remote-utils.c (remote_desc, listen_desc): Change type to
+       gdb_fildes_t.
+       * server.h: New gdb_fildes_t typedef.
+       [USE_WIN32API]: Include winsock2.h.
+       (delete_file_handler, add_file_handler): Adjust prototypes.
+       (pfildes): Declare.
+       * utils.c (pfildes): New.
+
+2010-08-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * configure.ac (build_warnings): Add -Wno-char-subscripts.
+       * configure: Regenerate.
+
+2010-08-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_unprepare_to_access_memory): Rename to ...
+       (linux_done_accessing_memory): ... this.
+       (linux_target_ops): Adjust.
+       * linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust.
+       * nto-low.c (nto_target_ops): Adjust comment.
+       * server.c (gdb_read_memory, gdb_write_memory): Adjust.
+       * spu-low.c (spu_target_ops): Adjust comment.
+       * target.h (target_ops): Rename unprepare_to_access_memory field
+       to done_accessing_memory.
+       (unprepare_to_access_memory): Rename to ...
+       (done_accessing_memory): ... this.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_prepare_to_access_memory): New.
+       (linux_unprepare_to_access_memory): New.
+       (linux_target_ops): Install them.
+       * server.c (read_memory): Rename to ...
+       (gdb_read_memory): ... this.  Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       (write_memory): Rename to ...
+       (gdb_write_memory): ... this.  Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       (handle_search_memory_1): Adjust.
+       (process_serial_event): Adjust.
+       * target.h (struct target_ops): New fields
+       prepare_to_access_memory and unprepare_to_access_memory.
+       (prepare_to_access_memory, unprepare_to_access_memory): New.
+       * linux-x86-low.c (x86_insert_point, x86_remove_point): Use
+       prepare_to_access_memory/prepare_to_access_memory.
+       * nto-low.c (nto_target_ops): Adjust.
+       * spu-low.c (spu_target_ops): Adjust.
+       * win32-low.c (win32_target_ops): Adjust.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (WARN_CFLAGS): Get it from configure.
+       (WERROR_CFLAGS): New.
+       (INTERNAL_CFLAGS): Add WERROR_CFLAGS.
+       * configure.ac: Introduce --enable-werror, which adds -Werror to
+       the compiler command line.  Enabled by default.  Disable with
+       --disable-werror.  Add -Wdeclaration-after-statement
+       Wpointer-arith and -Wformat-nonliteral to warning flags.
+       * configure: Regenerate.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * mem-break.c [HAVE_MALLOC_H]: Include malloc.h.
+
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbreplay.c (remote_error): New.
+       (gdbchar): New.
+       (expect): Use gdbchar.  Check for error reading from GDB.
+       Clarify sync error output.
+       (play): Check for errors writing to GDB.
+       * linux-low.c (sigchld_handler): Really ignore `write' errors.
+       * remote-utils.c (getpkt): Check for errors writing to the remote
+       descriptor.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Move non-debugging code out of
+       `debug_threads' control.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Don't set last_status here.
+       * server.c (push_event, queue_stop_reply_callback): Assert we're
+       not pushing a TARGET_WAITKIND_IGNORE event.
+       (start_inferior, start_inferior, attach_inferior, handle_v_cont)
+       (myresume, handle_target_event): Set the thread's last_resume_kind
+       and last_status from the target returned status.
+
+2010-08-25  Pedro Alves  <pedro@codesourcery.com>
+
+       PR threads/10729
+
+       * linux-x86-low.c (update_debug_registers_callback): New.
+       (i386_dr_low_set_addr): Use it.
+       (i386_dr_low_get_addr): New.
+       (i386_dr_low_set_control): Use update_debug_registers_callback.
+       (i386_dr_low_get_control): New.
+       (i386_dr_low_get_status): Adjust.
+       * linux-low.c (linux_stop_lwp): New.
+       * linux-low.h (linux_stop_lwp): Declare.
+
+       * i386-low.c (I386_DR_GET_RW_LEN): Take the dr7 contents as
+       argument instead of a i386_debug_reg_state.
+       (I386_DR_WATCH_HIT): Take the dr6 contents as argument instead of
+       a i386_debug_reg_state.
+       (i386_insert_aligned_watchpoint): Adjust.
+       (i386_remove_aligned_watchpoint): Adjust.
+       (i386_low_stopped_data_address): Read the debug registers from the
+       inferior instead of from the mirrors.
+       * i386-low.h (struct i386_debug_reg_state): Extend comment.
+       (i386_dr_low_get_addr): Declare.
+       (i386_dr_low_get_control): Declare.
+       (i386_dr_low_get_status): Change prototype.
+
+       * win32-i386-low.c (dr_status_mirror, dr_control_mirror): New globals.
+       (i386_dr_low_get_addr): New.
+       (i386_dr_low_get_control): New.
+       (i386_dr_low_get_status): Adjust prototype.  Return
+       dr_status_mirror.
+       (i386_initial_stuff): Clear dr_status_mirror and
+       dr_control_mirror.
+       (i386_get_thread_context): Adjust.
+       (i386_set_thread_context): Adjust.
+       (i386_thread_added): Adjust.
+
+2010-08-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.h (linux_thread_area): Delete declaration.
+
+2010-08-11  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * linux-low.c (linux_wait_1): Correctly return the ptid of the child
+       after its termination.
+
+2010-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (gdb_wants_lwp_stopped): Delete.
+       (gdb_wants_all_stopped): Delete.
+       (linux_wait_1): Don't call them.
+       * server.c (handle_v_cont): Tag all threads as want-stopped.
+       (gdb_wants_thread_stopped): Fix comments.  Tag the thread that
+       stopped as "client-wants-stopped".
+
+2010-07-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (signals_h): New.
+       (server_h): Depend on it.
+       (server.o): Don't depend on $(signals_def).
+       (signals.o): Depend on $(signals_def).
+
+2010-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in (signals_def): New.
+       (server_h): Append include/gdb/signals.h and signals_def.
+       (server.o): Append signals_def.
+
+2010-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * server.c (handle_target_event): Use target_signal_to_host for
+       resume_info.sig initialization.
+       * target.h (struct thread_resume) <sig>: New comment.
+
 2010-07-20  Ozkan Sezer  <sezeroz@gmail.com>
 
        * server.c (handle_query): strcpy() the returned string from paddress()
        (register_cache_size): New.
        (supply_regblock): New.
        (regcache_read_pc, regcache_write_pc): New.
-       
+
        * tracepoint.c: New.
 
        * Makefile.in (OBS): Add tracepoint.o.
        * m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization.
 
 2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
-            Vladimir Prus  <vladimir@codesourcery.com>
+           Vladimir Prus  <vladimir@codesourcery.com>
 
        * Makefile.in (reg-cf.o, reg-cf.c): New targets.
        * configure.ac: Check for __mcoldfire__ and set
        (thread_db_free): Adjust.
        * config.in: Regenerate.
        * configure: Likewise.
-       
+
 2009-10-28  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        PR gdb/10757
        * thread-db.c (attach_thread): New function.
        (maybe_attach_thread): Return success/failure.
        (find_new_threads_callback): Adjust.
-       (thread_db_find_new_threads): Loop until no new threads.        
-       
+       (thread_db_find_new_threads): Loop until no new threads.
+
 2009-10-13  Pedro Alves  <pedro@codesourcery.com>
 
        * proc-service.c (ps_lgetregs): Formatting.
        (thread_db_handle_monitor_command): Likewise.
        * config.in: Regenerate.
        * configure: Regenerate.
-       
+
 2009-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * spu-low.c (spu_kill): Wait for inferior to terminate.
 
 2008-12-02  Pedro Alves  <pedro@codesourcery.com>
 
-        * target.h (struct target_ops): Add qxfer_osdata member.
-        * linux-low.c: Include ctype.h and pwd.h and sys/types.h
-        and dirent.h.
-        (linux_qxfer_osdata): New functions.
-        (linux_target_ops): Register linux_qxfer_osdata as qxfer_osdata
-        callback.
-        * server.c (handle_query): Handle "qXfer:osdata:read:".
-        * remote-utils.c (buffer_grow, buffer_free, buffer_init, buffer_finish)
-        (buffer_xml_printf): New functions.
-        * server.h (struct buffer): New.
-        (buffer_grow_str, buffer_grow_str0): New macros.
-        (buffer_grow, buffer_free, buffer_init, buffer_finish)
-        (buffer_xml_printf): Declare.
+       * target.h (struct target_ops): Add qxfer_osdata member.
+       * linux-low.c: Include ctype.h and pwd.h and sys/types.h
+       and dirent.h.
+       (linux_qxfer_osdata): New functions.
+       (linux_target_ops): Register linux_qxfer_osdata as qxfer_osdata
+       callback.
+       * server.c (handle_query): Handle "qXfer:osdata:read:".
+       * remote-utils.c (buffer_grow, buffer_free, buffer_init, buffer_finish)
+       (buffer_xml_printf): New functions.
+       * server.h (struct buffer): New.
+       (buffer_grow_str, buffer_grow_str0): New macros.
+       (buffer_grow, buffer_free, buffer_init, buffer_finish)
+       (buffer_xml_printf): Declare.
 
 2008-11-24  Doug Evans  <dje@google.com>
 
        * server.c (handle_v_run): Always use the supplied argument list.
 
 2008-11-19  Bob Wilson  <bob.wilson@acm.org>
-       
+
        * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4.
        (xtensa_regmap_table): Add entry for scompare1.
-       
+
 2008-11-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        * Makefile.in (powerpc-isa205-32l.o, powerpc-isa205-32l.c,
        message, not gdbserver.
 
 2008-06-05  Vladimir Prus  <vladimir@codesourcery.com>
-            Nathan Sidwell  <nathan@codesourcery.com>
-            Joseph Myers  <joseph@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
 
        * acinclude.m4: Include ../../config/acx.m4.
        * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
 
 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
 
-        * acinclude.m4: Add override.m4.
-        * configure: Regenerate.
+       * acinclude.m4: Add override.m4.
+       * configure: Regenerate.
 
 2008-04-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
 2008-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
-       srv_regobj.  Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml    
+       srv_regobj.  Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml
        from reg_xmlfiles.
        * linux-ppc-low.c: Include <elf.h>.
        (PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define.
        (ppc_arch_setup): New function.
        (ppc_fill_gregset): Call ppc_collect_ptrace_register instead
        of collect_register.
-       (the_low_target): Use ppc_arch_setup as arch_setup initializer. 
+       (the_low_target): Use ppc_arch_setup as arch_setup initializer.
 
 2008-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
 
        (ppc_breakpoint): Change type to "unsigned int".
        (ppc_breakpoint_at): Change type of "insn" to "unsigned int".
        (the_low_target): Conditionally provide initializers for the
-       arch_setup member depending on __powerpc64__.  Install 
+       arch_setup member depending on __powerpc64__.  Install
        collect_ptrace_register and supply_ptrace_register members.
 
 2008-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
        * target.h (target_ops): Add hostio_last_error member.
        * linux-low.c (linux_target_op): Register hostio_last_error_from_errno
        as hostio_last_error handler.
-       * spu-low.c (spu_target_ops): Likewise. 
+       * spu-low.c (spu_target_ops): Likewise.
        * win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error)
        (wince_hostio_last_error): New functions.
        (win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error
 
 2007-05-16  Markus Deuling  <deuling@de.ibm.com>
 
-       * server.c (handle_query): Add reply for qC packet. 
+       * server.c (handle_query): Add reply for qC packet.
 
 2007-05-10  Pedro Alves  <pedro_alves@portugalmail.pt>
            Leo Zayas  <lerele@champenstudios@com>
        (handle_exception): Change return type to void.  Don't record
        context here.  Set status to TARGET_WAITKIND_SPURIOUS on a
        first chance exception.
-       (get_child_debug_event): Change return type to void.  Remove 
+       (get_child_debug_event): Change return type to void.  Remove
        goto loop.  Always return after waiting for debug event.
        (win32_wait): Convert to switch statement.  Handle spurious
        events.
        (do_child_fetch_inferior_registers): Move to ...
        * win32-i386-low.c: ... here, and rename to ...
        (do_fetch_inferior_registers): ... this.
-       * win32-low.c (child_fetch_inferior_registers): 
+       * win32-low.c (child_fetch_inferior_registers):
        Go through the low target.
        (do_child_store_inferior_registers): Use regptr.
        (strwinerror): New function.
 
 2005-12-23  Eli Zaretskii  <eliz@gnu.org>
 
-       * linux-arm-low.c: 
-       * linux-arm-low.c: 
-       * inferiors.c: 
-       * i387-fp.h: 
-       * i387-fp.c: 
-       * gdbreplay.c: 
-       * regcache.c: 
-       * proc-service.c: 
-       * mem-break.h: 
-       * mem-break.c: 
-       * linux-x86-64-low.c: 
-       * linux-sh-low.c: 
-       * linux-s390-low.c: 
-       * linux-ppc64-low.c: 
-       * linux-ppc-low.c: 
-       * linux-mips-low.c: 
-       * linux-m68k-low.c: 
-       * linux-m32r-low.c: 
-       * linux-low.h: 
-       * linux-low.c: 
-       * linux-ia64-low.c: 
-       * linux-i386-low.c: 
-       * linux-crisv32-low.c: 
-       * thread-db.c: 
-       * terminal.h: 
-       * target.h: 
-       * target.c: 
-       * server.h: 
-       * server.c: 
-       * remote-utils.c: 
-       * regcache.h: 
-       * utils.c: 
-       * Makefile.in: 
-       * configure.ac: 
+       * linux-arm-low.c:
+       * linux-arm-low.c:
+       * inferiors.c:
+       * i387-fp.h:
+       * i387-fp.c:
+       * gdbreplay.c:
+       * regcache.c:
+       * proc-service.c:
+       * mem-break.h:
+       * mem-break.c:
+       * linux-x86-64-low.c:
+       * linux-sh-low.c:
+       * linux-s390-low.c:
+       * linux-ppc64-low.c:
+       * linux-ppc-low.c:
+       * linux-mips-low.c:
+       * linux-m68k-low.c:
+       * linux-m32r-low.c:
+       * linux-low.h:
+       * linux-low.c:
+       * linux-ia64-low.c:
+       * linux-i386-low.c:
+       * linux-crisv32-low.c:
+       * thread-db.c:
+       * terminal.h:
+       * target.h:
+       * target.c:
+       * server.h:
+       * server.c:
+       * remote-utils.c:
+       * regcache.h:
+       * utils.c:
+       * Makefile.in:
+       * configure.ac:
        * gdbserver.1: Add (C) after Copyright.  Update the FSF
        address.
 
        * linux-crisv32-low.c: Ditto for CRISv32.
        * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c.
        (clean): Add reg-cris.c and reg-crisv32.c.
-       Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, 
+       Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c,
        reg-crisv32.o, and reg-crisv32.c to make rules.
        * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of
        recognized targets.
 
 2005-05-12  Orjan Friberg  <orjanf@axis.com>
 
-       * target.h (struct target_ops): Add insert_watchpoint, 
+       * target.h (struct target_ops): Add insert_watchpoint,
        remove_watchpoint, stopped_by_watchpoint, stopped_data_address function
        pointers for hardware watchpoint support.
        * linux-low.h (struct linux_target_ops): Ditto.
This page took 0.035796 seconds and 4 git commands to generate.