+2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Revert this part of:
+ 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Support @entry in input expressions.
+ * c-exp.y (ENTRY, unknown_cpp_name): New.
+ (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'.
+ (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY)
+ (variable: name_not_typename '@' ENTRY, name: ENTRY)
+ (name_not_typename: ENTRY): New.
+ (yylex): Recognize ENTRY.
+
+ Reimplement @entry in input expressions.
+ * c-exp.y (ENTRY): New.
+ (variable: name_not_typename ENTRY): New.
+ (lex_one_token): Optionally return ENTRY instead of the '@' lex.
+
+2011-10-11 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_handle_extended_wait): Always dump both the
+ parent and child's pids as soon as we detect a clone event.
+ Adjust another debug message.
+
+2011-10-11 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_lwp_is_zombie): Return early if the LWP is
+ not zombie instead of reading the whole file.
+
+2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix separate debuginfo warning with "remote:" access.
+ * objfiles.h (struct objfile): New fields crc32 and crc32_p.
+ * symfile.c (get_file_crc): New function with the code moved from ...
+ (separate_debug_file_exists): ... this function, specifically variables
+ buffer and count. New variable verified_as_different, set it. Remove
+ file_crc initialization. Verify also if both files are not the same
+ manually, if needed.
+
+2011-10-11 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_get_next_pc_raw): Use read_memory_unsigned_integer
+ to get address.
+
+2011-10-10 Doug Evans <dje@google.com>
+
+ * linux-thread-db.c (thread_db_new_objfile): Only try to load
+ libthread_db when we load libpthread or the main symbol file.
+ (thread_db_inferior_created): New function.
+ (_initialize_thread_db): Attach inferior_created observer.
+ * linux-nat.c (linux_child_post_attach): Remove call to
+ check_for_thread_db.
+ (linux_child_post_startup_inferior): Ditto.
+ * objfiles.h (OBJF_MAINLINE): Define.
+ * symfile.c (symbol_file_add_with_addrs_or_offsets): Pass it to
+ allocate_objfile when appropriate.
+
+2011-10-10 Ulrich Weigand <ulrich.weigand@linaro.org>
+
+ PR gdb/13218
+ * arm-linux-nat.c (os_version, os_major, os_minor, os_release):
+ Remove unused variables.
+ (get_linux_version): Remove function.
+ (_initialize_arm_linux_nat): Do not call it.
+
+2011-10-10 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_handle_extended_wait): Don't resume the new
+ new clone lwp if the core asked it to stop. Don't pass on
+ unexpected signals to the new clone; leave them pending instead.
+
+2011-10-10 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (resume_lwp): Remove redundant debug output.
+
+2011-10-10 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_nat_wait_1): Copy the event lwp's
+ last_resume_kind before clearing it, and use the copy instead to
+ determine whether to report a SIGSTOP as TARGET_SIGNAL_0. Use
+ resume_clear_callback in the non-stop path too.
+
+2011-10-09 Yao Qi <yao@codesourcery.com>
+
+ * valprint.c (value_check_printable): Add one parameter OPTIONS.
+ Honor OPTIONS and VAL's type.
+ (common_val_print, value_print): Update to pass one more parameter.
+
+2011-10-09 Doug Evans <dje@google.com>
+
+ Add new "alias" command.
+ * NEWS: Mention new command.
+ * command.h (valid_user_defined_cmd_name_p): Declare.
+ * defs.h (make_cleanup_dyn_string_delete): Declare.
+ * utils.c: #include "dyn-string.h".
+ (do_dyn_string_delete, make_cleanup_dyn_string_delete): New functions.
+ * cli/cli-cmds.c: #include "dyn-string.h".
+ (argv_to_dyn_string, valid_command_p, alias_command): New functions.
+ (init_cli_cmds): Add new command.
+ * cli/cli-decode.c (valid_user_defined_cmd_name_p): New function.
+
+2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix compatibility with older GCCs.
+ * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Initialize parameter.
+ * stack.c (read_frame_arg): Initialize val_deref.
+
+2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Entry values NEWS entries, DWARF disassembly support.
+ * NEWS: New entry values entry.
+ (set print entry-values, show print entry-values)
+ (set debug entry-values, show debug entry-values): New entries.
+ * dwarf2loc.c (disassemble_dwarf_expression): New parameters start and
+ indent. Remove variable start. Move header printing out. Respect
+ INDENT. Support DW_OP_GNU_entry_value.
+ (locexpr_describe_location_1): Move the header printing here, extend
+ the disassemble_dwarf_expression passed parameters.
+
+2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Display @entry parameter values even for references.
+ * ada-valprint.c (ada_val_print_1) <TYPE_CODE_REF>: Try also
+ coerce_ref_if_computed.
+ * c-valprint.c (c_val_print) <TYPE_CODE_REF>: Likewise.
+ * dwarf2expr.c (dwarf_block_to_dwarf_reg_deref): New function.
+ (execute_stack_op) <DW_OP_GNU_entry_value>: Add -1 deref_size to the
+ existing push_dwarf_reg_entry_value call. Add new detection calling
+ dwarf_block_to_dwarf_reg_deref. Update the error message.
+ (ctx_no_push_dwarf_reg_entry_value): New parameter deref_size.
+ * dwarf2expr.h
+ (struct dwarf_expr_context_funcs) <push_dwarf_reg_entry_value>: Add new
+ parameter deref_size, describe it in the comment.
+ (ctx_no_push_dwarf_reg_entry_value): Add new parameter deref_size.
+ (dwarf_block_to_dwarf_reg_deref): New declaration.
+ * dwarf2loc.c (dwarf_entry_parameter_to_value): Add new parameter
+ deref_size, describe it in the function comment. New variables
+ data_src and size, fetch the alternative block accoring to DEREF_SIZE.
+ (dwarf_expr_push_dwarf_reg_entry_value): Add new parameter deref_size,
+ describe it in the function comment. Fetch the alternative block
+ accoring to DEREF_SIZE.
+ (entry_data_value_coerce_ref, entry_data_value_copy_closure)
+ (entry_data_value_free_closure, entry_data_value_funcs): New.
+ (value_of_dwarf_reg_entry): New variables checked_type, target_type,
+ outer_val, target_val, val and addr. Try to fetch and create also
+ referenced value content.
+ (pieced_value_funcs): NULL value for coerce_ref.
+ (needs_dwarf_reg_entry_value): Add new parameter deref_size.
+ * f-valprint.c (f_val_print) <TYPE_CODE_REF>: Try also
+ coerce_ref_if_computed.
+ * opencl-lang.c (opencl_value_funcs): NULL value for coerce_ref.
+ * p-valprint.c (pascal_val_print) <TYPE_CODE_REF>: Likewise.
+ * stack.c (read_frame_arg): Compare also dereferenced values.
+ * value.c (value_computed_funcs): Make the parameter v const, use
+ value_lval_const for it.
+ (value_lval_const, coerce_ref_if_computed): New function.
+ (coerce_ref): New variable retval. Call also coerce_ref_if_computed.
+ * value.h (struct lval_funcs): New field coerce_ref.
+ (value_computed_funcs): Make the parameter v const.
+ (value_lval_const, coerce_ref_if_computed): New declarations.
+
+2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support @entry in input expressions.
+ * c-exp.y (ENTRY, unknown_cpp_name): New.
+ (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'.
+ (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY)
+ (variable: name_not_typename '@' ENTRY, name: ENTRY)
+ (name_not_typename: ENTRY): New.
+ (yylex): Recognize ENTRY.
+ * eval.c (evaluate_subexp_standard): Support also OP_VAR_ENTRY_VALUE.
+ * expprint.c (print_subexp_standard, dump_subexp_body_standard):
+ Likewise.
+ * parse.c (operator_length_standard): Likewise.
+ * std-operator.def: New operator OP_VAR_ENTRY_VALUE.
+
+2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Display referenced values in backtraces.
+ * printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1.
+ * stack.c (print_frame_arg): Likewise.
+
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Make some lval_funcs methods to default on NULL.