gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index adcdb978d98472d7f0bac03d3e3a50ad21c62635..57aee09db71433d02de93ef37e005bf0f3bdb6e7 100644 (file)
@@ -1,3 +1,856 @@
+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'
+       to deprecated_context_hook.
+
+2012-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (infwait_state): Add static.
+
+2012-11-16  Keith Seitz  <keiths@redhat.com>
+
+       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.
+
+2012-11-16  Doug Evans  <dje@google.com>
+
+       * 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.
+
+2012-11-15  Pierre Muller  <muller@sourceware.org>
+
+       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.
+
+2012-11-15  Pierre Muller  <muller@sourceware.org>
+
+       * configure.ac (AC_HEADER_STAT): Remove.
+       * gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use
+       and corresponding code.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2012-11-15  Pierre Muller  <muller@sourceware.org>
+
+       ARI xasprintf rule fixes.
+       * dwarf2read.c (create_dwo_in_dwp): Use xstrprintf function
+       instead of xasprintf.
+       (open_and_init_dwp_file): Ditto.
+
+2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
+
+       * value.c (value_actual_type): Check for TYPE_CODE_STRUCT
+       target types.
+
+2012-11-14  Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Rebuild.
+       * configure.ac: Don't check for ctype.h, time.h.
+       * expprint.c: Don't use HAVE_CTYPE_H.
+
+2012-11-13  Tom Tromey  <tromey@redhat.com>
+
+       * 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.
+
+2012-11-14  Pierre Muller  <muller@sourceware.org>
+
+       * MAINTAINERS (Responsible Maintainers/misc): Add myself
+       as responsible of contrib/ari directory.
+
+2012-11-14  Daniel Jacobowitz  <dan@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * 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.
+
+2012-11-13  Giuseppe Montalto  <giuseppe.montalto@st.com>
+
+       * mi/mi-main.c (mi_cmd_data_write_memory): Handle additional
+       parameter COUNT, for pattern filling of memory regions.
+       * NEWS: Mention it.
+
+2012-11-13 Markus Metzger <markus.t.metzger@intel.com>
+
+       * 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.
+
+2012-11-13 Markus Metzger <markus.t.metzger@intel.com>
+
+       * 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.
+
+2012-11-13  Pierre Muller  <muller@sourceware.org>
+
+       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.
+
+2012-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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.
+
+2012-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (start_type_printers): Initialize 'result_obj'.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * 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.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * 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.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * cp-support.c (inspect_type,
+       replace_typedefs_qualified_name, replace_typedefs): Add
+       finder, data arguments.  Call as needed.
+       (cp_canonicalize_string_full): New function.
+       (cp_canonicalize_string_no_typedefs): Rewrite.
+       * cp-support.h (canonicalization_ftype): New typedef.
+       (cp_canonicalize_string_full): Declare.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Update.
+       * c-typeprint.c (c_type_print_base): Handle print_method and
+       print_typedefs flags.
+       * gdbcmd.h (setprinttypelist, showprinttypelist): Declare.
+       * python/py-type.c (typy_str): Use LA_PRINT_TYPE and raw
+       options.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       Update for new field.s
+       (whatis_exp): Parse flags.  Use LA_PRINT_TYPE.
+       (setprinttypelist, showprinttypelist, print_methods,
+       print_typedefs): New globals.
+       (set_print_type, show_print_type, set_print_type_methods,
+       show_print_type_methods, set_print_type_typedefs,
+       show_print_type_typedefs): New functions.
+       (_initialize_typeprint): Update documentation.  Add "print
+       type methods" and "print type typedefs" parameters.
+       * typeprint.h (struct type_print_options) <print_methods,
+       print_typedefs>: New fields.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (cp_type_print_method_args): Add flags
+       argument.  Call c_print_type, not type_print.
+       (c_type_print_base): Call c_print_type, not type_print.
+       Update.
+
+2012-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (user_select_syms, ada_print_subexp): Pass flags
+       to type-printing functions.
+       * ada-lang.h (ada_print_type): Add argument.
+       * ada-typeprint.c (print_array_type, print_variant_clauses,
+       print_variant_part, print_selected_record_field_types,
+       print_record_field_types, print_unchecked_union_type,
+       print_func_type, ada_print_type): Add flags argument.
+       (ada_print_typedef): Update.
+       * c-exp.y (OPERATOR conversion_type_id): Update.
+       * c-lang.h (c_print_type, c_type_print_base): Update.
+       * c-typeprint.c (c_print_type, c_type_print_varspec_prefix,
+       c_type_print_modifier, c_type_print_args,
+       c_type_print_varspec_suffix, c_type_print_base): Add flags
+       argument.
+       * cp-valprint.c (cp_print_class_member): Update.
+       * dwarf2read.c (dwarf2_compute_name): Update.
+       * f-lang.h (f_print_type): Add argument.
+       * f-typeprint.c (f_print_type): Add flags argument.
+       * gnu-v3-abi.c (gnuv3_print_method_ptr): Update.
+       * go-lang.h (go_print_type): Add argument.
+       * go-typeprint.c (go_print_type): Add flags argument.
+       * jv-lang.h (java_print_type): Add argument.
+       * jv-typeprint.c (java_type_print_base, java_print_type): Add
+       flags argument.
+       * language.c (unk_lang_print_type): Add flags argument.
+       * language.h (struct language_defn) <la_print_type>: Add flags
+       argument.
+       (LA_PRINT_TYPE): Likewise.
+       * m2-lang.h (m2_print_type): Add argument.
+       * m2-typeprint.c (m2_print_type, m2_range, m2_typedef,
+       m2_array, m2_pointer, m2_ref, m2_procedure, m2_long_set,
+       m2_unbounded_array, m2_record_fields): Add flags argument.
+       * p-lang.h (pascal_print_type, pascal_type_print_base,
+       pascal_type_print_varspec_prefix): Add argument.
+       * p-typeprint.c (pascal_print_type,
+       pascal_type_print_varspec_prefix, pascal_print_func_args,
+       pascal_type_print_varspec_suffix, pascal_type_print_base): Add
+       flags argument.
+       * symmisc.c (print_symbol): Update.
+       * typeprint.c (type_print_raw_options, default_ptype_flags):
+       New globals.
+       (type_print): Update.
+       * typeprint.h (struct type_print_options): New.
+       (type_print_raw_options): Declare.
+       (c_type_print_varspec_suffix, c_type_print_args): Add argument.
+
+2012-11-10  Keith Seitz  <keiths@redhat.com>
+
+       * breakpoint.c (clear_command): Add cleanup for
+       sals.sals if an argument is given.
+
+       * linespec.c (parse_linespec): Do cleanups after
+       parsing a convenience variable.
+
+2012-11-10  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/14288
+       * c-valprint.c (c_val_print): For character arrays
+       with "print null" option on, print ellipses if
+       the output is truncated and the next character is not \000.
+       * valprint.c (MAX_WCHARS): Define.
+       (WCHAR_BUFLEN): Likewise.
+       (WCHAR_BUFLEN_MAX): Likewise.
+       (struct converted_character): New structure.
+       (count_next_character): New function.
+       (print_converted_chars_to_obstack): New function.
+       (generic_printstr): Rewrite using count_next_character
+       and print_converted_chars_to_obstack.
+
+2012-11-10  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui.c (tui_rl_command_key): Switch to TUI_ONE_COMMAND_MODE
+       while executing the gdb command.
+       (tui_rl_startup_hook): Do not switch back to TUI_SINGLE_KEY_MODE if we
+       are called from prompt_for_continue.
+       * tui/tui-io.c (tui_redisplay_readline): Likewise.
+
+2012-11-10  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       PR tui/9584
+
+       * tui/tui.c (tui_rl_command_key): Do not call execute_command
+       but insert the command to execute in readline's buffer.
+
+2012-11-09  Tom Tromey  <tromey@redhat.com>
+
+       * gdbarch.sh (target_gdbarch): Remove macro.
+       (get_target_gdbarch): Rename to target_gdbarch.
+       * gdbarch.c, gdbarch.h: Rebuild.
+       * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c,
+       arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c,
+       darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c,
+       filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c,
+       ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c,
+       linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c,
+       mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c,
+       mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c,
+       nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c,
+       procfs.c, progspace.c, ravenscar-thread.c, record.c,
+       remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c,
+       rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c,
+       solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c,
+       solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c,
+       solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c,
+       spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c,
+       target-descriptions.c, target.c, target.h, tracepoint.c,
+       windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c,
+       common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c,
+       python/py-inferior.c, python/python.c: Update.
+
+2012-11-09  Andrew Burgess  <aburgess@broadcom.com>
+
+       * source.c (print_source_lines_base): Add fullname field giving
+       full path to file in mi output.
+       * NEWS: Mention the new fullname field.
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * NEWS: Mention the fix to the ambiguity of 'fo' command.
+
+2012-11-09  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14306
+
+       * infrun.c: Include target-descriptions.h.
+       (follow_exec): Fetch new target description.
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * i386-tdep.c (i386_analyze_frame_setup): Handle opcode
+       0x8d (lea).
+
+2012-11-09  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c: Declare set_tracepoint_count.
+       (install_breakpoint): Call set_tracepoint_count if B is a
+       tracepoint.
+       (trace_command): Don't call set_tracepoint_count.  Re-indent.
+       (strace_command, ftrace_command):
+       (create_tracepoint_from_upload): Likewise.
+
+2012-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdbarch.sh (target_gdbarch) <gdbarch.h>: Reimplement as macro.
+       (get_target_gdbarch) <gdbarch.h>: New function.
+       (startup_gdbarch) <gdbarch.h>: Declare.
+       <gdbarch.c> (target_gdbarch): Delete.
+       <gdbarch.c> (deprecated_target_gdbarch_select_hack): Set the
+       current inferior's gdbarch.
+       <gdbarch.c> (get_target_gdbarch): New function.
+       * inferior.c: Include target-descriptions.h.
+       (free_inferior): Free target description info.
+       (add_inferior_with_spaces): Set the inferior's initial
+       architecture.
+       (clone_inferior_command): Copy the original inferior's target
+       description if it was user specified.
+       (initialize_inferiors): Add comment.
+       * inferior.h (struct target_desc_info): Forward declare.
+       (struct inferior) <gdbarch>: New field.
+       * linux-nat.c: Include target-descriptions.h.
+       (linux_child_follow_fork): Copy the parent's architecture and
+       target description to the child.
+       * target-descriptions.c: Include inferior.h.
+       (struct target_desc_info): New structure, holding the equivalents
+       of ...
+       (target_desc_fetched, current_target_desc)
+       (target_description_filename): ... these removed globals.
+       (get_tdesc_info, target_desc_info_from_user_p)
+       (copy_inferior_target_desc_info, target_desc_info_free): New.
+       (target_desc_fetched, current_target_desc)
+       (target_description_filename): Reimplemented as convenience
+       macros.
+       (tdesc_filename_cmd_string): New global.
+       (set_tdesc_filename_cmd): Copy the string manipulated by the "set
+       tdescs filename ..." commands to the per-inferior equivalent.
+       (show_tdesc_filename_cmd): Get the value to show from the
+       per-inferior description filename.
+       (_initilize_target_descriptions): Change the "set/show tdesc
+       filename" commands' variable.
+       * target-descriptions.h (struct target_desc, struct target_desc_info)
+       (struct inferior): Forward declare.
+       (target_find_description, target_clear_description)
+       (target_current_description): Adjust comments.
+       (copy_inferior_target_desc_info, target_desc_info_free)
+       (target_desc_info_from_user_p). Declare.
+
+2012-11-08  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui-hooks.c (tui_about_to_proceed): New function.
+       (tui_target_wait_hook): Remove.
+       (tui_install_hooks): Install the about_to_proceed observer.
+       (tui_remove_hooks): And remove it here.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * linux-tdep.c (linux_make_siginfo_note): New function.
+       (linux_make_corefile_notes): Use it.
+       * corelow.c (get_core_siginfo): New function.
+       (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/14704:
+       * gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS.
+       (zlib_decompress_section): Remove.
+       (gdb_bfd_map_section): Only check for compressed section
+       in mmap case.  Use bfd_get_full_section_contents.
+       * osabi.c (check_note): Add 'sectsize' argument.  Read
+       section data.
+       (generic_elf_osabi_sniff_abi_tag_sections): Don't read
+       section data.  Update for check_note change.
+       * xcoffread.c (xcoff_initial_scan): Use
+       bfd_get_full_section_contents.
+       * py-auto-load.c (auto_load_section_scripts): Use
+       bfd_get_full_section_contents.
+       * contrib/cc-with-tweaks.sh: Add -Z option.
+
+2012-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-bpevent.c: Include defs.h.
+       * python/py-continueevent.c: Include defs.h.
+       * python/py-event.c: Include defs.h.
+       * python/py-event.h: Don't include defs.h.
+       * python/py-events.h: Don't include defs.h.
+       * python/py-evts.c: Include defs.h.
+       * python/py-exitedevent.c: Include defs.h.
+       * python/py-newobjfileevent.c: Include defs.h.
+       * python/py-signalevent.c: Include defs.h.
+       * python/py-stopevent.c: Include defs.h.
+       * python/py-threadevent.c: Include defs.h.
+
+2012-11-08  Pierre Muller  <muller@sourceware.org>
+
+       * update-web-ari.sh (print_heading): Add number of files
+       checked.
+       (nb_files): New variable counting the number of sources
+       files found by gdb_find.sh script.
+       (debug_awk): New variable to allow extra debug output.
+       (indexes): Add more information if DEBUG_AWK is set.
+
+2012-11-08  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2,
+       ppc64_standard_linkage3): Mark ld r11 instructions as optional,
+       following the change in PLT call stubs on linker.
+
+2012-11-08  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c'
+       as default language.
+       (AWK): Use = instead of == for sh test to avoid warning.
+       (Linux rule): Correct [:digit] into [[:digit:]].
+       (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory.
+       (vasprintf rule): Adapt to common subdirectory moves.
+       (xasprintf rule): Idem.
+       (xvasprintf rule): Idem.
+       (var_boolean rule): Accept occurence in == or != test.
+
+       * contrib/ari/gdb_find.sh: Also prune gdbtk directory.
+
+2012-11-08  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * tui/tui-hooks.c (tui_inferior_exit): New function.
+       (tui_detach_hook): Remove.
+       (tui_install_hooks): Install the inferior exit observer.
+       (tui_remove_hooks): Remove it.
+
+2012-11-08  Yao Qi  <yao@codesourcery.com>
+
+       PR gdb/14777.
+       * source.c (_initialize_source): Call add_com_alias to abbreviate
+       'forward-search' as 'fo'.
+
+2012-11-07  Pedro Alves  <palves@redhat.com>
+
+       * arm-tdep.c: Make defs.h be the first include.
+       * coff-pe-read.c: Ditto.
+       * gnu-nat.c: Ditto.
+       * go32-nat.c: Ditto.
+       * i386-nat.c: Ditto.
+       * ppcnbsd-nat.c: Ditto.
+       * ada-varobj.h: Don't include defs.h.
+       * i386-darwin-tdep.h: Ditto.
+       * i386-nat.h: Ditto.
+
+2012-11-07  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS: New FSF-appointed maintainers replace the Steering
+       Committee.
+
+2012-11-07  Pierre Muller  <muller@sourceware.org>
+
+       * common/linux-osdata.c (dirent.h): ARI fix: Remove.
+       File already uses "gdb_dirent.h" header.
+
+2012-11-07  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (get_tracepoint_by_number): Remove 'extern int
+       tracepoint_count'.
+
+2012-11-06  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (inferior_has_forked, inferior_has_vforked)
+       (inferior_has_execd, inferior_has_called_syscall): Remove
+       declarations.
+
+2012-11-06  Pierre Muller  <muller@sourceware.org>
+
+       * remote.c (remote_insert_hw_breakpoint): ARI fix,
+       add missing internalization markup.
+
+2012-11-06  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14810
+
+       * breakpoint.c (bpstat_stop_status): Skip disabled locations.
+
+2012-11-06  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/create-web-ari-in-src.sh: Avoid problem if script
+       is not executable.
+
+2012-11-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gnulib/update-gnulib.sh: New script.
+
+2012-11-05  Stephane Carrez  <Stephane.Carrez@gmail.com>
+
+       * MAINTAINERS: Update my email address.
+
+2012-11-05  Tom Tromey  <tromey@redhat.com>
+
+       * frame.c (put_frame_register): Don't use temporary buffer.
+
+2012-11-05  Pedro Alves  <palves@redhat.com>
+
+       * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork
+       child.  Clear 'pending_detach'.
+       * infrun.c (handle_vfork_child_exec_or_exit): Clear
+       'pending_detach' in the vfork parent.
+
+2012-11-05  Doug Evans  <dje@google.com>
+
+       Add support for DWP files.  http://gcc.gnu.org/wiki/DebugFissionDWP
+       * contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp.
+       * dwarf2read.c: #include "elf-bfd.h".
+       (struct dwarf2_per_objfile): New members dwp_checked, dwp_file.
+       (dwop_section_names): Renamed from dwo_section names.  All uses
+       updated.  Add entries for .debug_cu_index, .debug_tu_index.
+       (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd.
+       All uses updated.
+       (struct dwp_sections): New type.
+       (struct virtual_dwo_sections): New type.
+       (struct dwp_hash_table): New type.
+       (struct dwp_file): New type.
+       (init_cutu_and_read_dies): Ensure DWO info/types section has been
+       read in.  Handle DWOs coming from DWP files.
+       (lookup_dwo_file_slot): New function.
+       (dwarf2_locate_dwo_sections): Move definition closer to use.
+       (create_dwo_debug_info_hash_table_reader): Renamed from
+       create_debug_info_hash_table_reader.  All callers updated.
+       (create_dwo_debug_info_hash_table): Renamed from
+       create_debug_info_hash_table.  All callers updated.
+       (create_dwp_hash_table): New function.
+       (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions.
+       (lookup_dwo_in_dwp): New function.
+       (try_open_dwop_file): Renamed from try_open_dwo_file.  New parameter
+       is_dwp.  All callers updated.
+       (open_dwop_file): Renamed from open_dwo_file.  All callers updated.
+       (open_and_init_dwo_file): Renamed from init_dwo_file.
+       All callers updated.
+       (lookup_dwo_file): Delete.
+       (dwarf2_locate_dwp_sections): New function.
+       (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions.
+       (allocate_dwp_loaded_cutus_table): New function.
+       (open_and_init_dwp_file): New function.
+       (lookup_dwo_cutu): New function.
+       (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it.
+
+2012-11-03  Yao Qi  <yao@codesourcery.com>
+
+       Fix PR gdb/14617.
+       * breakpoint.c (trace_pass_set_count): Call
+       observer_notify_breakpoint_modified instead of
+       observer_notify_tracepoint_modified.
+       * mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise.
+
+2012-11-02  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (catch_syscall_completer): Pass 'word' as second
+       argument to complete_on_enum.
+
+2012-11-02  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac (build_warnings): Add -Wempty-body.
+       * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'.
+       * remote.c (handle_notification): Use braces for empty 'else' body.
+       * s390-tdep.c (s390_analyze_prologue): Use braces for empty
+       'else' body.
+       * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty
+       'else' body.
+       * solib-som.c (som_relocate_section_addresses): Use braces
+       for empty 'else' body.
+       * ui-file.c (stdio_file_write): Use braces for empty 'if' body.
+       (stdio_file_write_async_safe, stdio_file_fputs): Likewise.
+
+2012-11-02  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14766
+
+       * infrun.c (handle_inferior_event)
+       <TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
+       null_ptid before handling a vfork child exec or exit.  Switch to
+       the event ptid afterwards.
+
 2012-11-02  Yao Qi  <yao@codesourcery.com>
 
        * std-operator.def: Remove OP_LABELED.
This page took 0.035319 seconds and 4 git commands to generate.