Fix build failure in inf-ptrace.c.
[binutils-gdb.git] / gdb / gdbserver / ChangeLog
index fceb900c4f79e8d6a497344415ad1b0d9764fea7..53181bdfb3f5e1feb6ec5c246012482ba362245b 100644 (file)
@@ -1,3 +1,125 @@
+2010-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * server.c (gdbserver_version): Update copyright year to 2010.
+       * gdbreplay.c (gdbreplay_version): Likewise.
+
+2009-12-28  Doug Evans  <dje@google.com>
+
+       * linux-low.c: Delete inclusion of ansidecl.h, elf/common.h,
+       elf/external.h.  Include <elf.h> instead but only if necessary.
+
+2009-12-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_remove_process): Remove `detaching'
+       parameter.  Don't release/detach from thread_db here.
+       (linux_kill): Release/detach from thread_db here, ...
+       (linux_detach): ... and here, before actually detaching.
+       (linux_wait_1): ... and here, when a process exits.
+       * thread-db.c (any_thread_of): New.
+       (thread_db_free): Switch the current inferior to a thread of the
+       passed in process.
+
+2009-12-21  Doug Evans  <dje@google.com>
+
+       * linux-x86-low.c: Delete outdated comment about Elf32_Phdr.
+
+       * linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill.
+       Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc
+       warning ifndef __NR_tkill.  Move setting of errno there too.
+       Delete unnecessary resetting of errno after syscall.
+       Minor comment changes to match gdb/linux-nat.c:kill_lwp.
+
+       * configure.ac: Check for dladdr.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR.
+       (try_thread_db_load): Update.
+
+       * linux-low.c (my_waitpid): Delete unnecessary prototype.
+
+2009-12-18  Doug Evans  <dje@google.com>
+
+       * event-loop.c: Include unistd.h if it exists.
+
+       * linux-low.c (my_waitpid): Move definition away from being in
+       between linux_tracefork_child/linux_test_for_tracefork.
+
+       * gdb_proc_service.h (psaddr_t): Fix type.
+       * thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
+       signature to match glibc.
+
+2009-12-16  Doug Evans  <dje@google.com>
+
+       * linux-low.c (linux_read_memory): Fix argument to read.
+
+2009-11-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * win32-low.c (get_child_debug_event): On EXIT_THREAD_DEBUG_EVENT
+       events, don't leave current_inferior pointing at null.
+
+2009-11-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * win32-low.c (LOG): Delete.
+       (OUTMSG): Output to stderr.
+       (OUTMSG2): Conditionalize on `debug_threads' variable, instead of
+       on compile time LOG macro.
+       (win32_wait): Fix debug output.
+
+2009-11-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * win32-low.c (win32_add_one_solib): If the dll name is
+       "ntdll.dll", prepend the system directory to the dll path.
+
+2009-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization.
+
+2009-11-17  Nathan Sidwell  <nathan@codesourcery.com>
+            Vladimir Prus  <vladimir@codesourcery.com>
+
+       * Makefile.in (reg-cf.o, reg-cf.c): New targets.
+       * configure.ac: Check for __mcoldfire__ and set
+       gdb_cv_m68k_is_coldfire.
+       * configure.srv: Use gdb_cv_m68k_is_coldfire to select between
+       reg-cf.o and reg-m68k.o.
+       * configure: Regenerated.
+
+2009-11-16  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_remove_process): Add `detaching' parameter.
+       Pass it to thread_db_free.
+       (linux_kill, linux_detach, linux_wait_1): Adjust to pass the
+       proper `detaching' argument to linux_remove_process.
+       * linux-low.h (thread_db_free): Add `detaching' parameter.
+       * thread-db.c (thread_db_init): Pass false as `detaching' argument
+       to thread_db_free.
+       (thread_db_free): Add `detaching' parameter.  Only
+       call td_ta_clear_event if detaching from process.
+
+2009-11-12  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * thread-db.c (thread_db_free): Fix typo.
+
+2009-11-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/10838
+       * thread-db.c (thread_db_free): Call td_ta_clear_event.
+
+2009-11-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.ac (i[34567]86-*): Check if we're targetting x86-64
+       with an i686 compiler.
+       * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if
+       needed.
+       * configure: Rebuilt.
+
+2009-10-29  Sandra Loosemore  <sandra@codesourcery.com>
+
+       PR gdb/10783
+
+       * server.c (handle_search_memory_1): Correct read_addr initialization
+       in loop for searching subsequent chunks.
+
 2009-10-29  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * configure.ac: New --with-libthread-db option.