Simplifly ptrace_request_to_str's implementation...
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 98757963b81fa03cbde4299dc5ce3f20720e06f6..64e1e7701c7de95453ec0c849fd3e36fa83b6d30 100644 (file)
@@ -1,3 +1,262 @@
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * lynx-low.c (ptrace_request_to_str): Define a temporary
+       macro and use it to simplify this function's implementation.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_resume): Call perror_with_name if lynx_ptrace
+       sets errno.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.srv (i[34567]86-*-lynxos*): Set srv_xmlfiles.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.srv (powerpc-*-lynxos*): Set srv_xmlfiles.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_resume): Use the resume_info parameter
+       to determine the ptid for the lynx_ptrace call, unless
+       it is equal to minus_one_ptid, in which case we use the
+       ptid of the current_inferior.
+       (lynx_wait_1): After having received a thread create/exit
+       event, resume the inferior's execution using the signaling
+       thread's ptid, rather than the old ptid.
+
+2013-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_resume): Delete variable ret.
+
+2013-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbreplay.c (gdbreplay_version): Update copyright year.
+       * server.c (gdbserver_version): Likewise.
+
+2012-12-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_wait_1): Add debug trace before adding
+       new thread.
+
+2012-12-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (ptrace_request_to_str): Add handling for
+       PTRACE_GETTRACESIG.
+
+2012-12-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_attach): Delete variable new_process.
+
+2012-12-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (lynx_create_inferior): Delete variable
+       new_process.
+
+2012-12-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * lynx-low.c (ptrace_request_to_str): Do not handle
+       PTRACE_GETTHREADLIST if this macro does not exist.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (OBS): Add notif.o.
+       * notif.c, notif.h: New.
+       * server.c: Include "notif.h".
+       (struct vstop_notif) <next>: Remove.
+       <base>: New field.
+       (queue_stop_reply): Update.
+       (push_event, send_next_stop_reply): Remove.
+       (discard_queued_stop_replies): Update.
+       (notif_stop): New variable.
+       (handle_v_stopped): Remove.
+       (handle_v_requests): Don't call handle_v_stopped.  Call
+       handle_ack_notif instead.
+       (queue_stop_reply_callback): Call notif_event_enque instead
+       of queue_stop_reply.
+       (handle_status): Don't call send_next_stop_reply, call
+       notif_write_event instead.
+       (kill_inferior_callback): Likewise.
+       (detach_or_kill_inferior_callback): Likewise.
+       (main): Call initialize_notif.
+       (process_serial_event): Call QUEUE_is_empty.
+       (handle_target_event): Call notif_push instead of push event.
+       * server.h (push_event): Remove declaration.
+
+2012-12-10  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.pre)
+       (COMPILE.post, COMPILE, POSTCOMPILE, IPAGENT_COMPILE): New
+       macros.
+       (.c.o): Rewrite.
+       (ax-ipa.o, tracepoint-ipa.o, utils-ipa.o, format-ipa.o)
+       (common-utils-ipa.o, remote-utils-ipa.o, regcache-ipa.o)
+       (i386-linux-ipa.o, linux-i386-ipa.o, linux-amd64-ipa.o)
+       (amd64-linux-ipa.o, ax.o): Rewrite.
+       (event-loop.o, hostio.o, hostio-errno.o, inferiors.o, mem-break.o)
+       (proc-service.o, regcache.o, remote-utils.o, server.o, target.o)
+       (thread-db.o, tracepoint.o, utils.o, gdbreplay.o, dll.o): Remove.
+       (signals.o, linux-procfs.o, linux-ptrace.o, common-utils.o, vec.o)
+       (gdb_vecs.o, xml-utils.o, linux-osdata.o, ptid.o, buffer.o)
+       (format.o, agent.o, vasprintf.o, vsnprintf.o): Rewrite.
+       (i386-low.o, i387-fp.o, linux-low.o, linux-arm-low.o)
+       (linux-bfin-low.o, linux-cris-low.o, linux-crisv32-low.o)
+       (linux-ia64-low.o, linux-m32r-low.o, linux-mips-low.o)
+       (linux-ppc-low.o, linux-s390-low.o, linux-sh-low.o)
+       (linux-tic6x-low.o, linux-x86-low.o, linux-xtensa-low.o)
+       (linux-tile-low.o, lynx-low.o, lynx-ppc-low.o, nto-low.o)
+       (nto-x86-low.o, linux-low.o, win32-low.o, win32-arm-low.o)
+       (win32-i386-low.o, spu-low.o, reg-arm.o, arm-with-iwmmxt.o)
+       (arm-with-vfpv2.o, arm-with-vfpv3.o, arm-with-neon.o, reg-bfin.o)
+       (reg-cris.o, reg-crisv32.o, i386.o, i386-linux.o, i386-avx.o)
+       (i386-avx-linux.o, i386-mmx.o, i386-mmx-linux.o, reg-ia64.o)
+       (reg-m32r.o, reg-m68k.o, reg-cf.o, mips-linux.o, mips-dsp-linux.o)
+       (mips64-linux.o, mips64-dsp-linux.o, powerpc-32.o, powerpc-32l.o)
+       (powerpc-altivec32l.o, powerpc-cell32l.o, powerpc-vsx32l.o)
+       (powerpc-isa205-32l.o, powerpc-isa205-altivec32l.o)
+       (powerpc-isa205-vsx32l.o, powerpc-e500l.o, powerpc-64l.o)
+       (powerpc-altivec64l.o, powerpc-cell64l.o, powerpc-vsx64l.o)
+       (powerpc-isa205-64l.o, powerpc-isa205-altivec64l.o)
+       (powerpc-isa205-vsx64l.o, s390-linux32.o, s390-linux32v1.o)
+       (s390-linux32v2.o, s390-linux64.o, s390-linux64v1.o)
+       (s390-linux64v2.o, s390x-linux64.o, s390x-linux64v1.o)
+       (s390x-linux64v2.o, tic6x-c64xp-linux.o, tic6x-c64x-linux.o)
+       (tic6x-c62x-linux.o, reg-sh.o, reg-sparc64.o, reg-spu.o, amd64.o)
+       (amd64-linux.o, amd64-avx.o, amd64-avx-linux.o, x32.o)
+       (x32-linux.o, x32-avx.o, x32-avx-linux.o, reg-xtensa.o)
+       (reg-tilegx.o): Remove.
+       (all_object_files): New macro.
+       Include .deps files.
+       * aclocal.m4, configure: Rebuild.
+       * acinclude.m4: Include depstand.m4, lead-dot.m4.
+       * configure.ac: Invoke ZW_CREATE_DEPDIR,
+       ZW_PROG_COMPILER_DEPENDENCIES.  Compute GMAKE condition.
+
+2012-12-05  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/14917:
+       * server.h (current_insn_ptr, emit_error): Declare 'extern'.
+
+2012-11-28  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * configure.ac: Check for linux/perf_event.h.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2012-11-26  Maxime Villard  <rustyBSD@gmx.fr>
+
+       * hostio.c (handle_readlink): Decrease buffer size
+       parameter passed to readlink by one byte.
+
+2012-11-26  Yao Qi  <yao@codesourcery.com>
+
+       * configure.ac (build_warnings): Append '-Wempty-body'.
+       * configure: Regenerated.
+       * linux-low.c (linux_create_inferior): Use braces for empty 'if'
+       body.
+
+2012-11-15  Pierre Muller  <muller@sourceware.org>
+
+       * configure.ac (AC_CHECK_HEADERS): Add wait.h header.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * linux-low.c: Use "gdb_stat.h" header instead of <sys/stat.h> header.
+       Use "gdb_wait.h" header instead of <sys/wait.h> header.
+       * lynx-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header.
+       * remote-utils.c: Use "gdb_stat.h" header instead of <sys/stat.h>
+       header.
+       * server.c: Remove HAVE_WAIT_H conditional.  Use "gdb_wait.h" header
+       instead of <sys/wait.h> header.
+       * spu-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header.
+
+2012-11-13 Markus Metzger  <markus.t.metzger@intel.com>
+
+       * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER
+       (various make rules): Remove -DGDBSERVER
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * spu-low.c (current_ptid): Move it to ..
+       * gdbthread.h: ... here.  New.
+       * remote-utils.c (read_ptid): Use macro 'current_ptid'.
+       * server.c (myresume, process_serial_event): Likewise.
+       * thread-db.c (thread_db_find_new_threads): Likewise.
+       * tracepoint.c (run_inferior_command): Likewise.
+
+2012-10-01  Andrew Burgess  <aburgess@broadcom.com>
+
+       * server.c (handle_search_memory_1): Include access length in
+       warning message.
+
+2012-09-05  Michael Brandt  <michael.brandt@axis.com>
+
+       * linux-crisv32-low.c: Fix compile errors.
+
+2012-09-04  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtsv): Adjust debug message.
+       Don't check CUR_TPOINT.
+
+2012-08-28  Yao Qi  <yao@codesourcery.com>
+
+       * ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF.
+       * server.h: Include 'libiberty.h' and 'ansidecl.h'.
+       (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove.
+       Remove declarations of xmalloc, xreallloc, xstrdup and
+       freeargv.
+       * Makefile.in (libiberty_h): New.
+       (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'.
+       (linux-bfin-low.o): Append dependency 'libiberty.h'.
+
+2012-08-23  Yao Qi  <yao@codesourcery.com>
+
+       * server.h: Remove declaration of 'xsnprintf'.
+
+2012-08-22  Keith Seitz  <keiths@redhat.com>
+
+       * server.h: Include build-gnulib-gbserver/config.h.
+       * gdbreplay.c: Likewise.
+
+2012-08-08  Doug Evans  <dje@google.com>
+
+       * Makefile.in (SFILES): Add gdb_vecs.c.
+       (OBS): Add gdb_vecs.o.
+       (gdb_vecs_h, host_defs_h): New variables.
+       (thread-db.o): Add $(gdb_vecs_h) dependency.
+       (gdb_vecs.o): New rule.
+       * thread-db.c: #include "gdb_vecs.h".
+       (thread_db_load_search): Use a vector to iterate over path elements.
+       Handle text appearing after "$pdir".
+
+       * configure.ac: Add check for strstr.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-08-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * hostio.c (handle_pread): If pread fails, fall back to attempting
+       lseek/read.
+       (handle_pwrite): Likewise for pwrite.
+
+2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish
+       between unsupported TYPE and unimplementable ADDR/LEN combination.
+       (arm_insert_point): Act on new return value.
+
+2012-07-31  Pedro Alves  <palves@redhat.com>
+
+       * server.c (process_point_options): Only skip tokens if we find
+       one that is unrecognized.  Don't treat 'X' specially while
+       skipping unrecognized tokens.
+
+2012-07-30  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
+       to 4-byte-align HW breakpoint addresses for Thumb.
+
 2012-07-27  Yao Qi  <yao@codesourcery.com>
 
        PR remote/14161.
This page took 0.032835 seconds and 4 git commands to generate.