+2011-02-21 Tom Tromey <tromey@redhat.com>
+
+ * reverse.c: Include cli-utils.h.
+ * printcmd.c: Include cli-utils.h.
+ (string_printf): Use skip_spaces.
+ * cli/cli-utils.h: New file.
+ * cli/cli-utils.c: New file.
+ * cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
+ * cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
+ * breakpoint.h (get_number, get_number_or_range): Move to
+ cli-utils.h.
+ * breakpoint.c: Include cli-utils.h.
+ (get_number_trailer, get_number, get_number_or_range)
+ (ep_skip_leading_whitespace): Move to cli-utils.c.
+ (create_breakpoint_sal, find_condition_and_thread)
+ (decode_static_tracepoint_spec, watch_command_1)
+ (watch_maybe_just_location, ep_parse_optional_if_clause)
+ (catch_fork_command_1, catch_exec_command_1)
+ (catch_syscall_command_1): Use skip_spaces, skip_to_space.
+ * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
+ (SUBDIR_CLI_SRCS): Add cli-utils.c.
+ (HFILES_NO_SRCDIR): Add cli-utils.h.
+ (cli-utils.o): New target.
+
+2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
+ before calling discard_all_inferiors.
+
+2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * opencl-lang.c (STRUCT_OCL_TYPE): Remove.
+ (struct builtin_opencl_type): Remove.
+ (builtin_opencl_type): Change return type to "struct type **".
+ (lookup_opencl_vector_type): Update caller.
+ (opencl_language_arch_info): Copy primitive type vector from gdbarch.
+ (build_opencl_types): Install plain array of "struct type *"
+ instead of "struct builtin_opencl_type".
+
+2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ * arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
+ (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
+ (struct arm_linux_hwbp_cap): New type.
+ (arm_linux_get_hwbp_cap): New function.
+ (arm_linux_get_hw_breakpoint_count): Likewise.
+ (arm_linux_get_hw_watchpoint_count): Likewise.
+ (arm_linux_can_use_hw_breakpoint): Likewise.
+ (arm_hwbp_type): New type.
+ (arm_hwbp_control_t): Likewise.
+ (struct arm_linux_hw_breakpoint): Likewise.
+ (struct arm_linux_thread_points): Likewise.
+ (arm_threads): New global variable.
+ (arm_linux_find_breakpoints_by_tid): New function.
+ (arm_hwbp_control_initialize): Likewise.
+ (arm_hwbp_control_is_enabled): Likewise.
+ (arm_hwbp_control_disable): Likewise.
+ (arm_linux_hw_breakpoint_initialize): Likewise.
+ (arm_linux_get_hwbp_type): Likewise.
+ (arm_linux_hw_watchpoint_initialize): Likewise.
+ (arm_linux_hw_breakpoint_equal): Likewise.
+ (arm_linux_insert_hw_breakpoint1): Likewise.
+ (arm_linux_remove_hw_breakpoint1): Likewise.
+ (arm_linux_insert_hw_breakpoint): Likewise.
+ (arm_linux_remove_hw_breakpoint): Likewise.
+ (arm_linux_region_ok_for_hw_watchpoint): Likewise.
+ (arm_linux_insert_watchpoint): Likewise.
+ (arm_linux_remove_watchpoint): Likewise.
+ (arm_linux_stopped_data_address): Likewise.
+ (arm_linux_stopped_by_watchpoint): Likewise.
+ (arm_linux_watchpoint_addr_within_range): Likewise.
+ (arm_linux_new_thread): Likewise.
+ (arm_linux_thread_exit): Likewise.
+ (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
+ related target callbacks. Register arm_linux_new_thread and
+ arm_linux_thread_exit.
+ * arm-tdep.h (arm_pc_is_thumb): Add prototype.
+ * arm-tdep.c (arm_pc_is_thumb): Make global.
+ (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
+
+2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * breakpoint.c (update_watchpoint): Do not attempt to recreate
+ per-frame locations while within a function epilogue.
+
+2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * ser-mingw.c (ser_windows_close): Reformat comment to better conform
+ to GNU coding standards.
+
+2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Allow use of mingw native on Windows 95 OS.
+ * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
+ (ser_windows_close): Only call CancelIo if function exists.
+ (_initialize_ser_windows): Use LoadLirary/GetProcAddress
+ to check for existence of CancelIo function in kernel32 DLL.
+
+2011-02-21 Hui Zhu <teawater@gmail.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
+ * ax-gdb.c (gen_printf_expr_callback): New function.
+ * ax-gdb.h (gen_printf_expr_callback): Forward declare.
+ * ax-general.c (ax_memcpy): New function.
+ (ax_print): Handle "printf".
+ (ax_reqs): Ditto.
+ * ax.h (ax_memcpy): Forward declare.
+ * common/ax.def (invalid2): Removed.
+ (printf): New entry.
+ * printcmd.c (printcmd.h): New include.
+ (string_printf): New function.
+ (ui_printf): Removed.
+ (printf_command): Remove static. Call string_printf.
+ (eval_command): Call string_printf.
+ * printcmd.h: New file.
+ * tracepoint.c (validate_actionline,
+ encode_actions_1): handle printf_command.
+
+2011-02-19 Michael Snyder <msnyder@vmware.com>
+
+ * reverse.c (delete_one_bookmark): Argument is now bookmark
+ id rather than pointer to bookmark struct.
+ (delete_bookmark_command): Use get_number_or_range.
+ (goto_bookmark_command): Parse with get_number instead of strtoul.
+ (bookmark_1): New function. Print info for one bookmark.
+ (bookmarks_info): Use get_number_or_range and bookmark_1.
+
+2011-02-18 Michael Snyder <msnyder@vmware.com>
+
+ * thread.c (info_threads_command): Re-implement using
+ get_number_or_range.
+ (thread_apply_command): Ditto.
+
+2011-02-18 Tom Tromey <tromey@redhat.com>
+
+ * common/ax.def: New file.
+ * ax.h (enum agent_op): Use ax.def.
+ * ax-general.c (aop_map): Use ax.def.
+
+2011-02-18 Tom Tromey <tromey@redhat.com>
+
+ * ax-general.c (aop_map): Add pick and rot.
+ * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
+ <DW_OP_rot>: Implement.
+ * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
+ (ax_pick): Declare.
+ * ax-general.c (ax_pick): New function.
+
+2011-02-18 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
+
+2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * cp-support.c (make_symbol_overload_list_namespace): Do not call
+ make_symbol_overload_list_block with NULL BLOCK.
+ * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
+
+2011-02-18 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (get_number_trailer): No longer accept a NULL PP.
+ * breakpoint.h (get_number_or_range): Declare.
+ * printcmd.c (ALL_DISPLAYS): Declare.
+ (delete_display): Reimplement taking a display pointer.
+ (undisplay_command): Accept a range of displays to delete, using
+ get_number_or_range.
+
+2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * c-valprint.c (c_val_print): Add embedded_offset to address
+ for arrays of unspecified length.
+ * p-valprint.c (pascal_val_print): Likewise.
+
+2011-02-18 Yao Qi <yao@codesourcery.com>
+
+ * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
+ (arm_process_displaced_insn): .. here. Remove parameter INSN.
+ (thumb_process_displaced_insn): New.
+ * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
+ call to arm_process_displaced_insn.
+ * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
+
+2011-02-17 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
+ compile_dwarf_to_ax. No longer static. Call
+ dwarf2_compile_cfa_to_ax.
+ (locexpr_tracepoint_var_ref): Update.
+ (loclist_tracepoint_var_ref): Update.
+ * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
+ * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
+ argument; add 'gdbarch' and 'pc'.
+ (dwarf2_compile_cfa_to_ax): New function.
+ (dwarf2_frame_cache): Update.
+
+2011-02-17 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_type_of_array): Fix the size of the array
+ in the case of an unconstrained packed array.
+
+2011-02-17 Yao Qi <yao@codesourcery.com>
+
+ * common/Makefile.in: Add more targets for make.
+
+2011-02-16 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (unimplemented): Fix typo.
+
+2011-02-16 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
+ (compile_dwarf_to_ax) <default>: Use unimplemented.
+ <DW_OP_deref>: Update.
+ (disassemble_dwarf_expression): Update.
+ * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
+ (decode_locdesc): Update.
+ * dwarf2expr.h (dwarf_stack_op_name): Update.
+
+2011-02-16 Tom Tromey <tromey@redhat.com>
+
+ * ax.h (struct aop_map) <name>: Now const.
+
+2011-02-16 Tom Tromey <tromey@redhat.com>
+
+ * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
+ than axs_rvalue.
+
+2011-02-16 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (get_displaced_step_closure_by_addr): New.
+ * inferior.h: Declare it.
+ * arm-tdep.c: (arm_pc_is_thumb): Call
+ get_displaced_step_closure_by_addr. Adjust MEMADDR if it
+ returns non-NULL.
+
+2011-02-16 Pedro Alves <pedro@codesourcery.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ gdb/
+ * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
+
+2011-02-16 Pedro Alves <pedro@codesourcery.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * value.c (value_contents_copy_raw): Extend describing comment.
+ Assert that the destination contents we're overwriting are wholly
+ available.
+ (value_contents_copy): Extend describing comment.
+
+2011-02-16 Pedro Alves <pedro@codesourcery.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * value.c (value_available_contents_eq): Remove redundant local
+ variables. Fix available contents comparision.
+ * value.h (value_available_contents_eq): Extend describing
+ comment.
+
+2011-02-16 Yao Qi <yao@codesourcery.com>
+
+ * thread.c (info_threads_command): Add missing i18n markup and remove
+ trailing newline.
+
+2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * breakpoint.c (longjmp_names): New variable.
+ (struct breakpoint_objfile_data): New type.
+ (breakpoint_objfile_key): New variable.
+ (msym_not_found): New variable.
+ (msym_not_found_p): New predicate.
+ (get_breakpoint_objfile_data): New function.
+ (create_overlay_event_breakpoint): Check per-objfile cache for
+ symbols first.
+ (create_longjmp_master_breakpoint): Likewise.
+ (create_std_terminate_master_breakpoint): Likewise.
+ (create_exception_master_breakpoint): Likewise.
+ (_initialize_breakpoint): Register per-objfile data key.
+
2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
2011-02-15 Michael Snyder <msnyder@vmware.com>
- * command.h (enum command_class): New class 'no_set_class', for
- "show" commands without a corresponding "set" command.
- * value.c (_initialize_values): Use 'no_set_class' for "show values".
- * copying.c (_initialize_copying): Ditto for "show copying" and
- "show warranty".
- * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
- "show version".
- * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
- which there is no corresponding "set" command (eg. "show copying").
+ * thread.c (info_threads_command): Process arg as thread id,
+ or list of thread ids.
+ (thread_find_command): New command.
+ (_initialize_thread): Document argument for info threads.
+ Document 'thread find' command.
+ * NEWS: Document new command "thread find".
2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
(efpr_pseudo_register_write): Use regcache_raw_write_part to read
and write data from/to the VMX register.
+2011-02-14 Michael Snyder <msnyder@vmware.com>
+
+ * command.h (enum command_class): New class 'no_set_class', for
+ "show" commands without a corresponding "set" command.
+ * value.c (_initialize_values): Use 'no_set_class' for "show values".
+ * copying.c (_initialize_copying): Ditto for "show copying" and
+ "show warranty".
+ * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
+ "show version".
+ * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
+ which there is no corresponding "set" command (eg. "show copying").
+
2011-02-14 Pedro Alves <pedro@codesourcery.com>
Jan Kratochvil <jan.kratochvil@redhat.com>