* python/py-arch.c (gdbpy_initialize_arch): Use
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 25962917a1030e3d198fbfe395c50386cd5b1b58..8804d8e65ddc336d52e985bea28b8b52e902c639 100644 (file)
@@ -1,3 +1,860 @@
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-arch.c (gdbpy_initialize_arch): Use
+       gdb_pymodule_addobject.
+       * python/py-block.c (gdbpy_initialize_blocks): Use
+       gdb_pymodule_addobject.
+       * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use
+       gdb_pymodule_addobject.
+       * python/py-cmd.c (gdbpy_initialize_breakpoints): Use
+       gdb_pymodule_addobject.
+       * python/py-event.c (gdbpy_initialize_event_generic): Use
+       gdb_pymodule_addobject.
+       * python/py-evtregistry.c (gdbpy_initialize_eventregistry): Use
+       gdb_pymodule_addobject.
+       * python/py-evts.c (add_new_registry): Use
+       gdb_pymodule_addobject.
+       (gdbpy_initialize_py_events): Likewise.
+       * python/py-finishbreakpoint.c
+       (gdbpy_initialize_finishbreakpoints): Use
+       gdb_pymodule_addobject.
+       * python/py-frame.c (gdbpy_initialize_frames): Use
+       gdb_pymodule_addobject.
+       * python/py-function.c (gdbpy_initialize_functions): Use
+       gdb_pymodule_addobject.
+       * python/py-inferior.c (gdbpy_initialize_inferior): Use
+       gdb_pymodule_addobject.
+       * python/py-infthread.c (gdbpy_initialize_thread): Use
+       gdb_pymodule_addobject.
+       * python/py-objfile.c (gdbpy_initialize_objfile): Use
+       gdb_pymodule_addobject.
+       * python/py-param.c (gdbpy_initialize_parameters): Use
+       gdb_pymodule_addobject.
+       * python/py-progspace.c (gdbpy_initialize_pspace): Use
+       gdb_pymodule_addobject.
+       * python/py-symbol.c (gdbpy_initialize_symbols): Use
+       gdb_pymodule_addobject.
+       * python/py-symtab.c (gdbpy_initialize_symtabs): Use
+       gdb_pymodule_addobject.
+       * python/py-type.c (gdbpy_initialize_types): Use
+       gdb_pymodule_addobject.
+       * python/py-utils.c (gdb_pymodule_addobject): New function.
+       * python/py-value.c (gdbpy_initialize_values): Use
+       gdb_pymodule_addobject.
+       * python/python-internal.h (gdb_pymodule_addobject): Declare.
+       * python/python.c (_initialize_python): Use
+       gdb_pymodule_addobject.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-cmd.c (cmdpy_completer): Use explicit decref.
+       * python/py-param.c (get_set_value, get_show_value): Use
+       explicit decrefs.
+       * python/python.c (start_type_printers, apply_type_printers):
+       Use explicit decrefs.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-evts.c (gdbpy_initialize_py_events): Don't
+       incref the module.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (gdbpy_run_events): Decref the result
+       of PyObject_CallObject.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-symtab.c (set_sal): Use
+       CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.  Return -1 on error.
+       (symtab_and_line_to_sal_object): Update.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-param.c (compute_enum_values): Decref 'item'.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * mi/mi-main.c: Include python-internal.h.
+       (mi_cmd_list_features): Check gdb_python_initialized.
+       * python/py-inferior.c (python_on_normal_stop, python_on_resume)
+       (python_inferior_exit, python_new_objfile, add_thread_object)
+       (delete_thread_object, py_free_inferior): Check
+       gdb_python_initialized.
+       * python/py-prettyprint.c (apply_val_pretty_printer): Check
+       gdb_python_initialized.
+       * python/py-type.c (save_objfile_types): Check
+       gdb_python_initialized.
+       * python/python-internal.h (gdb_python_initialized): Declare.
+       * python/python.c (ensure_python_env): Throw exception if
+       Python not initialized.
+       (before_prompt_hook, source_python_script_for_objfile)
+       (start_type_printers, apply_type_printers,
+       free_type_printers): Check gdb_python_initialized.
+       * varobj.c (varobj_get_display_hint)
+       (dynamic_varobj_has_child_method, update_dynamic_varobj_children)
+       (install_new_value_visualizer, varobj_set_visualizer)
+       (value_get_print_value): Check gdb_python_initialized.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-arch.c (gdbpy_initialize_arch): Return 'int'.
+       Check errors.
+       * python/py-auto-load.c (gdbpy_initialize_auto_load): Return 'int'.
+       * python/py-block.c (gdbpy_initialize_blocks): Return 'int'.
+       Check errors.
+       * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Return 'int'.
+       Check errors.
+       * python/py-cmd.c (gdbpy_initialize_commands): Return 'int'.
+       Check errors.
+       * python/py-event.c (gdbpy_initialize_event): Return 'int'.
+       Check errors.
+       * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Change generated
+       init function to return 'int'.
+       * python/py-evtregistry.c (gdbpy_initialize_eventregistry):
+       Return 'int'.  Check errors.
+       * python/py-evts.c (gdbpy_initialize_py_events): Return 'int'.
+       Check errors.
+       * python/py-finishbreakpoint.c (gdbpy_initialize_finishbreakpoints):
+       Return 'int'.  Check errors.
+       * python/py-frame.c (gdbpy_initialize_frames): Return 'int'.
+       Check errors.
+       * python/py-function.c (gdbpy_initialize_functions): Return 'int'.
+       Check errors.
+       * python/py-gdb-readline.c (gdbpy_initialize_gdb_readline):
+       Check errors.
+       * python/py-inferior.c (gdbpy_initialize_inferior): Return 'int'.
+       Check errors.
+       * python/py-infthread.c (gdbpy_initialize_thread): Return 'int'.
+       Check errors.
+       * python/py-lazy-string.c (gdbpy_initialize_lazy_string): Return 'int'.
+       Check errors.
+       * python/py-objfile.c (gdbpy_initialize_objfile): Return 'int'.
+       Check errors.
+       * python/py-param.c (gdbpy_initialize_parameters): Return 'int'.
+       Check errors.
+       * python/py-progspace.c (gdbpy_initialize_pspace): Return 'int'.
+       Check errors.
+       * python/py-symbol.c (gdbpy_initialize_symbols): Return 'int'.
+       Check errors.
+       * python/py-symtab.c (gdbpy_initialize_symtabs): Return 'int'.
+       Check errors.
+       * python/py-type.c (gdbpy_initialize_types): Return 'int'.
+       Check errors.
+       * python/py-value.c (gdbpy_initialize_values): Return 'int'.
+       Check errors.
+       * python/python-internal.h (gdbpy_initialize_auto_load,
+       gdbpy_initialize_values, gdbpy_initialize_frames,
+       gdbpy_initialize_symtabs, gdbpy_initialize_commands,
+       gdbpy_initialize_symbols, gdbpy_initialize_symtabs,
+       gdbpy_initialize_blocks, gdbpy_initialize_types,
+       gdbpy_initialize_functions, gdbpy_initialize_pspace,
+       gdbpy_initialize_objfile, gdbpy_initialize_breakpoints,
+       gdbpy_initialize_finishbreakpoints,
+       gdbpy_initialize_lazy_string, gdbpy_initialize_parameters,
+       gdbpy_initialize_thread, gdbpy_initialize_inferior,
+       gdbpy_initialize_eventregistry, gdbpy_initialize_event,
+       gdbpy_initialize_py_events, gdbpy_initialize_stop_event,
+       gdbpy_initialize_signal_event,
+       gdbpy_initialize_breakpoint_event,
+       gdbpy_initialize_continue_event,
+       gdbpy_initialize_exited_event, gdbpy_initialize_thread_event,
+       gdbpy_initialize_new_objfile_event, gdbpy_initialize_arch):
+       Update.  Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+       * python/python.c (gdb_python_initialized): New global.
+       (gdbpy_initialize_events): Return 'int'.  Check errors.
+       (_initialize_python): Check errors.  Set
+       gdb_python_initialized.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope):
+       Decref the reslut of PyObject_CallMethod.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-event.c (gdbpy_initialize_event_generic): Return
+       early if PyType_Ready fails.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-type.c (make_fielditem): Add gdb_assert_not_reached
+       as 'default' in the switch.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-inferior.c (gdbpy_inferiors): Update.  Hoist
+       get_addr_from_python calls out of TRY_CATCH.
+       (infpy_write_memory, infpy_search_memory): Likewise.
+       * python/py-utils.c (get_addr_from_python): Return negative
+       value on error.  Use TRY_CATCH.
+       * python/python-internal.h (get_addr_from_python): Use
+       CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-event.c (evpy_emit_event): Decref the
+       result of PyObject_CallFunctionObjArgs.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-cmd.c (cmdpy_completer): Use iterator protocol.
+       Correctly decref.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-event.h (gdbpy_initialize_event_generic): Use
+       CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+       * python/py-evts.c (add_new_registry): Use
+       CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
+       * python/python-internal.h
+       (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-arch.c (archpy_disassemble): Update.
+       * python/py-type.c (typy_get_composite, typy_lookup_typename)
+       (typy_lookup_type): Use GDB_PY_HANDLE_EXCEPTION.
+       * python/py-utils.c (gdbpy_convert_exception): Return 'void'.
+       * python/python-internal.h (CPYCHECKER_SETS_EXCEPTION): New
+       macro.
+       (GDB_PY_HANDLE_EXCEPTION): Update.
+       (gdbpy_convert_exception): Update.  Use CPYCHECKER_SETS_EXCEPTION.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/python-internal.h (events_object_type): Remove.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+        * python/py-event.h (evpy_emit_event): Use
+        CPYCHECKER_STEALS_REFERENCE_TO_ARG.
+        * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
+        New macro.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * py-evtregistry.c (create_event_object): Decref
+       eventregistry_object if PyList_New fails.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * py-cmd.c (gdbpy_string_to_argv): Check result of
+       PyList_New.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (before_prompt_hook): Add cleanup to
+       decref 'hook'.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-function.c (fnpy_init): Decref result of
+       PyObject_GetAttrString.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-threadevent.c (get_event_thread): Use
+       CPYCHECKER_RETURNS_BORROWED_REF.
+       * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
+       New define.
+       (pspace_to_pspace_object, objfile_to_objfile_object)
+       (find_thread_object): Use it.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-arch.c (arch_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-block.c (block_syms_iterator_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-bpevent.c (breakpoint_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-cmd.c (cmdpy_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-continueevent.c (continue_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-event.h (GDBPY_NEW_EVENT_TYPE):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-events.h (thread_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-evtregistry.c (eventregistry_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-exitedevent.c (exited_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-finishbreakpoint.c (finish_breakpoint_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-function.c (fnpy_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-inferior.c (inferior_object_type, membuf_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-infthread.c (thread_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-lazy-string.c (lazy_string_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-newobjfileevent.c (new_objfile_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-objfile.c (objfile_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-param.c (parmpy_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-progspace.c (pspace_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-signalevent.c (signal_event_object_type):
+       Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-symtab.c (symtab_object_type, sal_object_type): Use
+       CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-type.c (type_object_type, field_object_type)
+       (type_iterator_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+       * python/py-internal.h (CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF): New
+       define.
+       (value_object_type, block_object_type, symbol_object_type)
+       (event_object_type, stop_event_object_type, breakpoint_object_type)
+       (frame_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
+
+2013-05-20  Andreas Tobler  <andreas@fgznet.ch>
+
+       * Makefile.in (ALL_TARGET_OBS): Add ppcfbsd-tdep.o.
+       (ALLDEPFILES): Add ppcfbsd-nat.c and ppcfbsd-tdep.c.
+
+2013-05-20  Doug Evans  <dje@google.com>
+
+       When reading CU, stay in DWO.  Be more tolerent of bad debug info.
+       For Fission.
+       * dwarf2read.c (struct dwarf2_per_cu_data): New member
+       reading_dwo_directly.
+       (struct signatured_type): New member dwo_unit.
+       (struct die_reader_specs): New member comp_dir.
+       (create_signatured_type_table_from_index): Use malloc for
+       all_type_units instead of objfile's obstack.
+       (create_all_type_units): Ditto.
+       (fill_in_sig_entry_from_dwo_entry): New function.
+       (add_type_unit): New function.
+       (lookup_dwo_signatured_type): New function.
+       (lookup_dwp_signatured_type): New function.
+       (lookup_signatured_type): New arg cu.  All callers updated.
+       (init_cu_die_reader): Initialize comp_dir.
+       (read_cutu_die_from_dwo): New arg stub_comp_dir.  All callers updated.
+       Change assert of matching type signatures to call error on mismatch.
+       (lookup_dwo_unit): Add assert.
+       (init_tu_and_read_dwo_dies): New function.
+       (init_cutu_and_read_dies): Call it.
+       (build_type_unit_groups): Handle case of no type unit groups created.
+       (hash_dwo_file, eq_dwo_file): Handle missing comp_dir.
+       (lookup_dwo_cutu): Tweak complaint.
+       (dwarf2_free_abbrev_table): Check for NULL abbrev_table.
+       (dwarf2_per_objfile_free): Free all_type_units.
+
+2013-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (handle_unload_dll): Add missing empty line.
+
+2013-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (prototyped_function_p): New function.
+       (read_subroutine_type): Use it.
+
+2013-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-aix-tdep.c: De-indent some example code provided
+       as a comment.
+
+2013-05-17  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Check if the
+       region is ok for a hardware watchpoint using the new ptrace interface
+       on Power servers.
+
+2013-05-17  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention new maintenance commands check-symtabs, and
+       expand-symtabs, and renamed check-psymtabs.
+       * psymtab.c (maintenance_check_psymtabs): Renamed from
+       maintenance_check_symtabs.  Only process already-expanded symbol
+       tables.
+       (_initialize_psymtab): Update.
+       * symmisc.c (maintenance_check_symtabs): New function.
+       (maintenance_expand_name_matcher): New function
+       (maintenance_expand_file_matcher): New function
+       (maintenance_expand_symtabs): New function.
+       (_initialize_symmisc): Add "mt check-symtabs" and "mt expand-symtabs"
+       commands.
+
+2013-05-17  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-inferior.c (infpy_read_memory): Don't call
+       PyErr_SetString if PyObject_New fails.
+       * python/py-frame.c (frame_info_to_frame_object): Don't call
+       PyErr_SetString if PyObject_New fails.
+
+2013-05-17  Pavel Chupin  <pavel.v.chupin@intel.com>
+
+       * acinclude.m4: Add check for dlopen in libdl.
+       * configure.ac: Ditto.
+       * configure: Regenerate.
+
+2013-05-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * frame.c (frame_stash): Convert to htab.
+       (frame_addr_hash): New function.
+       (frame_addr_hash_eq): New function.
+       (frame_stash_create): Convert function to create
+       a hash table.
+       (frame_stash_add): Convert function to add an entry to a hash
+       table.
+       (frame_stash_find): Convert function to search the hash table.
+       (frame_stash_invalidate): Convert function to empty the hash
+       table.
+       (get_frame_id): Only add to stash if a frame_id is created.
+       (_initialize_frame): Call frame_stash_create.
+
+2013-05-16  Yue Lu  <hacklu.newborn@gmail.com>  (tiny change)
+
+       * configure.ac: Ensure MIG is available when building for GNU Hurd
+       hosts.
+       * configure: Regenerate.
+
+2013-05-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
+
+2013-05-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_make_symbol_completion_list): Make sure
+       all cleanups are done before returning from this function.
+
+2013-05-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * utils.h: #include "exceptions.h".
+       (enum errors): Remove partial declaration.
+
+2013-05-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh (core_xfer_shared_libraries_aix): New method.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX
+       handling.
+
+       * rs6000-aix-tdep.h: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h.
+       * rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and
+       "xml-utils.h".
+       (struct field_info, struct ld_info_desc): New types.
+       (ld_info32_desc, ld_info64_desc): New static constants.
+       (struct ld_info): New type.
+       (rs6000_aix_extract_ld_info): New function.
+       (rs6000_aix_shared_library_to_xml): Likewise.
+       (rs6000_aix_ld_info_to_xml): Likewise.
+       (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
+       (rs6000_aix_init_osabi): Add call to
+       set_gdbarch_core_xfer_shared_libraries_aix.
+       * rs6000-nat.c: Add "rs6000-aix-tdep.h" include.
+       Remove "xml-utils.h" include.
+       (LdInfo): Delete typedef.
+       (ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME):
+       Delete macros.
+       (rs6000_ptrace_ldinfo): Change return type to gdb_byte *.
+       Adjust code accordingly.
+       (rs6000_core_ldinfo): Delete, folded into
+       rs6000_aix_core_xfer_shared_libraries_aix.
+       (rs6000_xfer_shared_library): Delete.
+       (rs6000_xfer_shared_libraries): Reimplement.
+
+2013-05-15  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record.c (record_goto_cmdlist): New.
+       (cmd_record_goto): Split into this ...
+       (cmd_record_goto_begin): ... this
+       (cmd_record_goto_end): ... and this.
+       (_initialize_record): Change "record goto" to prefix command.
+       Add commands for "record goto begin" and "record goto end".
+       Add an alias for "record goto start" to "record goto begin".
+
+2013-05-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linespec.c (convert_linespec_to_sals): New comment for
+       SOURCE_FILENAME assignment.
+
+2013-05-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * cleanups.c (restore_my_cleanups): Replace gdb_assert by
+       internal_warning.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+       * eval.c (parse_and_eval_long): Make 'exp' const.
+       * value.h (parse_and_eval_long): Update.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+       * ui-file.c (gdb_fopen): Make arguments const.
+       * ui-file.h (gdb_fopen): Make arguments const.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_set_trace_notes): Make arguments const.
+       * target.c (update_current_target): Update cast.
+       * target.h (to_set_trace_notes): Make arguments const.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+       * go32-nat.c (go32_terminal_info): Make 'args' const.
+       * inferior.h (child_terminal_info): Update.
+       * inflow.c (child_terminal_info): Make 'args' const.
+       * target.c (default_terminal_info): Make 'args' const.
+       (debug_to_terminal_save_ours): Likewise.
+       * target.h (struct target_ops) <to_terminal_info>: Make argument
+       const.
+
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+       * gcore.c (create_gcore_bfd): Make 'filename' const.
+       * gcore.h (create_gcore_bfd): Make 'filename' const.
+       * record-full.c (record_full_save): Make 'recfilename' const.
+       * target.c (target_save_record): Make 'filename' const.
+       * target.h (struct target_ops) <to_save_record>: Make 'filename'
+       const.
+       (target_save_record): Likewise.
+
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/15338:
+       * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
+       ranges section has been read.
+
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/15364:
+       * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
+       STRUCTOP_PTR>: Return a not_lval value for
+       EVAL_AVOID_SIDE_EFFECTS.
+       * opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
+       for EVAL_AVOID_SIDE_EFFECTS.
+
+2013-05-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
+       floating point registers to register type before storing
+       value.
+       * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
+       Likewise.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+       New functions.
+       * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+       Declare.
+       * darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec.
+       (darwin_ptrace_him): Use unmark_fd_no_cloexec.
+       * inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec.
+       (inf_ttrace_prepare): Use mark_fd_no_cloexec.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+           Tom Tromey  <tromey@redhat.com>
+
+       PR build/15414:
+       * configure: Rebuild.
+       * configure.ac (build_warnings): Do not use -Wformat-nonliteral
+       with -Wno-format.
+
+2013-05-10  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (_initialize_remote): Fix spelling of
+       qXfer:traceframe-info:read packet in packet config command.
+
+2013-05-10  David Taylor  <dtaylor@emc.com>
+
+       PR remote/15455
+
+       * remote.c (remote_trace_set_readonly_regions): Do not overwrite
+       "QTro" at start of packet.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_relocate_section_addresses):
+       For the .bss section action, apply the same offset as
+       the .data section.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_relocate_section_addresses):
+       Remove FIXME comment.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       PR tdep/15420:
+       * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+       New functions, directly copied from sparc-sol-thread.c.
+       * sparc-sol-thread.c: Delete.
+       * configure.ac: Remove code handling sparc-solaris-thread.c.
+       * configure: Regenerate.
+
+2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * stack.c (backtrace_command_1): Add "no-filters", and Python frame
+       filter logic.
+       (backtrace_command): Add "no-filters" option parsing.
+       (_initialize_stack): Alter help to reflect "no-filters" option.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
+       (SUBDIR_PYTHON_SRCS): Add py-framefilter.c
+       (py-frame.o): Add target
+       * data-directory/Makefile.in (PYTHON_DIR): Add Python frame
+       filter files.
+       * python/python.h: Add new frame filter constants, and flag enum.
+       (apply_frame_filter): Add definition.
+       * python/python.c (apply_frame_filter): New non-Python
+       enabled function.
+       * python/py-utils.c (py_xdecref): New function.
+       (make_cleanup_py_xdecref): Ditto.
+       * python/py-objfile.c: Declare frame_filters dictionary.
+       (objfpy_dealloc): Add frame_filters dealloc.
+       (objfpy_new): Initialize frame_filters attribute.
+       (objfile_to_objfile_object): Ditto.
+       (objfpy_get_frame_filters): New function.
+       (objfpy_set_frame_filters): New function.
+       * python/py-progspace.c: Declare frame_filters dictionary.
+       (pspy_dealloc): Add frame_filters dealloc.
+       (pspy_new): Initialize frame_filters attribute.
+       (pspacee_to_pspace_object): Ditto.
+       (pspy_get_frame_filters): New function.
+       (pspy_set_frame_filters): New function.
+       * python/py-framefilter.c: New file.
+       * python/lib/gdb/command/frame_filters.py: New file.
+       * python/lib/gdb/frames.py: New file.
+       * python/lib/gdb/__init__.py: Initialize global frame_filters
+       dictionary
+       * python/lib/gdb/FrameDecorator.py: New file.
+       * python/lib/gdb/FrameIterator.py: New file.
+       * mi/mi-cmds.c (mi_cmds): Add frame filters command.
+       * mi/mi-cmds.h: Declare.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
+       --no-frame-filter logic, and Python frame filter logic.
+       (stack_enable_frame_filters): New function.
+       (parse_no_frame_option): Ditto.
+       (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
+       filter logic.
+       (mi_cmd_stack_list_locals): Ditto.
+       (mi_cmd_stack_list_args): Ditto.
+       (mi_cmd_stack_list_variables): Ditto.
+       * NEWS: Add frame filter note.
+
+2013-05-09  Doug Evans  <dje@google.com>
+
+       * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
+       All callers updated.
+       (syms_from_objfile): Ditto.  Make static.
+       (symbol_file_add_with_addrs): Renamed from
+       symbol_file_add_with_addrs_or_offsets.  Delete args offsets,
+       num_offsets.  All callers updated.
+       * symfile.h (syms_from_objfile): Delete.
+
+       * symfile.c (decrement_reading_symtab): Add assert.
+       (increment_reading_symtab): Ditto.
+
+2013-05-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * source.c (forward_search_command): Replace call to getc
+       by call to fgetc.
+       (reverse_search_command): Likewise.
+
+2013-05-08  Doug Evans  <dje@google.com>
+
+       * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
+       matching test.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb): Factorize the code a little.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb): Rework the output of the "maintenance
+       info sol-threads" command a bit.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
+       Replace ti.ti_startfunc by ti.ti_pc.
+
+2013-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-aix.c (solib_aix_free_library_list): New function
+       for the case where HAVE_LIBEXPAT is not defined.
+
+2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/15413:
+       * breakpoint.c (condition_completer): Simplify the code to
+       disconsider multiple locations of breakpoints when completing the
+       "condition" command.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
+       instead of <sys/wait.h>.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
+       trailing new line from warning message.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
+       (PC_SOLIB): Change type from ari_deprecate to ari_regression.
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
+       error message (ARI fix).
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * features/library-list-aix.dtd: Replace library-list by
+       library-list-aix.
+       * rs6000-nat.c: Replace library-list by library-list-aix
+       throughout.
+       * solib-aix.c: Likewise.
+
+2013-05-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
+       Renames TARGET_OBJECT_AIX_LIBRARIES.
+       * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
+       TARGET_OBJECT_LIBRARIES_AIX throughout.
+       * solib-aix.c: Likwise.
+
+2013-05-07  Yao Qi  <yao@codesourcery.com>
+
+       * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
+       (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
+
+2013-05-07  Yao Qi  <yao@codesourcery.com>
+
+       * solib-dsbt.c (enable_break): Declare.
+       (dsbt_current_sos): Remove call to enable_break2.
+       (enable_break2): Rename to enable_break.  Set solib breakpoint
+       on '_dl_debug_state'.
+       (enable_break): Remove.
+
+2013-05-07  Luis Machado  <lgustavo@codesourcery.com>
+
+       * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
+       debug state prior to replicating existing hardware watchpoints or
+       breakpoints.
+
+2013-05-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gcore.c (gcore_create_callback): Ignore sections with
+       separate_debug_objfile_backlink != NULL.
+
+2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
+           Andrew Jenner  <andrew@codesourcery.com>
+           Chung-Lin Tang  <cltang@codesourcery.com>
+           Julian Brown  <julian@codesourcery.com>
+
+       Based on the nios2-elf port from Altera Corporation.
+
+       * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
+       nios2-linux-tdep.o.
+       (HFILES_NO_SRCDIR): Add nios2-tdep.h.
+       (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
+       * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
+       * nios2-tdep.h: New.
+       * nios2-tdep.c: New.
+       * nios2-linux-tdep.c: New.
+       * features/Makefile (WHICH): Add nios2-linux.
+       (nios2-linux-expedite): Set.
+       * features/nios2-cpu.xml: New.
+       * features/nios2.xml: New.
+       * features/nios2-linux.xml: New.
+       * features/nios2.c: New (autogenerated).
+       * features/nios2-linux.c: New (autogenerated).
+       * regformats/nios2-linux.dat: New (autogenerated).
+       * NEWS (Changes since GDB 7.6): Add new Nios II targets
+       and commands.
+
+2013-05-06  Doug Evans  <dje@google.com>
+
+       * symfile.c: Whitespace cleanup.
+
+       * solist.h (struct target_so_ops): New member clear_so.
+       * solib-svr4.c (svr4_clear_so): New function.
+       (_initialize_svr4_solib): Set svr4_so_ops.clear_so.
+       * solib.c (clear_so): Renamed from free_so_symbols.
+       All callers updated.  Call target clear_so if it exists.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Don't
+       call value_incref.
+       * value.c (set_value_parent): Incref the new parent and decref
+       the old parent.
+       (value_copy, value_primitive_field): Use set_value_parent.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
+       (indirect_pieced_value): Call dwarf2_fetch_constant_bytes
+       if needed.
+       * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
+       * dwarf2read.c (write_constant_as_bytes)
+       (dwarf2_fetch_constant_bytes): New functions.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value_data): Remove unused
+       parameters.
+       (dwarf2_const_value_attr): Update.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * somread.c (som_symfile_offsets): Add 'const' to addrs.
+       * machoread.c (macho_symfile_offsets): Add 'const' to addrs.
+       * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
+       Remove declaration.
+
+2013-05-06  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
+       objfile's obstack.
+
+2013-05-06  Doug Evans  <dje@google.com>
+
+       * dbxread.c (process_one_symbol): Constify section_offsets parameter.
+       * stabsread.h (process_one_symbol): Update declaration.
+       * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
+       * elfread.c (elf_symfile_relocate_probe): Ditto.
+       * psymtab.c (relocate_psymtabs): Ditto.
+       * objfiles.c (objfile_relocate1): Constify new_offsets parameter.
+       (objfile_relocate): Ditto.
+       * objfiles.h (objfile_relocate): Update declaration.
+       * symfile.c (relative_addr_info_to_section_offsets): Constify
+       addrs parameter.
+       (default_symfile_offsets): Ditto.
+       (syms_from_objfile_1): Constify offsets parameter.
+       (syms_from_objfile): Ditto.
+       (symbol_file_add_with_addrs_or_offsets): Ditto.
+       (symfile_map_offsets_to_segments): Constify data parameter.
+       * symfile.h (struct quick_symbol_functions): Constify new_offsets,
+       delta parameters of member relocate.
+       (struct sym_probe_fns): Constify new_offsets,
+       delta parameters of member sym_relocate_probe.
+       (struct sym_fns): Constify section_addr_info parameter of member
+       sym_offsets.
+       (relative_addr_info_to_section_offsets): Update declaration.
+       (default_symfile_offsets): Ditto.
+       (syms_from_objfile): Ditto.
+       (symfile_map_offsets_to_segments): Ditto.
+
+       * symfile.c (syms_from_objfile_1): Use correct section count when
+       objfile->sf == NULL.
+
 2013-05-06  Mike Frysinger  <vapier@gentoo.org>
 
        * common/linux-btrace.c (intel_supports_btrace): Fix indentation.
This page took 0.03205 seconds and 4 git commands to generate.