+2012-11-28 Tom Tromey <tromey@redhat.com>
+
+ * dbxread.c (read_dbx_symtab): Update.
+ (end_psymtab, dbx_psymtab_to_symtab_1, dbx_psymtab_to_symtab)
+ (read_ofile_symtab): Add 'objfile' argument.
+ * dwarf2read.c (process_psymtab_comp_unit_reader)
+ (build_type_psymtabs_reader): Update.
+ (dwarf2_psymtab_to_symtab): Add 'objfile' argument.
+ * mdebugread.c (mdebug_psymtab_to_symtab): Add 'objfile'
+ argument.
+ (parse_procedure, parse_partial_symbols): Update.
+ (psymtab_to_symtab_1): Add 'objfile' argument.
+ * psympriv.h (struct partial_symtab) <objfile>: Remove.
+ <read_symtab>: Add 'objfile' argument.
+ (sort_pst_symbols, discard_psymtab): Update.
+ * psymtab.c (partial_map_expand_apply): Update.
+ (find_pc_sect_psymtab_closer): Add 'objfile' argument.
+ (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): Update.
+ (find_pc_sect_psymbol): Add 'objfile' argument.
+ (lookup_symbol_aux_psymtabs): Update.
+ (match_partial_symbol, lookup_partial_symbol, psymtab_to_symtab):
+ Add 'objfile' argument.
+ (find_last_source_symtab_from_partial, dump_psymtab)
+ (dump_psymtabs_for_objfile, read_symtabs_for_function)
+ (expand_partial_symbol_tables, read_psymtabs_with_filename)
+ (find_symbol_file_from_partial, map_matching_symbols_psymtab)
+ (expand_symtabs_matching_via_partial): Update.
+ (sort_pst_symbols): Add 'objfile' argument.
+ (allocate_psymtab): Update.
+ (discard_psymtab): Add 'objfile' argument.
+ (maintenance_info_psymtabs, maintenance_check_symtabs): Update.
+ * stabsread.h (end_psymtab): Update.
+ * xcoffread.c (this_symtab_objfile): New global.
+ (process_linenos, enter_line_range, xcoff_next_symbol_text):
+ Update.
+ (read_xcoff_symtab): Add 'objfile' argument.
+ (read_symbol, read_symbol_lineno): Update.
+ (xcoff_psymtab_to_symtab_1, xcoff_psymtab_to_symtab)
+ (xcoff_end_psymtab): Add 'objfile' argument.
+ (scan_xcoff_symtab): Update.
+
+2012-12-12 Paul Koning <paul_koning@dell.com>
+
+ Add support for Python 3.
+ * NEWS: Mention Python 3 support.
+ * varobj.c (value_get_print_value): Use
+ python_string_to_target_string.
+ * python/py-block.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ * python/py-breakpoint.c: Ditto.
+ * python/py-cmd.c: Ditto.
+ * python/py-event.c: Ditto.
+ * python/py-event.h: Ditto.
+ * python/py-evtregistry.c: Ditto.
+ * python/py-finishbreakpoint.c: Ditto.
+ * python/py-frame.c: Ditto.
+ * python/py-function.c: Ditto.
+ * python/py-infthread.c: Ditto.
+ * python/py-lazy-string.c: Ditto.
+ * python/py-progspace.c: Ditto.
+ * /python/py-symbol.c: Ditto.
+ * python/py-evts.c: (gdbpy_initialize_py_events): Add module
+ initialization for Python 3.
+ * python/py-inferior.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (infpy_read_memory): Return memoryview object if Python 3.
+ (infpy_write_memory): Use "s*" operand parsing code for Python 3.
+ (infpy_search_memory): Ditto.
+ (get_buffer): New function for Python 3.
+ * python/py-objfile.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (objfpy_dealloc): Use Py_TYPE to call tp_free.
+ * python/py-param.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (get_attr): Use PyUnicode_CompareWithASCIIString if Python 3.
+ (set_attr): Ditto.
+ * python/py-prettyprint.c (print_string_repr): use PyBytes methods
+ instead of PyString methods if Python 3.
+ (print_children): Skip push_dummy_python_frame call if Python 3.
+ * python/py-symtab.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (salpy_dealloc): Use Py_TYPE to call tp_free.
+ * python/py-type.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (field_dealloc): Use Py_TYPE to call tp_free.
+ (typy_dealloc): Ditto.
+ (type_object_as_number): Adjust struct initializations for
+ differences in layout for Python 2 vs. Python 3.
+ * python/py-utils.c (python_string_to_unicode): Omit non-Unicode
+ string case for Python 3.
+ (unicode_to_encoded_python_string): Shorten code (no functional
+ change).
+ (python_string_to_target_python_string): Comment that in Python 3
+ returned value is a Python "bytes" type.
+ (gdbpy_is_string): Omit non-Unicode string check in Python 3.
+ (gdb_py_object_from_longest): Omit non-long integer case in Python
+ 3.
+ (gdb_py_object_from_ulongest): Ditto.
+ * python/py-value.c: Use PyVarObject_HEAD_INIT in initialization
+ of type objects.
+ (valpy_dealloc): Use Py_TYPE to call tp_free.
+ (valpy_int): Omit function if Python 3.
+ (convert_value_from_python): Use "%S" format (Python object as a
+ string) if Python 3.
+ (value_object_as_number): Adjust struct initializations for
+ differences in layout for Python 2 vs. Python 3.
+ * python/python-config.py: Adjust syntax for Python 3
+ compatibility.
+ Include "sys.abiflags" string as part of python library name, if
+ that attribute exists (Python 3).
+ * python/python-internal.h (IS_PY3): Define if Python 3.
+ (Py_TPFLAGS_HAVE_ITER, Py_TPFLAGS_CHECKTYPES): Define with
+ placeholder value if Python 3.
+ (PyInt_Check, PyInt_FromLong, PyInt_AsLong, PyString_FromString,
+ PyString_Decode, PyString_FromFormat, PyString_Check): Define as
+ analogous Python 3 API function if Python 3.
+ (PyVarObject_HEAD_INIT): Define if not already defined.
+ (Py_TYPE): Ditto.
+ * python/python.c (eval_python_command): Omit Py_FlushLine call if
+ Python 3.
+ Check return values of all Python API calls for error.
+ Supply dummy "python" and "python-interactive" commands if Python
+ initialization failed.
+ (_initialize_python): Convert argc to wchar_t** if Python 3.
+ Add module initialization for Python 3.
+ (finish_python_initialization): Pass wchar_t * argument to
+ PySys_SetPath if Python 3.
+ * python/lib/gdb/__init__.py: Define "reload" if Python 3.
+ (_GdbFile): New class for common output file behavior.
+ (GdbOutFile): Subclass from _GdbFile.
+ (GdbOutputErrorFile): Ditto.
+ (auto_load_packages): Adjust syntax for Python 3 compatibility.
+ * python/lib/gdb/printing.py: Define basestr and int if Python 3.
+ * python/lib/gdb/prompt.py: Use sorted() function rather than
+ sort() method.
+ * python/lib/gdb/command/explore.py: Define raw_input if Python 3.
+ Adjust syntax for Python 3 compatibility.
+ * python/lib/gdb/command/pretty_printers.py: Use sorted() function
+ rather than sort() method.
+ Adjust syntax for Python 3 compatibility.
+ * python/lib/gdb/command/type_printers.py: Ditto.
+ * doc/gdb.texinfo (Inferior.read_memory): Mention that the return
+ value is a memoryview object if Python 3.
+
+2012-12-12 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (coff_objfile_data_key): New global.
+ (coff_symfile_init): Use set_objfile_data.
+ (coff_symfile_read): Use objfile_data.
+ (coff_symfile_finish): Don't free deprecated_sym_private.
+ (coff_free_info): New function.
+ (_initialize_coffread): Initialize coff_objfile_data_key.
+ * mdebugread.c (pending_list): Update comment.
+ * objfiles.h (struct objfile) <deprecated_sym_private>: Remove.
+ * symfile.c (reread_symbols): Don't mention
+ deprecated_sym_private.
+ * xcoffread.c (xcoff_objfile_data_key): New global.
+ (XCOFF_DATA): New macro.
+ (process_linenos, enter_line_range, xcoff_next_symbol_text)
+ (read_xcoff_symtab, coff_getfilename, read_symbol_lineno): Use
+ XCOFF_DATA.
+ (xcoff_new_init) Use set_objfile_data.
+ (xcoff_symfile_finish): Don't free deprecated_sym_private.
+ (init_stringtab, swap_sym, scan_xcoff_symtab)
+ (xcoff_get_toc_offset, xcoff_initial_scan): Use XCOFF_DATA.
+ (xcoff_free_info): New function.
+ (_initialize_xcoffread): Initialize xcoff_objfile_data_key.
+
+2012-12-12 Tom Tromey <tromey@redhat.com>
+
+ * coffread.c (coff_symfile_init): Use set_objfile_data.
+ (coff_symfile_read): Use DBX_SYMFILE_INFO.
+ * dbxread.c (dbx_objfile_data_key): New global.
+ (dbx_symfile_init): Use set_objfile_data.
+ (dbx_symfile_finish): Don't free deprecated_sym_stab_info.
+ (dbx_free_symfile_info): New function.
+ (coffstab_build_psymtabs, elfstab_build_psymtabs): Use
+ DBX_SYMFILE_INFO.
+ (stabsect_build_psymtabs): Use set_objfile_data.
+ (_initialize_dbxreadb): Initialize dbx_objfile_data_key.
+ * elfread.c (elf_symtab_read): Use DBX_SYMFILE_INFO,
+ set_objfile_data.
+ (free_elfinfo): Use DBX_SYMFILE_INFO.
+ (elf_symfile_finish): Don't free deprecated_sym_stab_info.
+ (elfstab_offset_sections): Use DBX_SYMFILE_INFO.
+ * gdb-stabs.h (dbx_objfile_data_key): Declare.
+ (DBX_SYMFILE_INFO): Rewrite to use objfile_data.
+ * objfiles.h (struct objfile) <deprecated_sym_stab_info>: Remove.
+ * somread.c (som_symfile_finish): Don't free
+ deprecated_sym_stab_info.
+
+2012-12-12 Joel Brobecker <brobecker@adacore.com>
+
+ * gdbarch.sh (software_single_step): Remove trailing space in
+ comment (gdbarch.h is already correct).
+
+2012-12-11 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_get_dwz_file): Set 'dwz_file'.
+
+2012-12-11 Tom Tromey <tromey@redhat.com>
+
+ * dsrec.c (report_transfer_performance): Don't declare.
+ (load_srec): Use gettimeofday, print_transfer_performance.
+ * symfile.c (report_transfer_performance): Remove.
+
+2012-12-11 Pedro Alves <pedro@codesourcery.com>
+ Pedro Alves <palves@redhat.com>
+
+ * procfs.c (procfs_make_note_section) [NEW_PROC_API]: Output a
+ NT_PSTATUS note.
+ * sol2-tdep.c (sol2_core_pid_to_str): Print process IDs
+ differently from LWP IDs.
+
+2012-12-11 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (detect type of /proc): Remove Unixware handling.
+ * configure: Regenerate.
+ * proc-api.c (ioctl_table) [PIOCLSTATUS]: Don't mention Unixware.
+ (ioctl_table) [PCRESET]: Remove entry.
+ * proc-events.c (SYS_lwp_create, SYS_lwp_exit, SYS_lwp_wait)
+ (SYS_lwp_self, SYS_lwp_info, SYS_lwp_private, SYS_lwp_kill)
+ (SYS_lwp_suspend, SYS_lwp_continue): Don't define.
+ * proc-why.c (pr_why_table) [PR_SUSPENDED]: Don't mention Unixware.
+ * procfs.c: Remove all UNIXWARE guarded code, and all traces of
+ Unixware in comments throughout.
+ * i386-tdep.c (i386_svr4_sigtramp_p): Don't match _sigacthandler,
+ and remove mention of Unixware.
+
+2012-12-10 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (dwarf2_cu): Enhance comment.
+ (dwarf2_get_pc_bounds): Only add ranges_base for DIEs that live in
+ the DWO file.
+ (dwarf2_record_block_ranges): Ditto.
+
+ * dwarf2read.c (create_dwo_in_dwp): Tweak comment.
+
+ * symtab.c (find_pc_sect_symtab): Add comment.
+
+2012-12-10 Tom Tromey <tromey@redhat.com>
+
+ * defs.h: Don't check for definition of LONGEST.
+ (min, max): Remove duplicates.
+
+2012-12-10 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_fetch_die_loc_sect_off): New function.
+ (dwarf2_fetch_die_loc_cu_off): Rename from
+ dwarf2_fetch_die_location_block. Rewrite to use
+ dwarf2_fetch_die_loc_sect_off.
+ * dwarf2loc.h (dwarf2_fetch_die_loc_sect_off): Declare.
+ (dwarf2_fetch_die_loc_cu_off): Rename.
+ * dwarf2loc.c (indirect_pieced_value): Use
+ dwarf2_fetch_die_loc_sect_off.
+ * dwarf2expr.h (struct dwarf_expr_context) <len, data>: Update
+ comment.
+ (struct dwarf_expr_piece) <v.ptr.die>: Now a sect_offset.
+ * dwarf2expr.c (add_piece): Update.
+ (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Update comment.
+
+2012-12-10 Tom Tromey <tromey@redhat.com>
+
+ * buildsym.c (struct pending_block): Move from buildsym.h.
+ (pending_blocks): Likewise; now static.
+ (pending_block_obstack): New global.
+ (free_pending_blocks): Free blocks.
+ (record_pending_block): Use pending_block_obstack.
+ * buildsym.h (struct pending_block): Move definition to
+ buildsym.c.
+ (pending_blocks): Don't declare.
+
+2012-12-10 Pedro Alves <palves@redhat.com>
+
+ * solib-svr4.c (svr4_solib_create_inferior_hook) [_SCO_DS]: Remove
+ dead SCO code, and adjust function description comment.
+
+2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac (CC_HAS_LONG_LONG): Replace by AC_MSG_ERROR.
+ * defs.h (LONGEST, ULONGEST): Remove conditionalization for
+ CC_HAS_LONG_LONG.
+ * dwarf2-frame.c (DW64_CIE_ID): Likewise.
+ * dwarf2read.c (extract_cu_value): Remove the function.
+ (create_cus_from_index_list): Make the return type void, inline the
+ extract_cu_value caller, include new gdb_static_assert.
+ (create_cus_from_index): Make the return type void, update the function
+ comment, update the create_cus_from_index_list caller.
+ (create_signatured_type_table_from_index): Make the return type void,
+ inline the extract_cu_value caller, include new gdb_static_assert.
+ (dwarf2_read_index): Update the create_cus_from_index and
+ create_signatured_type_table_from_index caller.
+ * printcmd.c (ui_printf): Remove conditionalizations for
+ CC_HAS_LONG_LONG.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3.
+ Update the comment for checked_producer.
+ (check_producer): New forward declaration.
+ (producer_is_gcc_lt_4_3): New function.
+ (find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3.
+ (check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3.
+
+2012-12-07 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (ada_make_symbol_completion_list): Add 'code'
+ argument, assertion.
+ * c-exp.y (typebase): Add completion productions.
+ * completer.c (expression_completer): Handle tag completion.
+ * expression.h (parse_expression_for_completion): Add argument.
+ * f-lang.c (f_make_symbol_completion_list): Add 'code'
+ argument.
+ * language.h (struct language_defn)
+ <la_make_symbol_completion_list>: Add 'code' argument.
+ * parse.c (expout_tag_completion_type, expout_completion_name):
+ New globals.
+ (mark_struct_expression): Add assertion.
+ (mark_completion_tag): New function.
+ (parse_exp_in_context): Initialize new globals.
+ (parse_expression_for_completion): Add 'code' argument. Handle
+ tag completion.
+ * parser-defs.h (mark_completion_tag): Declare.
+ * symtab.c (default_make_symbol_completion_list_break_on): Add
+ 'code' argument. Update.
+ (default_make_symbol_completion_list): Add 'code' argument.
+ (make_symbol_completion_list): Update.
+ (make_symbol_completion_type): New function.
+ * symtab.h (default_make_symbol_completion_list_break_on)
+ (default_make_symbol_completion_list): Update.
+ (make_symbol_completion_type): Declare.
+
+2012-12-07 Tom Tromey <tromey@redhat.com>
+
+ * expression.h (parse_expression_for_completion): Rename
+ from parse_field_expression.
+ (parse_completion): Rename from in_parse_field.
+ * c-exp.y (lex_one_token): Update.
+ * completer.c (expression_completer): Update.
+ * go-exp.y (lex_one_token): Update.
+ * p-exp.y (yylex): Update.
+ * parse.c (parse_completion): Rename from in_parse_field.
+ (parse_exp_in_context): Update.
+ (parse_expression_for_completion): Rename from
+ parse_field_expression. Update.
+
+2012-12-07 Tom Tromey <tromey@redhat.com>
+
+ * typeprint.c (_initialize_typeprint): Set completer
+ for "whatis" and "ptype".
+
+2012-12-07 Joel Brobecker <brobecker@adacore.com>
+
+ * copyright.py (NOT_FSF_LIST): Remove duplicate entry
+ "sim/common/cgen-fpu.h". Remove invalid entries
+ "sim/common/sim-fpu.c" and "sim/mn10300/sim-main.h",
+ which actually have an FSF copyright header.
+
+2012-12-07 Joel Brobecker <brobecker@adacore.com>
+
+ * osf-share/AT386/cma_thread_io.h: Delete.
+ * osf-share/HP800/cma_thread_io.h: Delete.
+ * osf-share/README: Delete.
+ * osf-share/RIOS/cma_thread_io.h: Delete.
+ * osf-share/cma_attr.h: Delete.
+ * osf-share/cma_deb_core.h: Delete.
+ * osf-share/cma_debug_client.h: Delete.
+ * osf-share/cma_errors.h: Delete.
+ * osf-share/cma_handle.h: Delete.
+ * osf-share/cma_init.h: Delete.
+ * osf-share/cma_list.h: Delete.
+ * osf-share/cma_mutex.h: Delete.
+ * osf-share/cma_sched.h: Delete.
+ * osf-share/cma_semaphore_defs.h: Delete.
+ * osf-share/cma_sequence.h: Delete.
+ * osf-share/cma_stack.h: Delete.
+ * osf-share/cma_stack_int.h: Delete.
+ * osf-share/cma_tcb_defs.h: Delete.
+ * osf-share/cma_util.h: Delete.
+ * Makefile.in (HFILES_NO_SRCDIR): Remove entries for the files
+ in osf-share.
+ * config/djgpp/fnchange.lst: Remove osf-share/cma_stack_int.h entry.
+ * contrib/ari/gdb_find.sh: Remove handling of osf-share.
+ * copyright.sh (NOT_FSF_LIST): Remove "gdb/osf-share" entry.
+
+2012-12-06 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * valops.c (value_cast): Move TYPE_CODE_VOID case earlier.
+
+2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
+
+ PR mi/14741:
+ * mi/mi-cmd-var.c (varobj_update_one): Take value of
+ attribute "dynamic" and "displayhint" from printed child,
+ not the root variable.
+
+2012-12-06 Joel Brobecker <brobecker@adacore.com>
+
+ * aix-thread.c (getthrds): Fix type of 4th parameter.
+ (get_signaled_thread): Change type of variable ktid to tid_t.
+
+2012-12-06 Hui Zhu <hui_zhu@mentor.com>
+
+ * dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
+ value of get_frame_block.
+
+2012-12-05 Pierre Muller <muller@sourceware.org>
+
+ Avoid memory leaks on struct cmd_list_element.doc field.
+ * cli/cli-decode.c (add_alias_cmd): Make a copy of doc field
+ if flags contains DOC_ALLOCATED.
+ (add_setshow_cmd_full): Add DOC_ALLOCATED to set and show
+ flags.
+ (delete_cmd): Handle DOC_ALLOCATED flag.
+ * cli/cli-decode.h (DOC_ALLOCATED): New macro for use
+ in flags filed of struct cmd_list_element.
+ (struct cmd_list_element): Document new flag item.
+
+2012-12-04 Doug Evans <dje@google.com>
+
+ * symmisc.c: Whitespace fixes.
+
+2012-12-04 Karthik Bhat <kv.bhat@samsung.com>
+
+ * i386-tdep.c (i386_skip_prologue): Using symbol table
+ to find the end of prologue for clang compiled binaries.
+ * amd64-tdep.c (amd64_skip_prologue): Using symbol table
+ to find the end of prologue for clang compiled binaries.
+
+2012-12-03 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct dwarf2_per_objfile): Clarify comment.
+ (dw2_find_symbol_file): Delete unused local file_data.
+
+2012-12-03 Tom Tromey <tromey@redhat.com>
+
+ * ada-exp.y (write_object_renaming, write_var_or_type)
+ (write_ambiguous_var, write_var_from_sym): Make blocks const.
+ * ada-lang.c (replace_operator_with_call)
+ (find_old_style_renaming_symbol): Make blocks const.
+ * ada-lang.h (ada_find_renaming_symbol): Update.
+ (struct ada_symbol_info) <block>: Now const.
+ * breakpoint.c (watch_command_1): Update.
+ * breakpoint.h (struct watchpoint) <exp_valid_block,
+ cond_exp_valid_block>: Now const.
+ * c-exp.y (classify_inner_name, classify_name): Make block
+ argument const.
+ * expprint.c (print_subexp_standard) <OP_VAR_VALUE>: Make 'b'
+ const.
+ * expression.h (innermost_block, parse_exp_1): Update.
+ (union exp_element) <block>: Now const.
+ * gdbtypes.c (lookup_template_type, lookup_enum, lookup_union)
+ (lookup_struct): Make block argument const.
+ * gdbtypes.h (lookup_template_type): Update.
+ * go-exp.y (classify_name, classify_packaged_name)
+ (package_name_p): Make block argument const.
+ * objc-lang.c (lookup_struct_typedef): Make block argument const.
+ * objc-lang.h (lookup_struct_typedef): Update.
+ * parse.c (parse_exp_in_context, parse_exp_1)
+ (write_exp_elt_block): Make block arguments const.
+ (expression_context_block, innermost_block): Now const.
+ * parser-defs.h (write_exp_elt_block): Update.
+ (expression_context_block, innermost_block, block_found): Now
+ const.
+ * printcmd.c (struct display) <block>: Now const.
+ * symtab.h (lookup_struct, lookup_union, lookup_enum): Update.
+ * valops.c (address_of_variable): Make block argument const.
+ * value.h (value_of_variable): Update.
+ * varobj.c (struct varobj_root) <valid_block>: Now const.
+
+2012-11-30 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.c (print_one_breakpoint_location): Indent code.
+
+2012-11-30 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.c (print_one_breakpoint_location): Combine two
+ blocks handling 'hit count' together.
+
+2012-11-30 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c (error_is_running, ensure_not_running): Move them
+ to ...
+ * infcmd.c (error_is_running, ensure_not_running): ... here.
+ Make them 'static'.
+ * inferior.h: Remove declarations of error_is_running and
+ ensure_not_running.
+
+2012-11-30 Yao Qi <yao@codesourcery.com>
+
+ * tic6x-linux-tdep.c (tic6x_register_sigcontext_offset): Don't
+ check REGNUM >= 0.
+
+2012-11-30 Yao Qi <yao@codesourcery.com>
+
+ * infrun.c: Make the declaration of 'init_infwait_state'
+ static.
+ (init_infwait_state): Make it 'static'.
+
+2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * python/python.c (finalize_python): Cast unused PyGILState_Ensure
+ return value to void to avoid compiler warning.
+
+2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * opencl-lang.c (opencl_print_type): New function.
+ (opencl_language_arch_info): Install it.
+
+2012-11-29 Tom Tromey <tromey@redhat.com>
+
+ * contrib/ari/gdb_ari.sh: Remove rules for xasprintf and
+ xvasprintf.
+ * common/common-utils.c (xasprintf, xvasprintf): Remove.
+ * common/common-utils.h (xasprintf, xvasprintf): Remove.
+
+2012-11-29 Jerome Guitton <guitton@adacore.com>
+
+ * ada-lang.c (ada_is_interface_tag): New function.
+ (ada_is_ignored_field): Add interface tags to the list
+ of ignored fields.
+
+2012-11-29 Jerome Guitton <guitton@adacore.com>
+
+ * ada-lang.h (ada_tag_value_at_base_address): New function
+ declaration.
+ * ada-lang.c (is_ada95_tag, ada_tag_value_at_base_address):
+ New functions.
+ (ada_to_fixed_type_1, ada_evaluate_subexp): Let ada_tag_base_address
+ relocate the class-wide value if need be.
+ (ada_value_struct_elt, ada_value_ind, ada_coerce_ref):
+ Let ada_tag_value_at_base_address relocate the class-wide access/ref
+ before dereferencing it.
+ * ada-valprint.c (ada_val_print_1): Relocate to base address
+ before displaying the content of an interface-wide ref.
+
+2012-11-29 Jerome Guitton <guitton@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp): Unwrap only in EVAL_NORMAL.
+
+2012-11-29 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.5.1 released.
+
+2012-11-29 Yao Qi <yao@codesourcery.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * eval.c (evaluate_subexp_standard): Get the correct pointer
+ type for TYPE_CODE_MEMBERPTR.
+
+2012-11-28 Edjunior Machado <emachado@linux.vnet.ibm.com>
+
+ * rs6000-tdep.c (gdb_print_insn_powerpc): Remove info->mach checking,
+ since now it is being done by binutils' powerpc_init_dialect().
+
+2012-11-28 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/14290:
+ * solib-darwin.c (gdb_bfd_mach_o_fat_extract): New function.
+ (darwin_solib_get_all_image_info_addr_at_init, darwin_bfd_open):
+ Use it.
+ * gdb_bfd.h (gdb_bfd_mark_parent): Declare.
+ * gdb_bfd.c (gdb_bfd_mark_parent): New function.
+ (gdb_bfd_openr_next_archived_file): Use it.
+
+2012-11-28 Markus Metzger <markus.t.metzger@intel.com>
+
+ * configure.ac: Check for linux/perf_event.h.
+ * config.in: Regenerated.
+ * configure: Regenerated.
+
+2012-11-28 Yao Qi <yao@codesourcery.com>
+
+ * breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to
+ abbreviate 'delete tracepoints' to 'delete tr'.
+ * corefile.c (_initialize_core): Call add_alias_cmd to
+ abbreviate 'set gnutarget' to 'set g'.
+ * value.c (_initialize_values): Call add_alias_cmd to abbreviate
+ 'show convenience' to 'show conv'.
+
+2012-11-27 Joel Brobecker <brobecker@adacore.com>
+
+ * sparc-sol2-nat.c (supply_gregset): Fix first parameter in
+ call to sparc_supply_fpregset.
+ (fill_fpregset): Fix first parameter in call to
+ sparc_collect_fpregset.
+
+2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
+ Kazu Hirata <kazu@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
+
+ * objfiles.c (init_entry_point_info): Call
+ gdbarch_convert_from_func_ptr_addr and
+ gdbarch_addr_bits_remove here ...
+ (entry_point_address_query): ... instead of here.
+ * solib-svr4.c (exec_entry_point): Call
+ gdbarch_addr_bits_remove.
+ * symfile.c (generic_load): Call gdbarch_addr_bits_remove on
+ the entry address.
+
+2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
+
+ * eval.c (evaluate_subexp_standard): Add handling of
+ TYPE_CODE_MEMBERPTR when calling functions. Correct the
+ result of ptype for calling a TYPE_CODE_METHODPTR.
+
+2012-11-27 Yao Qi <yao@codesourcery.com>
+
+ * symtab.c (symtab_symbol_info): Fix a -Wformat-extra-args
+ warning.
+ Add i18n markup.
+
+2012-11-26 Alexander Larsson <alexl@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Mention mini debuginfo feature.
+ * minidebug.c: New file.
+ * configure.ac: Check for lzma.
+ * configure, config.in: Rebuild.
+ * Makefile.in (LIBLZMA): New variable.
+ (CLIBS): Include LIBLZMA.
+ (SFILES): Mention minidebug.c.
+ (COMMON_OBS): Mention minidebug.o.
+ * symfile.c (read_symbols): New function.
+ (syms_from_objfile, reread_symbols): Call it.
+ * symfile.h (find_separate_debug_file_in_section): Declare.
+
+2012-11-26 Keith Seitz <keiths@redhat.com>
+
+ * exec.c (exec_file_attach): Move cleanup after verifying that
+ memory has in fact been allocated.
+
+2012-11-26 Tom Tromey <tromey@redhat.com>
+
+ * ada-lang.c (user_select_syms): Use SYMBOL_SYMTAB.
+ * dwarf2read.c (dw2_find_symbol_file, fixup_go_packaging): Use
+ SYMBOL_SYMTAB.
+ * skip.c (skip_info): Use SYMBOL_SYMTAB.
+
+2012-11-26 Maxime Villard <rustyBSD@gmx.fr>
+ Pedro Alves <palves@redhat.com>
+
+ * common/linux-osdata.c (linux_xfer_osdata_fds): Decrease buffer
+ size parameter passed to readlink by one byte.
+ * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
+ * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
+ * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
+ * inf-child.c (inf_child_fileio_readlink): Decrease local buffer's
+ size by one byte.
+
+2012-11-26 Yao Qi <yao@codesourcery.com>
+
+ * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
+ extraneous parentheses.
+
+2012-11-26 Yao Qi <yao@codesourcery.com>
+
+ * remote.c (remote_start_remote): Typo fix.
+
+2012-11-23 David S. Miller <davem@davemloft.net>
+
+ * sparc-tdep.h (struct sparc_fpregset): New data structure.
+ (sparc32_sunos4_fpregset, sparc32_bsd_fpregset,
+ sparc32_sol2_fpregset): Declare new globals.
+ (sparc32_supply_fpregset, sparc32_collect_fpregset): Add new
+ 'fpregset' argument.
+ * sparc64-tdep.h (sparc64_supply_fpregset,
+ sparc64_collect_fpregset): Likewise.
+ (sparc64_sol2_fpregset, sparc64_bsd_fpregset): Declare new
+ globals.
+ * sparc-nat.h (struct sparc_fpregset): Add forward declaration.
+ (sparc_fpregset): Declare new global.
+ (sparc_supply_fpregset, sparc_collect_fpregset): Add new
+ 'fpregset' argument.
+ * sparc-linux-nat.c (supply_fpregset): Pass sparc_fpregset down
+ into handler.
+ (fill_fpregset): Likewise.
+ (_initialize_sparc_linux_nat): Set sparc_fpregset to
+ sparc32_bsd_fpregset.
+ * sparc-linux-tdep.c (sparc32_linux_supply_core_fpregset): Pass
+ sparc32_bsd_fpregset down into handler.
+ (sparc32_linux_collect_core_fpregset): Likewise.
+ * sparc-nat.c (sparc_fpregset): Define.
+ (sparc_supply_fpregset): Add 'fpregset' argument.
+ (sparc_collect_fpregset): Likewise.
+ (sparc_fetch_inferior_registers): Pass sparc_fpregset down
+ into fpregset handler.
+ (sparc_store_inferior_registers): Likewise.
+ (_initialize_sparc_nat): Set sparc_fpregset to
+ sparc32_sunos4_fpregset if NULL.
+ * sparc-sol2-nat.c (supply_gregset): Pass sparc_sol2_fpregset
+ down into handler.
+ (fill_fpregset): Likewise.
+ * sparc-sol2-tdep.c (sparc32_sol2_fpregset): Define.
+ * sparc-tdep.c (sparc32_supply_fpregset): Add fpregset arg and
+ use it to compute offsets.
+ (sparc32_collect_fpregset): Likewise.
+ (sparc32_sunos4_fpregset, sparc32_bsd_fpregset): Define.
+ * sparc64-linux-nat.c (supply_fpregset): Pass sparc64_bsd_fpregset
+ down into handler.
+ (fill_fpregset): Likewise.
+ * sparc64-linux-tdep.c (sparc64_linux_supply_core_fpregset):
+ Likewise.
+ (sparc64_linux_collect_core_fpregset): Likewise.
+ * sparc64-sol2-tdep.c (sparc64_sol2_fpregset): Define.
+ * sparc64-tdep.c (sparc64_supply_fpregset): Add fpregset arg and
+ use it to compute offsets.
+ (sparc64_collect_fpregset): Likewise.
+ (sparc64_bsd_fpregset): Define.
+ * sparc64fbsd-tdep.c (sparc64fbsd_supply_fpregset): Padd
+ sparc64_bsd_fpregset down into handler.
+ (sparc64fbsd_collect_fpregset): Likewise.
+ * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Add fpregset arg
+ and pass sparc{32,64}_bsd_fpregset down into handler.
+ (sparc64nbsd_collect_fpregset): Likewise.
+ * sparc64nbsd-tdep.c (sparc64nbsd_supply_fpregset): Pass
+ sparc64_bsd_fpregset down into handler.
+ * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Likewise.
+ * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Set sparc_fpregset
+ to sparc32_bsd_fpregset.
+ * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Pass
+ sparc32_bsd_fpregset down into sparc32_supply_fpregset.
+ (sparc32nbsd_supply_fpregset): Likewise.
+
+2012-11-21 Tom Tromey <tromey@redhat.com>
+
+ * gdbtypes.h (struct cplus_struct_type) <localtype_ptr>: Remove
+ field.
+ (TYPE_LOCALTYPE_PTR, TYPE_LOCALTYPE_FILE, TYPE_LOCALTYPE_LINE):
+ Remove.
+ * c-typeprint.c (c_type_print_base): Update.
+
+2012-11-21 Yao Qi <yao@codesourcery.com>
+
+ PR tdep/7438
+ * gdbarch.sh (smash_text_address): Remove.
+ * gdbarch.c, gdbarch.h: Regenerate.
+ * arm-tdep.c (arm_smash_text_address): Remove.
+ (arm_gdbarch_init): Don't call set_gdbarch_smash_text_address.
+ * hppa-tdep.c (hppa_smash_text_address): Remove.
+ (hppa_addr_bits_remove): Rename from hppa_smash_text_address.
+ (hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address.
+ Caller update.
+ * coffread.c (coff_symtab_read): Caller update.
+ * dbxread.c (process_one_symbol): Likewise.
+ * elfread.c (record_minimal_symbol): Likewise.
+ * somread.c (som_symtab_read): Likewise.
+
+2012-11-20 Pierre Muller <muller@sourceware.org>
+
+ ARI fixes: sprintf rule.
+ Replace sprintf function calls for char arrays by
+ calls to xsnprintf calls.
+ * arm-tdep.c (arm_push_dummy_call): Replace sprintf by xsnprintf.
+ (arm_dwarf_reg_to_regnum, arm_return_value): Ditto.
+ (arm_neon_quad_read, arm_pseudo_read): Ditto.
+ (arm_neon_quad_write, arm_pseudo_write): Ditto.
+ * breakpoint.c (condition_completer): Ditto.
+ (create_tracepoint_from_upload): Ditto.
+ * dwarf2read.c (file_full_name): Ditto.
+ * gcore.c (gcore_command): Ditto.
+ * gnu-nat.c (proc_string, gnu_pid_to_str): Ditto.
+ * go32-nat.c (go32_sysinfo): Ditto.
+ * interps.c (interp_set): Ditto.
+ * m32c-tdep.c (make_types): Ditto.
+ * ppc-linux-nat.c (fetch_register, store_register): Ditto.
+ * remote-m32r-sdi.c (m32r_open): Ditto.
+ * sol-thread.c (td_err_string): Ditto.
+ (td_state_string, solaris_pid_to_str): Ditto.
+ * symtab.c (gdb_mangle_name): Ditto.
+ * cli/cli-script.c (execute_control_command): Ditto.
+ (define_command, document_command): Ditto.
+ * tui/tui-io.c (tui_rl_display_match_list): Ditto.
+ * tui/tui-stack.c (tui_make_status_line): Ditto.
+ * tui/tui-win.c (tui_update_gdb_sizes): Ditto.
+
+2012-11-20 Mike Frysinger <vapier@gentoo.org>
+
+ * cli/cli-decode.c (complete_on_cmdlist): Add a fourth arg and check
+ it when looking at ptr->func.
+ * command.h (complete_on_cmdlist): Add a fourth arg.
+ * completer.c (complete_line_internal): Add local ignore_help_classes,
+ and set it to 1 when reason is not handle_help. Pass this down to
+ lookup_cmd_1 and complete_on_cmdlist.
+
+2012-11-20 Tom Tromey <tromey@redhat.com>
+
+ * completer.c (count_struct_fields): Remove.
+ (expression_completer): Don't call count_struct_fields.
+
+2012-11-20 Pedro Alves <palves@redhat.com>
+
+ * annotate.c (breakpoints_changed): Rename to ...
+ (annotate_breakpoints_changed): ... this.
+ (annotate_stopped, breakpoint_changed): Adjust caller.
+ * annotate.h (breakpoints_changed): Rename to ...
+ (annotate_breakpoints_changed): ... this.
+ * breakpoint.c (set_breakpoint_condition, breakpoint_set_commands)
+ (do_map_commands_command, init_raw_breakpoint, clear_command)
+ (set_ignore_count, enable_breakpoint_disp): Adjust callers.
+
+2012-11-20 David S. Miller <davem@davemloft.net>
+
+ * common/linux-osdata.c (get_number_of_cpu_cores): Delete.
+ (linux_xfer_osdata_processes): Fetch _SC_NPROCESSORS_ONLN via
+ sysconf.
+ (get_cores_used_by_process): Update comment.
+
+2012-11-20 Yao Qi <yao@codesourcery.com>
+
+ * objfiles.c (init_entry_point_info): Remove trailing spaces.
+
2012-11-20 Yao Qi <yao@codesourcery.com>
* infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid'