+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
+ * gdbtypes.h (BOOL_PTR_CONVERSION_BADNESS): Rename to ...
+ (BOOL_CONVERSION_BADNESS): ... this.
+ * gdbtypes.c (BOOL_PTR_CONVERSION_BADNESS): Likewise.
+ (rank_one_type): Allow all boolean conversions
+ permitted by the standard.
+
+2012-09-06 Tom Tromey <tromey@redhat.com>
+
+ * python/py-newobjfileevent.c (create_new_objfile_event_object):
+ Don't decref py_objfile.
+
+2012-09-02 Khoo Yit Phang <khooyp@cs.umd.edu>
+
+ Do not enable -lmcheck by default when Python is enabled with
+ threading support.
+ * configure.ac: (python_has_threads) New variable, by testing
+ if WITH_THREAD is defined in Python.h.
+ Move --enable-lmcheck after --with-python.
+ Do not enable -lmcheck by default if python_has_threads=yes.
+ Warn if --enable-lmcheck and python_has_threads=yes.
+ * configure: Regenerate.
+
+2012-08-31 Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmds.c (mi_cmds): New macros DEF_MI_CMD_CLI
+ DEF_MI_CMD_MI DEF_MI_CMD_CLI_1 and DEF_MI_CMD_CLI_1.
+ Update some commands.
+ * mi/mi-cmds.h (struct mi_cmd) <suppress_notification>: New field.
+ * mi/mi-main.c (mi_cmd_execute): Set '*parse->cmd->suppress_notification'
+ to 1.
+
+2012-08-31 Yao Qi <yao@codesourcery.com>
+
+ * mi/mi-cmds.c (mi_cmds): Add 'static'.
+
+2012-08-30 Khoo Yit Phang <khooyp@cs.umd.edu>
+
+ * MAINTAINERS (Write After Approval): Add "Khoo Yit Phang".
+
+2012-08-29 Doug Evans <dje@google.com>
+
+ * main.c (print_gdb_help): Remove reference to
+ --use-deprecated-index-sections.
+
+2012-08-28 Yao Qi <yao@codesourcery.com>
+
+ * cli/cli-cmds.c (max_user_call_depth): Add 'unsigned'.
+ (init_cmds): Call add_setshow_uinteger_cmd for command
+ 'max-user-call-depth'.
+ * cli/cli-script.c (execute_user_command): Add 'unsigned' to the
+ declaration of 'max_user_call_depth'.
+ * frame.c (backtrace_limit): Add 'unsigned'.
+ (_initialize_frame): Call add_setshow_uinteger_cmd for command
+ 'limit'.
+ * remote.c (remoteaddresssize): Add 'unsigned'.
+ (remote_address_masked): Change local var 'address_size' to
+ 'unsigned'.
+ (_initialize_remote): Call add_setshow_uinteger_cmd for
+ 'remoteaddresssize'.
+ * top.c (history_size): Add 'unsigned'.
+ (show_commands): Change local variables to 'unsigned'.
+ (set_history_size_command): Don't check history_size is negative.
+ Adjust the condition to call unstifle_history and set history_size
+ to UNIT_MAX.
+
+2012-08-28 Pedro Alves <palves@redhat.com>
+
+ PR gdb/14428
+
+ * infcmd.c (default_print_one_register_info): New, factored out
+ from default_print_registers_info.
+ (default_print_registers_info): Use it. Mark value unavailable if
+ necessary.
+ (registers_info): Print user registers with
+ default_print_one_register_info.
+
+2010-08-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR tui/14486
+ * tui/tui-source.c (tui_source_is_displayed): Check if TUI_SRC_WIN
+ is not NULL before referencing it.
+
+2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (parse_breakpoint_sals) <(*address) == NULL>: New
+ variable pc. Call find_pc_line instead of find_pc_overlay, restore
+ original PC for it.
+
+2012-08-27 Eli Zaretskii <eliz@gnu.org>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * auto-load.c (auto_load_objfile_script): Rename to ...
+ (auto_load_objfile_script_1): ... here, change variable realname to
+ parameter realname, document it, add return value, add variable retval.
+ (auto_load_objfile_script): New function.
+
+2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cli/cli-decode.c (print_doc_line): Keep skipping '.' and ',' not
+ followed by a whitespace.
+
+2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR gdb/14494.
+ * dwarf2read.c (dwarf2_locate_sections): Move variable aflag here.
+ Move the SEC_HAS_CONTENTS check here - for any NAMES use.
+ (dwarf2_locate_sections) <eh_frame>: Move the variable and check from
+ here.
+
+2012-08-27 Wei-cheng Wang <cole945@gmail.com>
+
+ * memattr.c (create_mem_region): Fix memory region overlapping
+ checking.
+
+2012-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * h8300-tdep.c (h8300_push_dummy_call): Replace unsafe alloca
+ with xmalloc/cleanup.
+ * mt-tdep.c (mt_push_dummy_call): Likewise.
+ * tilegx-tdep.c (tilegx_push_dummy_call): Likewise.
+ * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise.
+
+2012-08-24 Yao Qi <yao@codesourcery.com>
+
+ * jv-exp.y (push_expression_name): Add "." at the end of error
+ message.
+
+2012-08-23 Khoo Yit Phang <khooyp@cs.umd.edu>
+
+ Document how to return from "python-interactive" to GDB.
+ * python/python.c (_initialize_python): Update documentation.
+
2012-08-23 Pedro Alves <palves@redhat.com>
* infrun.c (_initialize_infrun) <handle command help text>:
Python interactive prompt with "pi" as alias, and add "py" as
an alias to "python".
* NEWS: Mention the new commands.
- * doc/gdb.texinfo (Python Commands): Document the new
- commands.
* python/python.c (eval_python_command): New function.
(python_interactive_command): For "python-interactive" with
arguments, call eval_python_command. For "python-interactive"