2012-02-24 Luis Machado <lgustavo@codesourcery>
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index c1baa9604b128548adac48bd276b2eb24ed8c8ce..1f28604448d0deb67fd13c86da00d9b2c07b9e4a 100644 (file)
@@ -1,3 +1,33 @@
+2012-02-24  Luis Machado  <lgustavo@codesourcery>
+
+       * server.c (handle_query): Advertise support for target-side
+       breakpoint condition evaluation.
+       (process_point_options): New function.
+       (process_serial_event): When inserting a breakpoint, check for
+       a target-side condition that should be evaluated.
+
+       * mem-break.c: Include regcache.h and ax.h.
+       (point_cond_list_t): New data structure.
+       (breakpoint) <cond_list>: New field.
+       (find_gdb_breakpoint_at): Make non-static.
+       (delete_gdb_breakpoint_at): Clear any target-side
+       conditions.
+       (clear_gdb_breakpoint_conditions): New function.
+       (add_condition_to_breakpoint): Likewise.
+       (add_breakpoint_condition): Likewise.
+       (gdb_condition_true_at_breakpoint): Likewise.
+       (gdb_breakpoint_here): Return result directly instead
+       of going through a local variable.
+
+       * mem-break.h (find_gdb_breakpoint_at): New prototype.
+       (clear_gdb_breakpoint_conditions): Likewise.
+       (add_breakpoint_condition): Likewise.
+       (gdb_condition_true_at_breakpoint): Likewise.
+
+       * linux-low.c (linux_wait_1): Evaluate target-side breakpoint condition.
+       (need_step_over_p): Take target-side breakpoint condition into
+       consideration.
+
 2012-02-24  Luis Machado  <lgustavo@codesourcery>
 
        * server.h: Include tracepoint.h.
This page took 0.025536 seconds and 4 git commands to generate.