gdbserver: add support for FDPIC loadmaps
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 338f2c62bc2c21081b0779dd40ec2391b1e96d0f..abd8fbe1bdcd9c7da6ce9a006fbbfaea4b5aa37c 100644 (file)
@@ -1,3 +1,143 @@
+2011-09-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * linux-low.c (target_loadseg): Add defined PTRACE_GETFDPIC to the
+       ifdef check.
+       [PT_GETDSBT] (target_loadmap): Wrap in a defined PT_GETDSBT check.
+       [!PT_GETDSBT] (target_loadmap): New definition.
+       (LINUX_LOADMAP, LINUX_LOADMAP_EXEC, LINUX_LOADMAP_INTERP): Define.
+       (linux_read_loadmap): Change PTRACE_GETDSBT_EXEC to
+       LINUX_LOADMAP_EXEC, PTRACE_GETDSBT_INTERP to LINUX_LOADMAP_INTERP,
+       and PT_GETDSBT to LINUX_LOADMAP.
+       [!PT_GETDSBT] (linux_read_loadmap): Define to NULL.
+       (linux_target_ops): Delete unnecessary ifdef PT_GETDSBT check.
+
+2011-09-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * linux-arm-low.c (struct arm_linux_hwbp_cap): Remove.
+       (arm_linux_hwbp_cap): New static variable.
+       (arm_linux_get_hwbp_cap): Replace by ...
+       (arm_linux_init_hwbp_cap): ... this new function.
+       (arm_linux_get_hw_breakpoint_count): Use arm_linux_hwbp_cap.
+       (arm_linux_get_hw_watchpoint_count): Likewise.
+       (arm_linux_get_hw_watchpoint_max_length): Likewise.
+       (arm_arch_setup): Call arm_linux_init_hwbp_cap.
+       (arm_prepare_to_resume): Use perror_with_name instead of error.
+
+2011-09-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * linux-arm-low.c: Include <signal.h>.
+       (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define if necessary.
+       (struct arm_linux_hwbp_cap): New data type.
+       (arm_hwbp_type, arm_hwbp_control_t): New typedefs.
+       (struct arm_linux_hw_breakpoint): New data type.
+       (MAX_BPTS, MAX_WPTS): Define.
+       (struct arch_process_info, struct arch_lwp_info): New data types.
+       (arm_linux_get_hwbp_cap): New function.
+       (arm_linux_get_hw_breakpoint_count): Likewise.
+       (arm_linux_get_hw_watchpoint_count): Likewise.
+       (arm_linux_get_hw_watchpoint_max_length): Likewise.
+       (arm_hwbp_control_initialize): Likewise.
+       (arm_hwbp_control_is_enabled): Likewise.
+       (arm_hwbp_control_is_initialized): Likewise.
+       (arm_hwbp_control_disable): Likewise.
+       (arm_linux_hw_breakpoint_equal): Likewise.
+       (arm_linux_hw_point_initialize): Likewise.
+       (struct update_registers_data): New data structure.
+       (update_registers_callback: New function.
+       (arm_insert_point): Likewise.
+       (arm_remove_point): Likewise.
+       (arm_stopped_by_watchpoint): Likewise.
+       (arm_stopped_data_address): Likewise.
+       (arm_new_process): Likewise.
+       (arm_new_thread): Likewise.
+       (arm_prepare_to_resume): Likewise.
+       (the_low_target): Register arm_insert_point, arm_remove_point,
+       arm_stopped_by_watchpoint, arm_stopped_data_address, arm_new_process,
+       arm_new_thread, and arm_prepare_to_resume.
+
+2011-09-15  Stan Shebs  <stan@codesourcery.com>
+
+       * server.h (struct emit_ops): Add compare-goto fields.
+       * tracepoint.c (gdb_agent_op_sizes): New table.
+       (emit_eq_goto): New function.
+       (emit_ne_goto): New function.
+       (emit_lt_goto): New function.
+       (emit_le_goto): New function.
+       (emit_gt_goto): New function.
+       (emit_ge_goto): New function.
+       (is_goto_target): New function.
+       (compile_bytecodes): Recognize special cases of compare-goto
+       combinations and call specialized emitters for them.
+       * linux-x86-low.c (amd64_emit_eq_goto): New function.
+       (amd64_emit_ne_goto): New function.
+       (amd64_emit_lt_goto): New function.
+       (amd64_emit_le_goto): New function.
+       (amd64_emit_gt_goto): New function.
+       (amd64_emit_ge_goto): New function.
+       (amd64_emit_ops): Add the new functions.
+       (i386_emit_eq_goto): New function.
+       (i386_emit_ne_goto): New function.
+       (i386_emit_lt_goto): New function.
+       (i386_emit_le_goto): New function.
+       (i386_emit_gt_goto): New function.
+       (i386_emit_ge_goto): New function.
+       (i386_emit_ops): Add the new functions.
+
+2011-09-08  Stan Shebs  <stan@codesourcery.com>
+
+       * linux-x86-low.c (i386_emit_prologue): Save %ebx.
+       (i386_emit_epilogue): Restore %ebx.
+
+2011-08-31  Jie Zhang  <jzhang918@gmail.com>
+
+       * server.c (step_thread): Remove definition.
+       (process_serial_event): Don't handle Hs.
+       * server.h (step_thread): Remove declaration.
+       * target.c (set_desired_inferior): Remove use of step_thread.
+
+2011-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * linux-low.c: Include linux-procfs.h.
+       (linux_attach_lwp_1): Update comments.
+       (linux_attach): Scan for existing threads when attaching to a
+       process that is the tgid.
+       * Makefile.in: Update dependencies.
+
+2011-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * configure.srv: Add linux-procfs.o dependencies.
+
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (struct target_ops): Fix indent.
+       * win32-low.c (win32_target_ops): Fix comment.
+
+2011-08-14  Andrew Jenner  <andrew@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (clean): Remove tic6x-*.c files.
+       (linux-tic6x-low.o, tic6x-c62x-linux.o, tic6x-c64x-linux.o): New rules.
+       (tic6x-c64xp-linux.o, tic6x-c62x-linux.c, tic6x-c64x-linux.c): Likewise.
+       (tic6x-c64xp-linux.c): Likewise.
+       * configure.srv: Add support for tic6x-*-uclinux.
+       * linux-tic6x-low.c: New.
+       * linux-low.c (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define.
+
+2011-08-14  Andrew Stubbs <ams@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * target.h (struct target_ops): Add read_loadmap.
+       * linux-low.c (struct target_loadseg): New type.
+       (struct target_loadmap): New type.
+       (linux_read_loadmap): New function.
+       (linux_target_ops): Add linux_read_loadmap.
+       * server.c (handle_query): Support qXfer:fdpic:read packet.
+       * win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL.
+
+2011-08-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * win32-low.c: Include <stdint.h>.
+
 2011-07-22  Pedro Alves  <pedro@codesourcery.com>
 
        * i386-low.c (i386_insert_aligned_watchpoint): Don't pass the info
This page took 0.03004 seconds and 4 git commands to generate.