Star wildcard ranges (e.g., "info thread 2.*")
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8d35f5f1cd96b08eae086cd725049f56bdc72a16..034e4f9d29bba88edbee6d58394ebcdeb42814cf 100644 (file)
@@ -1,3 +1,65 @@
+2016-01-15  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention star wildcard ranges.
+       * cli/cli-utils.c (get_number_or_range): Check state->in_range first.
+       (number_range_setup_range): New function.
+       * cli/cli-utils.h (number_range_setup_range): New declaration.
+       * thread.c (thread_apply_command): Support star TID ranges.
+       * tid-parse.c (tid_range_parser_finished)
+       (tid_range_parser_string, tid_range_parser_skip)
+       (get_tid_or_range, get_tid_or_range): Handle
+       TID_RANGE_STATE_STAR_RANGE.
+       (tid_range_parser_star_range): New function.
+       * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
+       New value.
+       (tid_range_parser_star_range): New declaration.
+
+2016-01-15  Pedro Alves  <palves@redhat.com>
+
+       * thread.c (thread_apply_command): Use the tid range parser to
+       advance past the thread ID list.
+       * tid-parse.c (get_positive_number_trailer): New function.
+       (parse_thread_id): Use it.
+       (get_tid_or_range): Use it.  Return 0 instead of throwing invalid
+       thread ID error.
+       (get_tid_or_range): Detect negative values.  Return 0 instead of
+       throwing invalid thread ID error.
+
+2016-01-14  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
+       Declare.
+       (arm_linux_get_next_pcs_ops): Install
+       arm_linux_get_next_pcs_syscall_next_pc.
+       (arm_linux_syscall_next_pc): Change to ...
+       (arm_linux_get_next_pcs_syscall_next_pc): ... it.
+       (arm_linux_init_abi): Don't set tdep->syscall_next_pc.
+       * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
+       (arm_get_next_pcs_syscall_next_pc): Make it static.  Don't
+       call tdep->syscall_next_pc.
+       * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
+       (arm_get_next_pcs_syscall_next_pc): Remove.
+
+2016-01-14  Yao Qi  <yao.qi@linaro.org>
+
+       * remote.c (remote_set_syscall_catchpoint): Cast to char *.
+       * thread.c (do_captured_thread_select): Cast to const char *.
+
+2016-01-14  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
+       argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
+       (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
+       instead.
+       * arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
+       <arm_thumb2_breakpoint>: Remove.
+       <has_thumb2_breakpoint>: New field.
+       (arm_get_next_pcs_ctor): Update declaration.
+       * arm-linux-tdep.c (arm_linux_software_single_step): Pass
+       1 to arm_get_next_pcs_ctor.
+       * arm-tdep.c (arm_software_single_step): Pass 0 to
+       arm_get_next_pcs_ctor.
+
 2016-01-13  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
This page took 0.028588 seconds and 4 git commands to generate.