Generalize varobj iterator
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 99d78b512adef4f1625a78466092e16de9dcf9c1..ea57834afbcae9b1e5fa20f63fd397f9590fe41f 100644 (file)
@@ -1,4 +1,128 @@
-2014-06-06  Doug Evans  <dje@google.com>
+2014-06-12  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
+       (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
+       (HFILES_NO_SRCDIR): Add "varobj-iter.h".
+       (py-varobj.o): New rule.
+       * python/py-varobj.c: New file.
+       * python/python-internal.h (py_varobj_get_iterator): Declare.
+       * varobj-iter.h: New file.
+       * varobj.c: Include "varobj-iter.h"
+       (struct varobj) <child_iter>: Change its type from "PyObject *"
+       to "struct varobj_iter *".
+       <saved_item>: Likewise.
+       [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
+       [HAVE_PYTHON] (varobj_get_iterator): New function.
+       (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
+       python-specific code to python/py-varobj.c.
+       (install_visualizer): Call varobj_iter_delete instead of
+       Py_XDECREF.
+       * varobj.h (varobj_ensure_python_env): Declare.
+
+2014-06-12  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (struct varobj_item): New structure.
+       (create_child_with_value): Update declaration.
+       (varobj_add_child): Replace arguments 'name' and 'value' with
+       'item'.  All callers updated.
+       (install_dynamic_child): Likewise.
+       (update_dynamic_varobj_children): Likewise.
+       (varobj_add_child): Likewise.
+       (create_child_with_value): Likewise.
+
+2014-06-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2014-06-11  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
+       * version.in: Bump version to 7.8.50.DATE-cvs.
+
+2014-06-11  Pedro Alves  <palves@redhat.com>
+
+       PR remote/17028
+       * ser-mingw.c (net_windows_socket_check_pending): New function.
+       (net_windows_select_thread): Ignore spurious wakeups.  Use
+       net_windows_socket_check_pending.
+       (net_windows_wait_handle): Check for pending events with
+       ioctlsocket, through net_windows_socket_check_pending, instead of
+       checking the socket's event.
+
+2014-06-10  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * python/python-internal.h (gdb_PyObject_GetAttrString)
+       (gdb_PyObject_HasAttrString): New inline function definitions.
+       * py-value.c (get_field_flag): Remove the now unnecessary cast to
+       char * of the second argument to PyObject_GetAttrString.
+       
+2014-06-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * serial.c (serial_write): Fix index of character to be printed
+       in call to serial_logchar when serial debug traces are enabled.
+
+2014-06-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes (resolve_dynamic_range): Add function description.
+
+2014-06-09  Gary Benson  <gbenson@redhat.com>
+
+       * common/signals.c (gdb_signal_from_host): Reorder to separate
+       the always-available ANSI-standard signals from the signals that
+       require checking.
+       (do_gdb_signal_to_host): Likewise.
+       * proc-events.c (signal_table): Likewise.
+
+2014-06-08  Hui Zhu  <hui@codesourcery.com>
+
+       * common/linux-ptrace.c (linux_disable_event_reporting): New
+       function.
+       * common/linux-ptrace.h (linux_disable_event_reporting): New
+       declaration.
+       * linux-nat.c (linux_child_follow_fork): Do a single step before
+       detach.
+
+2014-06-07  Keith Seitz  <keiths@redhat.com>
+
+       Revert:
+       PR c++/16253
+       * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
+       from symbol_matches_domain in symtab.c. All local callers
+       of symbol_matches_domain updated.
+       (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
+       search STRUCT_DOMAIN.
+       (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
+       independently.  standard_lookup will do that automatically.
+       * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
+       VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
+       (cp_lookup_symbol_in_namespace): Likewise.
+       If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
+       (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
+       may return a STRUCT_DOMAIN match.
+       (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
+       * cp-support.c: Include language.h.
+       (inspect_type): Explicitly search STRUCT_DOMAIN before searching
+       VAR_DOMAIN.
+       * psymtab.c (match_partial_symbol): Compare the requested
+       domain with the symbol's domain directly.
+       (lookup_partial_symbol): Likewise.
+       * symtab.c (lookup_symbol_in_language): Explain when/why
+       VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
+       If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
+       appropriate languages.
+       (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
+       and moved to ada-lang.c
+       (lookup_block_symbol): Explain that this function only returns
+       symbol matching the requested DOMAIN.
+       Compare the requested domain with the symbol's domain directly.
+       (iterate_over_symbols): Compare the requested domain with the
+       symbol's domain directly.
+       * symtab.h (symbol_matches_domain): Remove.
+
+2014-06-06  Doug Evans  <xdje42@gmail.com>
 
        * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
        (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
This page took 0.11058 seconds and 4 git commands to generate.