* printcmd.c (ui_printf): Eliminate single-use variable
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c00a32d6e5c8b3b1d78c29063d9cd4f9e12453ad..abd8d104cb967f1925868c9cb23f7da1afde8b51 100644 (file)
@@ -1,3 +1,100 @@
+2012-09-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * printcmd.c (ui_printf): Eliminate single-use variable
+       PARAM_LEN.
+
+2012-09-14  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * valops.c (value_assign): Move observer_notify_target_changed
+       below to replace reinit_frame_cache.
+
+2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
+
+       Refactor Python "gdb" module into a proper Python package, by
+       introducing a new "_gdb" module for code implemented in C, and
+       using reload/__import__ instead of exec.
+       * python/lib/gdb/__init__.py: Import * from _gdb.
+       (GdbOutputFile, sys.stdout, GdbOutputErrorFile, sys.stderr,
+       prompt_hook, sys.argv): Moved from finish_python_initialization.
+       (pretty_printers, PYTHONDIR): Moved from _initialize_python.
+       (packages, auto_load_packages): New list and function replacing
+       module_dict and auto-loading code, using __file__ instead of
+       gdb.PYTHONDIR and reload/__import__ instead of exec.
+       (GdbSetPythonDirectory): Replacing function of the same name
+       from finish_python_initialization, using reload/__import__ instead
+       of exec, as well as call auto_load_packages.
+       * python/py-prettyprint.c (find_pretty_printer_from_gdb): Check
+       gdb_python_module and not gdb_module.
+       * python/python-internal.h (gdb_python_module): Declare.
+       * python/python.c (gdb_python_module): New global.
+       (before_prompt_hook): Check gdb_python_module and not gdb_module.
+       (_initialize_python): Rename gdb module to _gdb.
+       Move gdb.PYTHONDIR and gdb.pretty_printer to lib/gdb/__init__.py.
+       (finish_python_initialization): Move Python code to
+       lib/gdb/__init__.py; instead, set up sys.path and import gdb into
+       __main__.
+
+2012-09-13  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_OBS): Add registry.o.
+       * registry.c: New file.
+       * registry.h (struct registry_container): Declare.
+       (registry_data_callback): New typedef.
+       (struct registry_data, struct registry_data_registration, struct
+       registry_data_registry): New type.
+       (register_data_with_cleanup, registry_alloc_data)
+       (registry_callback_adaptor, registry_clear_data)
+       (registry_container_free_data, registry_set_data, registry_data):
+       Declare.
+       (DEFINE_REGISTRY): Refactor structures and functions as shims over
+       the new common structures and functions.
+       (DECLARE_REGISTRY): Declare struct TAG ## _data.  Use the tagged
+       callback typedefs.
+
+2012-09-12  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_read_addr_index): Fix handling the case where
+       cu == NULL.
+
+2012-09-11  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_do_expand_symtabs_matching): Don't examine
+       .gdb_index symbol attributes if there are none.
+
+2012-09-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * symtab.h (struct minimal_symbol) [has_size]: New field.
+       (MSYMBOL_SIZE): Adjust to forbid macro from being used as lvalue.
+       (SET_MSYMBOL_SIZE, MSYMBOL_HAS_SIZE): New macros.
+       * printcmd.c (build_address_symbolic): Only filter out zero-sized
+       minimal symbols if the symbol's size is actually known.
+       * minsyms.c (prim_record_minimal_symbol_full): Adjust setting
+       of msymbol's size field.  Add comment.
+       * elfread.c (elf_symtab_read, elf_rel_plt_read): Use
+       SET_MSYMBOL_SIZE to set the minimal symbol size.
+
+2012-09-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * minsyms.c (install_minimal_symbols): Use memset to fill entire
+       minimal_symbol struct object, rather than setting some of its
+       fields one by one.
+
+2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * c-typeprint.c (c_type_print_varspec_prefix): Pass through the
+       passed_a_ptr flag when displaying typedef types.
+
+2012-09-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (coerce_unspec_val_to_type): Make sure that
+       the optimized_out flag is preserved.
+
+2012-09-10  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_analyze_prologue): Update for function
+       prologue changes in GCC.
+
 2012-09-10  Keith Seitz  <keiths@redhat.com>
 
        PR gdb/13483
This page took 0.027588 seconds and 4 git commands to generate.