gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 037ff2940342e098a5a33f4ed263500bd237a227..141b98cf8e7217658e1a8c7c63d80bbf8765becb 100644 (file)
@@ -1,3 +1,105 @@
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup - rename 'inline' depth to 'artificial' depth.
+       * breakpoint.c (set_momentary_breakpoint): Rename at a caller to
+       frame_id_artificial_p, extend the comment.
+       * dwarf2-frame-tailcall.c (tailcall_frame_this_id): Rename at a user.
+       * frame.c (fprint_frame_id): Rename at a user, change debug output
+       text to "artificial=".
+       (skip_inlined_frames): Rename to ...
+       (skip_artificial_frames): ... here.  Extend the comment.
+       (get_stack_frame_id, frame_unwind_caller_id): Rename at a caller.
+       (frame_id_inlined_p): Rename to ...
+       (frame_id_artificial_p): ... here.  Rename at a user.
+       (frame_id_eq, frame_id_inner, frame_unwind_caller_pc)
+       (frame_unwind_caller_pc_if_available, frame_unwind_caller_arch): Rename
+       at a user.
+       * frame.h (struct frame_id): Rename inline_depth to artificial_depth.
+       Extend the comment.
+       (frame_id_inlined_p): Rename to ...
+       (frame_id_artificial_p): ... here.
+       * inline-frame.c (inline_frame_this_id): Rename at a user.
+
+2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
+
+       * c-typeprint.c (c_type_print_varspec_suffix): Display the size of
+       vector variables using vector_size syntax rather than array
+       syntax.
+
+2012-09-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * valarith.c (value_concat): Replace unsafe ALLOCA with
+       XMALLOC/XFREE.
+
+2012-09-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.1 (SEE ALSO): Expand pointer to GDB's Texinfo manual.
+
+2012-09-14  Khoo Yit Phang  <khooyp@cs.umd.edu>
+
+       Point contrib/cc-with-tweaks.sh to the build-local data-directory.
+       * contrib/cc-with-tweaks.sh (GDB): Add -data-directory
+       data-directory as appropriate.
+
+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
This page took 0.03427 seconds and 4 git commands to generate.