+
+ * 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.
+
+
+ * 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.
+
+
+ * valops.c (value_cast): Move TYPE_CODE_VOID case earlier.
+
+
+ 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.
+
+
+ * aix-thread.c (getthrds): Fix type of 4th parameter.
+ (get_signaled_thread): Change type of variable ktid to tid_t.
+
+
+ * dwarf2loc.c (dwarf_expr_frame_base): Add check for the return
+ value of get_frame_block.
+
+
+ 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.
+
+
+ * symmisc.c: Whitespace fixes.
+
+
+ * 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.
+
+
+ * dwarf2read.c (struct dwarf2_per_objfile): Clarify comment.
+ (dw2_find_symbol_file): Delete unused local file_data.
+
+
+ * 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.
+
+
+ * breakpoint.c (print_one_breakpoint_location): Indent code.
+
+
+ * breakpoint.c (print_one_breakpoint_location): Combine two
+ blocks handling 'hit count' together.
+
+
+ * 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.
+
+
+ * tic6x-linux-tdep.c (tic6x_register_sigcontext_offset): Don't
+ check REGNUM >= 0.
+
+
+ * infrun.c: Make the declaration of 'init_infwait_state'
+ static.
+ (init_infwait_state): Make it 'static'.
+
+
+ * python/python.c (finalize_python): Cast unused PyGILState_Ensure
+ return value to void to avoid compiler warning.
+
+
+ * opencl-lang.c (opencl_print_type): New function.
+ (opencl_language_arch_info): Install it.
+
+
+ * 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.
+
+
+ * ada-lang.c (ada_is_interface_tag): New function.
+ (ada_is_ignored_field): Add interface tags to the list
+ of ignored fields.
+
+
+ * 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.
+
+
+ * ada-lang.c (ada_evaluate_subexp): Unwrap only in EVAL_NORMAL.
+
+
+ GDB 7.5.1 released.
+
+
+ * eval.c (evaluate_subexp_standard): Get the correct pointer
+ type for TYPE_CODE_MEMBERPTR.
+
+
+ * rs6000-tdep.c (gdb_print_insn_powerpc): Remove info->mach checking,
+ since now it is being done by binutils' powerpc_init_dialect().
+
+
+ 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.
+
+
+ * configure.ac: Check for linux/perf_event.h.
+ * config.in: Regenerated.
+ * configure: Regenerated.
+
+
+ * 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'.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * symtab.c (symtab_symbol_info): Fix a -Wformat-extra-args
+ warning.
+ Add i18n markup.
+
+
+ * 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.
+
+
+ * exec.c (exec_file_attach): Move cleanup after verifying that
+ memory has in fact been allocated.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
+ extraneous parentheses.
+
+
+ * remote.c (remote_start_remote): Typo fix.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ 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.
+
+
+ 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.
+
+
+ * 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.
+
+
+ * completer.c (count_struct_fields): Remove.
+ (expression_completer): Don't call count_struct_fields.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * objfiles.c (init_entry_point_info): Remove trailing spaces.
+
+
+ * infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid'
+ to deprecated_context_hook.
+
+
+ * infrun.c (infwait_state): Add static.
+
+
+ PR c++/13615
+ * cp-namespace.c (cp_lookup_symbol_in_namespace): Add SEARCH
+ parameter and pass it to lookup_symbol_file.
+ (cp_lookup_symbol_imports): Tell cp_lookup_symbol_in_namespace
+ to search base classes.
+ (cp_lookup_symbol_namespace): Likewise.
+ (lookup_namespace_scope): Likewise.
+ (lookup_symbol_file): Add SEARCH parameter.
+ If SEARCH is non-zero and no symbol is found, lookup the class
+ and call cp_lookup_nested_symbol.
+ (find_symbol_in_baseclass): New function.
+ (cp_lookup_nested_symbol): Do not let
+ cp_lookup_symbol_in_namespace search through base classes.
+ Do that later when there is no global symbol match.
+
+
+ * main.c (gdb_datadir_provided): New static global.
+ (get_init_files): If --data-directory is provided,
+ and SYSTEM_GDBINIT lives in data-directory, look for it there.
+ * NEWS: Mention it.
+
+
+ ARI fixes: move gdb_wait and gdb_stat headers to common subdirectory.
+ * gdb_stat.h: Delete. Moved to common directory.
+ * common/gdb_stat.h: New file.
+ * gdb_wait.h: Delete. Moved to common directory.
+ * common/gdb_wait.h: New file.
+ * Makefile.in (H_FILES_NO_SRC): Adapt to new header
+ location.
+ * contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h
+ location.
+ (stat.h rule): Adapt to new gdb_stat.h location.
+ * common/linux-osdata.c: Include "gdb_stat.h" header instead of
+ <sys/stat.h> header.
+ * common/linux-ptrace.c: Include "gdb_wait.h" header instead of
+ <sys/wait.h> header.
+
+
+ * configure.ac (AC_HEADER_STAT): Remove.
+ * gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use
+ and corresponding code.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+
+ ARI xasprintf rule fixes.
+ * dwarf2read.c (create_dwo_in_dwp): Use xstrprintf function
+ instead of xasprintf.
+ (open_and_init_dwp_file): Ditto.
+
+
+ * value.c (value_actual_type): Check for TYPE_CODE_STRUCT
+ target types.
+
+
+ * configure, config.in: Rebuild.
+ * configure.ac: Don't check for ctype.h, time.h.
+ * expprint.c: Don't use HAVE_CTYPE_H.
+
+
+ * gdbarch.h, gdbarch.c: Rebuild.
+ * gdbarch.sh (set_target_gdbarch): Rename from
+ deprecated_target_gdbarch_select_hack.
+ * arch-utils.c (gdbarch_update_p): Update.
+ (set_gdbarch_from_file): Update.
+
+
+ * MAINTAINERS (Responsible Maintainers/misc): Add myself
+ as responsible of contrib/ari directory.
+
+
+ * arm-tdep.c (arm_addr_bits_remove): Do not adjust the low
+ bit of EXC_RETURN.
+ (arm_m_exception_cache, arm_m_exception_this_id)
+ (arm_m_exception_prev_register, arm_m_exception_unwind_sniffer)
+ (arm_m_exception_unwind): New.
+ (arm_gdbarch_init): Register arm_m_exception_unwind.
+
+
+ * mi/mi-main.c (mi_cmd_data_write_memory): Handle additional
+ parameter COUNT, for pattern filling of memory regions.
+ * NEWS: Mention it.
+
+
+ * disasm.h (DISASSEMBLY_FILENAME): New macro.
+ * disasm.c (do_mixed_source_and_assembly): Pass filename flag on
+ to print_source_lines ().
+ * symtab.h (PRINT_SOURCE_LINES_FILENAME): New print source lines
+ flag.
+ * source.c (print_source_lines_base): Prefix source line with
+ filename if PRINT_SOURCE_LINES_FILENAME flag is set.
+
+
+ * symtab.h (print_source_lines_flags): New enum.
+ * source.c (print_source_lines_base): Change noerror to flags.
+ (print_source_lines): Change noerror to flags.
+
+
+ ARI fixes: Avoid sprintf function use rule.
+ * charset.c (convert_between_encodings): Use xsnprintf.
+ * cli-out.c (cli_field_int): Likewise.
+ * cp-namespace.c (cp_lookup_nested_symbol): Likewise.
+ * expprint.c (op_name_standard): Likewise.
+ * frv-tdep.c (set_variant_num_gprs): Likewise.
+ (set_variant_num_fprs): Likewise.
+ * m68hc11-tdep.c (m68hc11_initialize_register_info): Likewise.
+ * nto-tdep.c (nto_find_and_open_solib): Likewise.
+ (nto_init_solib_absolute_prefix): Likewise.
+ * source.c (init_source_path): Likewise.
+ (print_source_lines_base): Likewise.
+ * valprint.c (print_wchar): Likewise.
+ * mi/mi-out.c (mi_field_int): Likewise.
+ windows-nat.c (windows_pid_to_exec_file): Likewise.
+ (windows_create_inferior): Likewise.
+ (_initialize_check_for_gdb_ini): Likewise.
+
+
+ * frame.h (deprecated_frame_register_read): Renames
+ frame_register_read.
+ * frame.c (deprecated_frame_register_read): Renames
+ frame_register_read. Update all callers.
+ * i386-tdep.c: Update all callers of frame_register_read.
+ * infcmd.c: Likewise.
+ * jit.c: Likewise.
+ * mips-tdep.c: Likewise.
+ * mt-tdep.c: Likewise.
+ * sh64-tdep.c: Likewise.
+
+
+ * frame.h (frame_register_read): Remove FIXME comment.
+ * frame.c (frame_register_read): Add suggestion explaining
+ which function to use in place of this one.
+
+
+ * python/python.c (start_type_printers): Initialize 'result_obj'.
+
+
+ * NEWS: Update.
+ * data-directory/Makefile.in (PYTHON_FILES): Add
+ type_printers.py.
+ * python/lib/gdb/command/type_printers.py: New file.
+ * python/lib/gdb/command/types.py (TypePrinter): New class.
+ (_get_some_type_recognizers, get_type_recognizers,
+ apply_type_recognizers, register_type_printer): New
+ functions.
+ * python/py-objfile.c (objfile_object) <type_printers>: New
+ field.
+ (objfpy_dealloc): Decref new field.
+ (objfpy_new): Set new field.
+ (objfpy_get_type_printers, objfpy_set_type_printers): New
+ functions.
+ (objfile_to_objfile_object): Set new field.
+ (objfile_getset): Add "type_printers".
+ * python/py-progspace.c (pspace_object) <type_printers>: New
+ field.
+ (pspy_dealloc): Decref new field.
+ (pspy_new): Set new field.
+ (pspy_get_type_printers, pspy_set_type_printers): New functions.
+ (pspace_to_pspace_object): Set new field.
+ (pspace_getset): Add "type_printers".
+ * python/python.c (start_type_printers, apply_type_printers,
+ free_type_printers): New functions.
+ (_initialize_python): Set gdb.type_printers.
+ * python/python.h (start_type_printers, apply_type_printers,
+ free_type_printers): Declare.
+ * typeprint.c (type_print_raw_options, default_ptype_flags):
+ Update for new fields.
+ (do_free_global_table, create_global_typedef_table,
+ find_global_typedef): New functions.
+ (find_typedef_in_hash): Use find_global_typedef.
+ (whatis_exp): Use create_global_typedef_table. Change cleanup
+ handling.
+ * typeprint.h (struct type_print_options) <global_typedefs,
+ global_printers>: New fields.
+
+
+ * c-typeprint.c (find_typedef_for_canonicalize,
+ print_name_maybe_canonical): New functions.
+ (c_print_type): Look up type name.
+ (cp_type_print_derivation_info): Add flags argument. Use
+ print_name_maybe_canonical.
+ (cp_type_print_method_args): Add wrapping.
+ (c_type_print_varspec_prefix): Use print_name_maybe_canonical.
+ (c_type_print_template_args): New function.
+ (c_type_print_base): Change wrapping. Use
+ print_name_maybe_canonical.
+ <TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do
+ type name lookups.
+ * gdbtypes.c (types_equal): No longer static.
+ * gdbtypes.h (types_equal): Declare.
+ * typeprint.c (type_print_raw_options, default_ptype_flags):
+ Update.
+ (struct typedef_hash_table): New.
+ (hash_typedef_field, eq_typedef_field,
+ recursively_update_typedef_hash, add_template_parameters,
+ create_typedef_hash, free_typedef_hash, do_free_typedef_hash,
+ make_cleanup_free_typedef_hash, copy_typedef_hash_element,
+ copy_typedef_hash, find_typedef_in_hash): New functions.
+ * typeprint.h (struct type_print_options) <local_typedefs>:
+ New field.
+ (recursively_update_typedef_hash, add_template_parameters,
+ create_typedef_hash, free_typedef_hash,
+ make_cleanup_free_typedef_hash, copy_typedef_hash,
+ find_typedef_in_hash): Declare.
+
* cp-support.c (inspect_type,