* infrun.c (follow_fork): Initialize new step_* locals
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index a731bfff2e503fb0a83f1356f5b83f079ff88977..472fc00635379d3cad12cbaa7301a5e6d7180bf9 100644 (file)
@@ -1,5 +1,77 @@
+2009-05-24  Doug Evans  <dje@google.com>
+
+       * linux-low.c (handle_extended_wait): Use linux_resume_one_lwp
+       to resume the newly created thread, don't call ptrace (PTRACE_CONT)
+       directly.
+
+       * linux-low.c (get_stop_pc): Print pc if debug_threads.
+       (check_removed_breakpoint, linux_wait_for_lwp): Ditto.
+       (linux_resume_one_lwp): Ditto.
+
+2009-05-23  Doug Evans  <dje@google.com>
+
+       * linux-low.c (linux_resume_one_lwp): Change type of first arg
+       from struct inferior_list_entry * to struct lwp_info *.
+       All callers updated.
+
+2009-05-13  Doug Evans  <dje@google.com>
+
+       * linux-x86-low.c: Don't include assert.h.
+       (x86_siginfo_fixup): Use fatal, not assert.
+       (x86_arch_setup): Fix comment.
+
+2009-05-12  Doug Evans  <dje@google.com>
+
+       Biarch support for i386/amd64 gdbserver.
+       * Makefile.in (SFILES): Remove linux-i386-low.c, linux-x86-64-low.c.
+       Add linux-x86-low.c.
+       (linux-i386-low.o, linux-x86-64-low.o): Delete.
+       (linux-x86-low.o): Add.
+       * linux-x86-64-low.c: Delete.
+       * linux-i386-low.c: Delete.
+       * linux-x86-low.c: New file.
+       * configure.srv (i?86-linux srv_tgtobj): Replace linux-i386-low.o with
+       linux-x86-low.o.
+       (x86_64-linux srv_tgtobj): Replace linux-x86-64-low.o with
+       linux-x86-low.o.
+       (x86_64-linux srv_regobj): Add reg-i386-linux.o.
+       * linux-low.c: Include ansidecl.h, elf/common.h, elf/external.h.
+       (linux_child_pid_to_exec_file): New function.
+       (elf_64_header_p, elf_64_file_p): New functions.
+       (siginfo_fixup): New function.
+       (linux_xfer_siginfo): New local inf_siginfo.  Call siginfo_fixup to
+       give target a chance to convert layout.
+       * linux-low.h (linux_target_ops): New member siginfo_fixup.
+       (linux_child_pid_to_exec_file, elf_64_file_p): Declare.
+
+2009-05-07  Doug Evans  <dje@google.com>
+
+       * linux-low.c (regsets_fetch_inferior_registers): Fix memory leak.
+       (regsets_store_inferior_registers): Ditto.
+
+2009-05-06  Pedro Alves  <pedro@codesourcery.com>
+
+       PR server/10048
+
+       * linux-low.c (must_set_ptrace_flags): Delete.
+       (linux_create_inferior): Set `lwp->must_set_ptrace_flags' instead
+       of the global.
+       (linux_attach_lwp_1): Don't set PTRACE_SETOPTIONS here.  Set
+       `lwp->must_set_ptrace_flags' instead.
+       (linux_wait_for_event_1): Set ptrace options here.
+       (linux_wait_1): ... not here.
+
 2009-04-30  Doug Evans  <dje@google.com>
 
+       * inferiors.c (started_inferior_callback): New function.
+       (attached_inferior_callback): New function.
+       (have_started_inferiors_p, have_attached_inferiors_p): New functions.
+       * server.c (print_started_pid, print_attached_pid): New functions.
+       (detach_or_kill_for_exit): New function.
+       (main): Call it instead of for_each_inferior (kill_inferior_callback).
+       * server.h (have_started_inferiors_p): Declare.
+       (have_attached_inferiors_p): Declare.
+
        * inferiors.c (remove_process): Fix memory leak, free process.
        * linux-low.c (linux_remove_process): New function.
        (linux_kill): Call it instead of remove_process.
This page took 0.027106 seconds and 4 git commands to generate.