+2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
+ (should_be_inserted): Return zero also on NULL OWNER.
+ (breakpoint_program_space_exit): New OWNER comment.
+ (insert_breakpoint_locations): Extend comment for OWNER.
+ (remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
+ (breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
+ New OWNER comment.
+ (print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
+ (watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
+ (bpstat_check_location): New assert on OWNER.
+ (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
+ and B initializations to the code block. New assert on them.
+ (print_one_breakpoint_location): New OWNER comment.
+ (watchpoint_locations_match): Assert on OWNER.
+ (breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
+ initializations to the code block. New assert on OWNER.
+ (set_breakpoint_location_function): New assert on OWNER.
+ (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
+ (bp_location_compare, update_global_location_list)
+ (update_global_location_list): New OWNER comment.
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/nm-linux.h (struct target_ops): Remove forward declaration.
+ (lin_thread_get_thread_signals): Remove prototype.
+ (GET_THREAD_SIGNALS): Remove.
+ * linux-nat.h (lin_thread_get_thread_signals): Add prototype.
+ * linux-thread-db.c (check_thread_signals): Directly call
+ lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gregset.h (GDB_FPXREGSET_T): Remove.
+ (gdb_fpxregset_t): Likewise.
+ (supply_fpxregset): Remove prototype.
+ (fill_fpxregset): Likewise.
+ * i386-linux-nat.c (supply_fpxregset): Remove.
+ (fill_fpxregset): Likewise.
+ (fetch_fpxregs): Inline supply_fpxregset call.
+ (store_fpxregs): Inline fill_fpxregset call.
+
+ * config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
+ * config/i386/nm-linux.h: Remove file.
+
+2010-06-09 Michael Snyder <msnyder@vmware.com>
+
+ * target.c (update_current_target): Fix spelling error in comment.
+ (target_mourn_inferior): Fix spelling error in error message.
+
+2010-06-08 Paul Hilfinger <hilfingr@adacore.com>
+
+ * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
+ SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
+
+2010-06-08 Michael Snyder <msnyder@vmware.com>
+
+ * remote.c (remote_close): Set inferior_ptid to null_ptid.
+
+2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac <"${have_libpython}" != no>: New workaround of
+ python#4434.
+ * configure: Regenerate.
+
+2010-06-08 Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_wait): Move signal out of replay code.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix PR 10640.
+ * dwarf2-frame.c (no_dwarf_call): New function.
+ (execute_stack_op): Set CTX->DWARF_CALL.
+ * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
+ * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
+ (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
+ * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
+ (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
+ (needs_frame_dwarf_call): New function.
+ (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
+ * dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
+ Update the comment. Move variables die, offset and error call to ...
+ (follow_die_ref): ... a new function.
+ (dwarf2_fetch_die_location_block): New function.
+ * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
+ (dwarf_expr_tls_address): Use per_cu instead of objfile.
+ (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
+ Initialize new BATON.PER_CU. Adjust CTX->GDBARCH initialization for
+ this change.
+ (struct needs_frame_baton): New field per_cu.
+ (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
+ * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
+
+2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * cp-support.c (make_symbol_overload_list_namespace): Only search
+ static and global blocks.
+ (make_symbol_overload_list_block): New function.
+ (make_symbol_overload_list): Separate namespace search from block
+ search.
+ (make_symbol_overload_list_qualified): Use
+ make_symbol_overload_list_block.
+
+2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * value.h: Created oload_search_type enum.
+ (find_overload_match): Use oload_search_type enum.
+ * valops.c (find_overload_match): Support combined member and
+ non-member search.
+ * eval.c (evaluate_subexp_standard): Calls to
+ find_overload_match now use oload_search_type enum.
+ (oload_method_static): Verify index is a proper value.
+ * valarith.c (value_user_defined_cpp_op): Search for and handle
+ both member and non-member operators.
+ (value_user_defined_cpp_op): New function.
+ (value_user_defined_op): New function.
+ (value_x_unop): Use value_user_defined_op.
+ (value_x_binop): Ditto.
+ * cp-support.c (make_symbol_overload_list_using): Added block
+ iteration.
+ Add check for namespace aliases and imported declarations.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.h (owner): Extend the comment.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Clear stale specific bp_location from former whole breakpoint.
+ * breakpoint.c (delete_breakpoint): Move the stale referencing clear
+ code ...
+ (free_bp_location): ... here. Rename there the called function to
+ bpstat_remove_bp_location_callback.
+ (bpstat_remove_breakpoint_callback): Rename to ...
+ (bpstat_remove_bp_location_callback): ... here, change DATA resolution
+ to struct bp_location. Change the called function to
+ bpstat_remove_bp_location. Create new declaration for the function.
+ (bpstat_remove_breakpoint): Rename to ...
+ (bpstat_remove_bp_location): ..., change the parameter to loc, adjust
+ code for the new parameter type.
+
+2010-06-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * README: Make version-agnostic.
+
+2010-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix duplicate types for single DIE.
+ * dwarf2read.c (read_structure_type): Move set_descriptive_type after
+ set_die_type.
+ (read_array_type): Remove type initialization. Recheck get_die_type
+ after initial die_type. Move set_die_type before set_descriptive_type.
+ (read_set_type): New variable domain_type. Recheck get_die_type after
+ initial die_type. Move attr initialization later.
+ (read_tag_pointer_type, read_tag_reference_type): New variable
+ target_type. Recheck get_die_type after initial die_type.
+ (read_tag_ptr_to_member_type): Recheck get_die_type after initial
+ die_type and die_containing_type.
+ (read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
+ Recheck get_die_type after initial die_type.
+ (read_subrange_type): Recheck get_die_type after initial die_type.
+ Move set_die_type before set_descriptive_type.
+ (set_die_type): Extend the function comment. Call complaint if DIE has
+ some type already set.
+
+2010-06-05 Vladimir Prus <vladimir@codesourcery.com>
+
+ * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
+ for current naming of thread groups (iN, not N).
+
+2010-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * ada-lang.c (ada_operator_length): Constify `struct expression'.
+ * parse.c (operator_length): Likewise.
+ (operator_length_standard): Likewise.
+ * parser-defs.h (operator_length): Likewise.
+ (operator_length_standard): Likewise.
+ (struct exp_descriptor <operator_length>): Likewise.
+
+2010-06-04 Doug Evans <dje@google.com>
+
+ Add support for enabling/disabling individual pretty-printers.
+ * python/py-prettyprint.c (search_pp_list): Skip disabled printers.
+ * python/python-internal.h (gdbpy_enabled_cst): Declare.
+ * python/python.c (gdbpy_enabled_cst): Define.
+ (_initialize_python): Initialize gdbpy_enabled_cst.
+ * NEWS: Add entry.
+
+2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (update_global_location_list): Fix comment typo.
+
+2010-06-04 Hui Zhu <teawater@gmail.com>
+
+ * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.
+
+2010-06-03 Doug Evans <dje@google.com>
+
+ * configure.ac: Don't fail if python is unusable when
+ configured with --with-python=auto.
+ * configure: Regenerate.
+
+2010-06-03 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * dwarf2read.c (new_symbol): Remove redundant naming of symbol.
+
+2010-06-03 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * valprint.h (get_array_bounds): Change low and high parameter types
+ to LONGEST *.
+ * valprint.c (get_array_bounds): Use get_discrete_bounds call to
+ compute bounds.
+ (val_print_array_elements): Adapt to change above.
+ * ada-valprint.c (print_optional_low_bound): Adapt to change above.
+ * p-valprint.c (pascal_val_print): Likewise.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symfile.c (init_filename_language_table): New extensions .for, .FOR,
+ .ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
+ .F08.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support DW_TAG_module as separate namespaces.
+ * dwarf2read.c (typename_concat): New parameter physname.
+ (read_module_type): New function and declaration.
+ (scan_partial_symbols): Scan also DW_TAG_module children.
+ (partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass
+ to typename_concat backward compatible physname value 0.
+ (partial_die_full_name, read_namespace_type): Pass to typename_concat
+ backward compatible physname value 0.
+ (add_partial_module, read_module): Remove FIXME comment.
+ (process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO.
+ (die_needs_namespace) <DW_TAG_variable>: Allow returning true even for
+ DIEs under DW_TAG_module.
+ (dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and
+ DW_AT_MIPS_linkage_name first, extend it for language_fortran
+ && physname and return there instead of just setting NAME. Extend
+ the main block for language_fortran. Pass physname parameter to the
+ typename_concat call.
+ (read_import_statement, read_func_scope, get_scope_pc_bounds)
+ (load_partial_dies, determine_prefix): Support also DW_TAG_module.
+ (new_symbol): Fill in cplus_specific.demangled_name if it is still
+ missing from SYMBOL_SET_NAMES in the language_fortran case.
+ (new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module
+ variables.
+ (read_type_die) <DW_TAG_module>: New.
+ (MAX_SEP_LEN): Increase to 7.
+ (typename_concat): New parameter physname. New variable lead. Support
+ also language_fortran.
+ * f-exp.y (yylex): Consider : also as a symbol name character class.
+ * f-lang.c: Include cp-support.h.
+ (f_word_break_characters, f_make_symbol_completion_list): New functions.
+ (f_language_defn): Use cp_lookup_symbol_nonlocal,
+ f_word_break_characters and f_make_symbol_completion_list.
+ * f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New.
+ * gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New.
+ * symtab.c (symbol_init_language_specific): Support language_fortran.
+ (symbol_find_demangled_name): New comment on language_fortran.
+ (symbol_natural_name, symbol_demangled_name): Use demangled_name even
+ for language_fortran.
+ (lookup_symbol_aux_local): Check imports also for language_fortran.
+ (default_make_symbol_completion_list): Rename to ...
+ (default_make_symbol_completion_list_break_on): ... this name. New
+ parameter break_on, use it.
+ (default_make_symbol_completion_list): New stub.
+ * symtab.h (default_make_symbol_completion_list_break_on): New
+ prototype.
+
+2010-06-02 Joel Brobecker <brobecker@adacore.com>
+
+ * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
+ to error.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (typename_concat): Add const to the variable sep.
+
+2010-06-02 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.h (dwarf2_per_cu_data): Declare.
+ * dwarf2read.c (dwarf_stack_op_name): No longer static. Return
+ type is const. Add 'def' argument. Add missing operators, remove
+ unhandled ones.
+ (decode_locdesc): Update.
+ (dwarf2_always_disassemble): New global.
+ (show_dwarf2_always_disassemble): New function.
+ (_initialize_dwarf2_read): Add always-disassemble.
+ (dwarf2_per_cu_offset_size): New function.
+ * dwarf2loc.c (dwarf2_always_disassemble): Declare.
+ (piece_end_p): New function.
+ (locexpr_describe_location_piece): Replace 'size' argument with
+ 'end'. Use piece_end_p. Rewrite recognition of TLS. Recognize
+ some constants. Remove errors.
+ (disassemble_dwarf_expression): New function.
+ (locexpr_describe_location_1): Use disassemble_dwarf_expression.
+ Add 'offset_size' argument.
+ (loclist_describe_location): Change output formatting.
+ * dwarf2expr.h (dwarf_stack_op_name): Declare.
+
+2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * cp-support.c (make_symbol_overload_list_adl_namespace): Handle
+ anonymous type case.
+
+2010-06-02 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (read_subrange_type): Handle missing base type
+ according to Dwarf-2 specifications.
+
+2010-06-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL,
+ BINOP_EXCL.
+ (op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL,
+ UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
+ (dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL,
+ BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD,
+ UNOP_CHMAX, UNOP_CHMIN.
+ * expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL,
+ UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX,
+ UNOP_CHMIN>: Remove opcodes.
+
+2010-06-01 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (read_func_scope): Do not complain for
+ external function if bounds are not found.
+
+2010-06-01 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention gdbserver fast tracepoints support.
+
+2010-05-31 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * windows-nat.c (GetConsoleFontSize, GetCurrentConsoleFont):
+ New macros.
+ (windows_set_console_info): New function.
+ (windows_create_inferior): Call windows_set_console_info
+ if NEW_CONSOLE is true.
+ (bad_GetCurrentConsoleFont, bad_GetConsoleFontSize): New functions.
+ (_initialize_loadable): Initialize GetConsoleFontSize and
+ GetCurrentConsoleFont.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.in (RDYNAMIC): New.
+ (SFILES): Add proc-service.list.
+ * config/alpha/alpha-linux.mh (NAT_CDEPS): New.
+ (LOADLIBES): Replace -rdynamic by $(RDYNAMIC).
+ * config/arm/linux.mh: Likewise.
+ * config/i386/linux.mh: Likewise.
+ * config/i386/linux64.mh: Likewise.
+ * config/ia64/linux.mh: Likewise.
+ * config/m32r/linux.mh: Likewise.
+ * config/m68k/linux.mh: Likewise.
+ * config/mips/linux.mh: Likewise.
+ * config/pa/linux.mh: Likewise.
+ * config/powerpc/linux.mh: Likewise.
+ * config/powerpc/ppc64-linux.mh: Likewise.
+ * config/s390/s390.mh: Likewise.
+ * config/sparc/linux.mh: Likewise.
+ * config/sparc/linux64.mh: Likewise.
+ * config/xtensa/linux.mh: Likewise.
+ * configure.ac: New RDYNAMIC on native host and GCC.
+ (solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC.
+ * configure: Regenerate.
+ * proc-service.list: New.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-nat.c (linux_nat_core_of_thread_1): Fix crash on invalid
+ CONTENT.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-nat.c (linux_nat_wait_1): Do not call
+ linux_nat_core_of_thread_1 on TARGET_WAITKIND_EXITED or
+ TARGET_WAITKIND_SIGNALLED.
+
+2010-05-27 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_inferior_data): New struct.
+ (ada_inferior_data): New static global.
+ (ada_inferior_data_cleanup, get_ada_inferior_data, ada_inferior_exit)
+ (ada_get_tsd_type): New functions.
+ (ada_tag_name_2): Use ada_get_tsd_type instead of ada_find_any_type
+ to look the tsd type up.
+ (_initialize_ada_language): Attach ada_inferior_exit to inferior_exit
+ event. Set ada_inferior_data.
+
+2010-05-27 Pedro Alves <pedro@codesourcery.com>
+
+ * remote.c (unpack_varlen_hex): Remove forward declaration.
+ (remote_console_output): Make static, and add forward declaration.
+ * remote.h: Drop FIXME comment.
+ (unpack_varlen_hex): Declare.
+ (remote_console_output, remote_cisco_objfile_relocate)
+ (deprecated_target_resume_hook, deprecated_target_wait_loop_hook):
+ Delete declarations.
+ * tracepoint.c: Include "remote.h".
+ (unpack_varlen_hex): Delete declaration.
+
+2010-05-27 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (struct piece_closure) <refc>: New field.
+ (allocate_piece_closure): Initialize refc.
+ (copy_pieced_value_closure): Use refc.
+ (free_pieced_value_closure): Likewise.
+
+2010-05-27 Tom Tromey <tromey@redhat.com>
+
+ * arm-tdep.c (push_stack_item): 'contents' now const.
+ (arm_push_dummy_call): Make 'val' const. Use value_contents, not
+ value_contents_writeable. Introduce new temporary.
+
+2010-05-27 Tom Tromey <tromey@redhat.com>
+
+ * findcmd.c (parse_find_args): Use value_contents, not
+ value_contents_raw.
+
+2010-05-27 Tom Tromey <tromey@redhat.com>
+
+ * alpha-tdep.c (alpha_push_dummy_call): Make alpha_arg.contents
+ const. Use value_contents, not value_contents_writeable.
+
+2010-05-27 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ensure_lval): Replace call to value_contents_raw
+ by call to value_contents.
+
+2010-05-27 Ozkan Sezer <sezeroz@gmail.com>
+
+ * MAINTAINERS: Add myself for write after approval privileges.
+
+2010-05-26 Doug Evans <dje@google.com>
+
+ Allow python to find its files if moved from original location.
+ * acinclude.m4 (GDB_AC_DEFINE_RELOCATABLE): New function.
+ (GDB_AC_WITH_DIR): Call it.
+ * configure.ac: Define WITH_PYTHON_PATH if we can find the
+ python installation directory.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * defs.h (python_libdir): Declare.
+ * main.c (python_libdir): Define.
+ (captured_main): Initialize python_libdir.
+ * python/python.c (_initialize_python): #ifdef WITH_PYTHON_PATH,
+ call Py_SetProgramName to make sure python can find its libraries
+ and modules.
+
+ * configure.ac: Try to use python's distutils to fetch compilation
+ parameters.
+ * configure: Regenerate.
+ * python/python-config.py: New file.
+
+2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
+
+ * ser-tcp.c (net_open): Check error return from socket() call by its
+ equality to -1 not by it being negative.
+ (net_close): Likewise.
+
+2010-05-26 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention the `qRelocInsn' feature.
+ * gdbarch.sh (relocate_instruction): New.
+ * amd64-tdep.c (rip_relative_offset): New.
+ (append_insns): New.
+ (amd64_relocate_instruction): New.
+ (amd64_init_abi): Install it.
+ * i386-tdep.c (append_insns): New.
+ (i386_relocate_instruction): New.
+ (i386_gdbarch_init): Install it.
+ * remote.c (remote_get_noisy_reply): Handle qRelocInsn requests.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+2010-05-26 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.h (struct dwarf2_locexpr_baton) <data>: Now const.
+ (struct dwarf2_loclist_baton) <data>: Likewise.
+ * dwarf2loc.c (find_location_expression): Constify return type.
+ (dwarf2_evaluate_loc_desc): Make 'data' argument const.
+ (dwarf2_loc_desc_needs_frame): Likewise.
+ (loclist_read_variable): Constify.
+ (loclist_describe_location): Likewise.
+ (loclist_tracepoint_var_ref): Likewise.
+
+2010-05-25 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (dwarf_expr_frame_base): Constify.
+ (dwarf_expr_frame_base_1): Likewise.
+ (read_pieced_value): Update.
+ (needs_frame_frame_base): Constify.
+ (dwarf2_tracepoint_var_loc): Likewise.
+ (dwarf2_tracepoint_var_access): Likewise.
+ (locexpr_describe_location_piece): Likewise.
+ (locexpr_describe_location_1): Likewise.
+ * dwarf2expr.h (struct dwarf_expr_context) <get_frame_base>:
+ Constify.
+ (data): Now const.
+ (struct dwarf_expr_piece) <v.literal.data>: Likewise.
+ (dwarf_expr_eval, read_uleb128, read_sleb128)
+ (dwarf2_read_address): Update.
+ * dwarf2expr.c (dwarf_expr_eval): Constify.
+ (read_uleb128): Likewise.
+ (read_sleb128): Likewise.
+ (dwarf2_read_address): Likewise.
+ (require_composition): Likewise.
+ (execute_stack_op): Likewise.
+ * dwarf2-frame.h (struct dwarf2_frame_state_reg) <loc.exp>: Now a
+ "const gdb_byte *".
+ * dwarf2-frame.c (struct dwarf2_frame_state_reg_info) <cfa_exp>:
+ Now const.
+ (no_get_frame_base): Constify.
+ (execute_stack_op): Likewise.
+ (execute_cfa_program): Likewise.
+ (read_encoded_value): Likewise.
+
+2010-05-25 Doug Evans <dje@google.com>
+
+ * ser-pipe.c (pipe_open): Ignore SIGINTs in child.
+
+ * event-loop.h (GDB_READABLE, GDB_WRITABLE, GDB_EXCEPTION): Move to ...
+ * event-loop.c: ... here.
+ * tui/tui-io.c (tui_readline_output): Rename parameter `code' to
+ `error' for clarity.
+ (tui_getc): Pass correct value for `error' parameter to
+ tui_readline_output.
+
+ Add python gdb.GdbError and gdb.string_to_argv.
+ * NEWS: Document them.
+ * python/py-cmd.c (cmdpy_function): Don't print a traceback if
+ the exception is gdb.GdbError. Print a second traceback if there's
+ an error computing the error message.
+ (gdbpy_string_to_argv): New function.
+ * python/py-utils.c (gdbpy_obj_to_string): New function.
+ (gdbpy_exception_to_string): New function.
+ * python/python-internal.h (gdbpy_string_to_argv): Declare.
+ (gdbpy_obj_to_string, gdbpy_exception_to_string): Declare.
+ (gdbpy_gdberror_exc): Declare.
+ * python/python.c (gdbpy_gdberror_exc): New global.
+ (_initialize_python): Initialize gdbpy_gdberror_exc and create
+ gdb.GdbError.
+ (GdbMethods): Add string_to_argv.
+
+2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * windows-nat.c (display_selector): Call GetLastError to give better
+ failure explanation.
+
+2010-05-24 Pedro Alves <pedro@codesourcery.com>
+
+ * config.in: Regenerate.
+
+2010-05-23 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * target.c (push_target): Return only void. Remove the return value
+ comment.
+ * target.h (push_target): Return only void.
+
+2010-05-23 Pedro Alves <pedro@codesourcery.com>
+
+ Update gnulib from latest git.
+ (250b80067c1e1d8faa0c42fb572f721975b929c5)
+
+ * gnulib/memcmp.c: Removed.
+ * gnulib/memchr.valgrind: New.
+ * gnulib/stddef.in.h: New.
+ * gnulib/Makefile.am: Updated.
+ * gnulib/memchr.c: Updated.
+ * gnulib/memmem.c: Updated.
+ * gnulib/stdint.in.h: Updated.
+ * gnulib/str-two-way.h: Updated.
+ * gnulib/string.in.h: Updated.
+ * gnulib/wchar.in.h: Updated.
+
+ * gnulib/extra/link-warning.h: Removed.
+ * gnulib/extra/c++defs.h: New.
+ * gnulib/extra/warn-on-use.h: New.
+ * gnulib/extra/arg-nonnull.h: Updated.
+
+ * gnulib/m4/extensions.m4: Updated.
+ * gnulib/m4/gnulib-cache.m4: Updated.
+ * gnulib/m4/gnulib-common.m4: Updated.
+ * gnulib/m4/gnulib-comp.m4: Updated.
+ * gnulib/m4/gnulib-tool.m4: Updated.
+ * gnulib/m4/include_next.m4: Updated.
+ * gnulib/m4/longlong.m4: Updated.
+ * gnulib/m4/memchr.m4: Updated.
+ * gnulib/m4/memmem.m4: Updated.
+ * gnulib/m4/stdint.m4: Updated.
+ * gnulib/m4/string_h.m4: Updated.
+ * gnulib/m4/memcmp.m4: Removed.
+ * gnulib/m4/onceonly_2_57.m4: Removed.
+ * gnulib/m4/00gnulib.m4: New.
+ * gnulib/m4/mmap-anon.m4: New.
+ * gnulib/m4/multiarch.m4: New.
+ * gnulib/m4/onceonly.m4: New.
+ * gnulib/m4/stddef_h.m4: New.
+ * gnulib/m4/warn-on-use.m4: New.
+ * gnulib/m4/wchar.m4: Removed.
+ * gnulib/m4/wchar_h.m4: New.
+ * gnulib/m4/wchar_t.m4: New.
+ * gnulib/m4/wint_t.m4: New.
+
+ * aclocal.m4: Regenerate.
+ * config.in: Likewise.
+ * configure: Likewise.
+ * gnulib/Makefile.in: Likewise.
+
+2010-05-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (extract_bits_primitive): New function.
+ (extract_bits): Likewise.
+ (insert_bits): Likewise.
+ (copy_bitwise): Likewise.
+ (read_pieced_value): Do all operations in bits.
+ (write_pieced_value): Likewise.
+ * dwarf2expr.h (struct dwarf_expr_piece) <offset>: New field.
+ * dwarf2expr.c (add_piece): New arguments bit_piece, offset.
+ Always use xrealloc to resize piece array.
+ (execute_stack_op) <DW_OP_reg0>: Handle DW_OP_bit_piece.
+ <DW_OP_piece>: Update.
+ <DW_OP_bit_piece>: New case.
+
+2010-05-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (read_pieced_value): Exit loop when result is full.
+ <DWARF_VALUE_OPTIMIZED_OUT>: New case.
+ * dwarf2expr.h (enum dwarf_value_location)
+ <DWARF_VALUE_OPTIMIZED_OUT>: New constant.
+ * dwarf2expr.c (dwarf_expr_stack_empty_p): New function.
+ (add_piece): Handle empty piece.
+ (execute_stack_op) <DW_OP_piece>: Handle
+ DWARF_VALUE_OPTIMIZED_OUT.
+
+2010-05-21 Tom Tromey <tromey@redhat.com>
+
+ * eval.c (evaluate_subexp_standard) <BINOP_SUBSCRIPT>: Call
+ evaluate_subexp, not evaluate_subexp_with_coercion.
+
+2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter
+ attribute.
+
+2010-05-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (read_pieced_value): Work properly when 'v' has an
+ offset.
+ (write_pieced_value): Likewise.
+
+2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (process_die): Also allow DW_TAG_const_type
+ and DW_TAG_volatile_type.
+ (new_symbol): Likewise.
+
+2010-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * p-valprint.c (pascal_val_print): Call get_array_bounds
+ to obtain the number of elements in an array.
+
+2010-05-19 Doug Evans <dje@google.com>
+
+ * python.c (gdbpy_print_stack): Ensure output ends with a newline.
+
+ * python.c (source_python_script): Add comment.
+ (source_python_script_for_objfile): Remove unnecessary call to
+ gdbpy_print_stack.
+
+2010-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Sergio Durigan Junior <sergiodj@redhat.com>
+
+ Code cleanup.
+ * parse.c (exp_iterate): Use operator_length wrapper function.
+
+2010-05-18 Michael Snyder <msnyder@vmware.com>
+
+ * ada-lang.c: White space.
+ * ada-typeprint.c: White space.
+ * ada-valprint.c: White space.
+ * addrmap.c: White space.
+ * auxv.c: White space.
+ * ax-gdb.c: White space.
+
+2010-05-18 Hui Zhu <teawater@gmail.com>
+
+ * linux-fork.c (inferior_call_waitpid_cleanup): Add check
+ for oldfp.
+ (inferior_call_waitpid): Move make_cleanup out of check.
+ Check the return of waitpid.
+ (delete_checkpoint_command): Add pptid to save fi->parent_ptid.
+
+2010-05-17 Michael Snyder <msnyder@vmware.com>
+
+ * tui/tui.c: White space.
+ * tui/tui-data.c: White space.
+ * tui/tui-disasm.c: White space.
+ * tui/tui-file.c: White space.
+ * tui/tui-interp.c: White space.
+ * tui/tui-main.c: White space.
+ * tui/tui-out.c: White space.
+ * tui/tui-regs.c: White space.
+ * tui/tui-source.c: White space.
+ * tui/tui-stack.c: White space.
+ * tui/tui-win.c: White space.
+ * tui/tui-winsource.c: White space.
+
+ * procfs.c: White space.
+
+ * python/py-auto-load.c: White space.
+ * python/py-block.c: White space.
+ * python/py-breakpoint.c: White space.
+ * python/py-cmd.c: White space.
+ * python/py-function.c: White space.
+ * python/py-lazy-string.c: White space.
+ * python/py-objfile.c: White space.
+ * python/py-param.c: White space.
+ * python/py-prettyprint.c: White space.
+ * python/py-progspace.c: White space.
+ * python/py-symtab.c: White space.
+ * python/python.c: White space.
+ * python/py-type.c: White space.
+ * python/py-utils.c: White space.
+ * python/py-value.c: White space.
+
+ * mi/mi-cmd-break.c: White space.
+ * mi/mi-cmd-env.c: White space.
+ * mi/mi-cmds.c: White space.
+ * mi/mi-cmd-stack.c: White space.
+ * mi/mi-cmd-var.c: White space.
+ * mi/mi-console.c: White space.
+ * mi/mi-getopt.c: White space.
+ * mi/mi-interp.c: White space.
+ * mi/mi-main.c: White space.
+ * mi/mi-out.c: White space.
+ * mi/mi-parse.c: White space.
+
+ * cli/cli-cmds.c: White space.
+ * cli/cli-decode.c: White space.
+ * cli/cli-dump.c: White space.
+ * cli/cli-interp.c: White space.
+ * cli/cli-logging.c: White space.
+ * cli/cli-script.c: White space.
+ * cli/cli-setshow.c: White space.
+
+ * valarith.c: White space.
+ * valops.c: White space.
+ * valprint.c: White space.
+ * value.c: White space.
+ * varobj.c: White space.
+ * xcoffread.c: White space.
+ * xml-support.c: White space.
+ * xml-tdesc.c: White space.
+
+2010-05-17 Andreas Schwab <schwab@redhat.com>
+
+ PR gdb/11092
+ * c-lang.c (c_printstr): Compute real length of NUL terminated
+ string at first.
+
+2010-05-17 Joel Brobecker <brobecker@adacore.com>
+
+ * parse.c (parse_exp_in_context): When block is not NULL, use
+ its associated language to parse the expression instead of
+ the current_language.
+
+2010-05-17 Joel Brobecker <brobecker@adacore.com>
+
+ * jv-lang.c (java_lookup_class): Remove commented out code.
+ (type_from_class): Likewise.
+ (java_op_print_tab): Remove commented-out elements.
+
+2010-05-17 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (to_fixed_range_type): The the raw index type as
+ argument instead of the raw type name. Remove orig_type parameter.
+ Update calls throughout.
+ (ada_fixup_array_indexes_type): New function.
+ (ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type.
+ * ada-lang.h (ada_fixup_array_indexes_type): Add declaration.
+ * ada-typeprint.c (print_range_type): Renames print_range_type_named.
+ Remove name parameter.
+ (print_array_type): Add call to ada_fixup_array_indexes_type.
+ Update calls to print_range_type.
+ (ada_print_type): Update calls to print_range_type.
+
+2010-05-17 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (read_set_type): Set type length if
+ DW_AT_byte_size attribute is present.
+
+2010-05-17 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * p-valprint.c (pascal_val_print): Handle set type if range limits
+ are undefined but size is known.
+
+2010-05-17 Pedro Alves <pedro@codesourcery.com>
+
+ * procfs.c: Reformat.
+
+2010-05-16 Michael Snyder <msnyder@vmware.com>
+
+ * target.c: White space.
+ * target-descriptions.c: White space.
+ * target-memory.c: White space.
+ * thread.c: White space.
+ * top.c: White space.
+ * tracepoint.c: White space.
+ * trad-frame.c: White space.
+ * tramp-frame.c: White space.
+ * ui-file.c: White space.
+ * ui-out.c: White space.
+ * user-regs.c: White space.
+ * utils.c: White space.
+
+ * scm-exp.c: White space.
+ * scm-lang.c: White space.
+ * scm-valprint.c: White space.
+ * sentinel-frame.c: White space.
+ * ser-base.c: White space.
+ * ser-go32.c: White space.
+ * serial.c: White space.
+ * ser-mingw.c: White space.
+ * ser-pipe.c: White space.
+ * ser-tcp.c: White space.
+ * ser-unix.c: White space.
+ * solib.c: White space.
+ * solib-darwin.c: White space.
+ * solib-frv.c: White space.
+ * solib-irix.c: White space.
+ * solib-osf.c: White space.
+ * solib-pa64.c: White space.
+ * solib-som.c: White space.
+ * solib-spu.c: White space.
+ * solib-svr4.c: White space.
+ * solib-target.c: White space.
+ * source.c: White space.
+ * stabsread.c: White space.
+ * stack.c: White space.
+ * std-regs.c: White space.
+ * symfile.c: White space.
+ * symmisc.c: White space.
+ * symtab.c: White space.
+
+2010-05-16 Michael Snyder <msnyder@vmware.com>
+
+ * source.c (_initialize_source): Add "rev" as an abbreviation
+ for the "reverse-search" command.
+
+2010-05-16 Michael Snyder <msnyder@vmware.com>
+
+ * record.c: White space.
+ * regcache.c: White space.
+ * reggroups.c: White space.
+ * remote-fileio.c: White space.
+ * remote-m32r-sdi.c: White space.
+ * remote-mips.c: White space.
+ * remote-sim.c: White space.
+ * remote.c: White space.
+ (process_g_packet): Remove orphan braces.
+
+2010-05-15 Michael Snyder <msnyder@vmware.com>
+
+ * parse.c: White space.
+ * p-lang.c: White space.
+ * posix-hdep.c: White space.
+ * printcmd.c: White space.
+ * progspace.c: White space.
+ * prologue-value.c: White space.
+ * psymtab.c: White space.
+ * p-typeprint.c: White space.
+ * p-valprint.c: White space.
+
+ * objc-lang.c: White space.
+ * objfiles.c: White space.
+ * observer.c: White space.
+ * osabi.c: White space.
+ * osdata.c: White space.
+
+ * m2-lang.c: White space.
+ * m2-valprint.c: White space.
+ * macrocmd.c: White space.
+ * macroexp.c: White space.
+ * macroscope.c: White space.
+ * macrotab.c: White space.
+ * main.c: White space.
+ * maint.c: White space.
+ * mdebugread.c: White space.
+ * memattr.c: White space.
+ * minsyms.c: White space.
+ * monitor.c: White space.
+
2010-05-14 Michael Snyder <msnyder@vmware.com>
+ * jv-lang.c: White space.
+ * jv-typeprint.c: White space.
+ * jv-valprint.c: White space.
+ * language.c: White space.
+ * libunwind-frame.c: White space.
+ * linespec.c: White space.
+ * linux-nat.c: White space.
+ * linux-record.c: White space.
+ * linux-thread-db.c: White space.
+
* infcall.c: White space.
* inf-child.c: White space.
* infcmd.c: White space.