constify to_disconnect
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7bea5ef81b4cad7b9779aed977380cc3b71ac4f5..44a05d30eaa15cd127949701e3dbcef70f19403f 100644 (file)
@@ -1,3 +1,188 @@
+2014-06-16  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (struct target_ops) <to_disconnect>: Make parameter
+       const.
+       (target_disconnect): Update.
+       * target.c (target_disconnect): Make "args" const.
+       * target-delegates.c: Rebuild.
+       * remote.c (remote_disconnect): Update.
+       * record.h (record_disconnect): Update.
+       * record.c (record_disconnect): Update.
+       * inf-child.c (inf_child_disconnect): Update.
+
+2014-06-16  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (struct target_ops) <to_rcmd>: Make "command" const.
+       * target.c (debug_to_rcmd, default_rcmd): Update.
+       * target-delegates.c: Rebuild.
+       * remote.c (remote_rcmd): Update.
+       * monitor.c (monitor_rcmd): Update.
+
+2014-06-16  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
+       (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
+       have OBJF_SHARED set.
+       * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
+       (shared_objfile_contains_address_p): ... this.  Check OBJF_SHARED
+       instead of OBJF_USERLOADED.
+       * objfiles.h (OBJF_SHARED): Update comment.
+       (userloaded_objfile_contains_address_p): Rename to ...
+       (shared_objfile_contains_address_p): ... this, and update
+       comments.
+       * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
+       new objfile.
+       (remove_symbol_file_command): Skip objfiles that don't have
+       OBJF_SHARED set.
+
+2014-06-16  Tom Tromey  <tromey@redhat.com>
+
+       * minsyms.h (prim_record_minimal_symbol)
+       (prim_record_minimal_symbol_and_info): Update comments.
+
+2014-06-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
+       or --without-guile, according to how GDB was built.
+
+2014-06-13  Tom Tromey  <tromey@redhat.com>
+
+       * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
+       to help_list.
+       * guile/guile.c (info_guile_command): Pass all_commands, not -1,
+       to help_list.
+       * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
+       help_list.
+       * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
+       help_list.Pass all_commands, not -1, to help_list.
+       * cli/cli-dump.c (dump_command, append_command)
+       (srec_dump_command, ihex_dump_command, tekhex_dump_command)
+       (binary_dump_command, binary_append_command): Pass all_commands,
+       not -1, to help_list.
+       * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
+       -1, to help_list.
+       * valprint.c (set_print, set_print_raw): Pass all_commands, not
+       -1, to help_list.
+       * typeprint.c (set_print_type): Pass all_commands, not -1, to
+       help_list.
+       * top.c (set_history): Pass all_commands, not -1, to help_list.
+       * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
+       all_commands, not -1, to help_list.
+       * symfile.c (overlay_command): Pass all_commands, not -1, to
+       help_list.
+       * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
+       help_list.
+       * serial.c (serial_set_cmd): Pass all_commands, not -1, to
+       help_list.
+       * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
+       -1, to help_list.
+       * remote.c (remote_command, set_remote_cmd): Pass all_commands,
+       not -1, to help_list.
+       * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
+       not -1, to help_list.
+       * maint.c (maintenance_command, maintenance_info_command)
+       (maintenance_print_command, maintenance_set_cmd): Pass
+       all_commands, not -1, to help_list.
+       * macrocmd.c (macro_command): Pass all_commands, not -1, to
+       help_list.
+       * language.c (set_check): Pass all_commands, not -1, to help_list.
+       * infcmd.c (unset_command): Pass all_commands, not -1, to
+       help_list.
+       * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
+       help_list.
+       * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
+       help_list.
+       * dcache.c (set_dcache_command): Pass all_commands, not -1, to
+       help_list.
+       * breakpoint.c (save_command): Pass all_commands, not -1, to
+       help_list.
+       * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
+       all_commands, not -1, to help_list.
+
+2014-06-12  Pierre Langlois  <pierre.langlois@embecosm.com>
+
+       * regcache.c (struct register_to_invalidate): New structure.
+       (do_register_invalidate, make_cleanup_regcache_invalidate): New
+       functions.
+       (regcache_raw_write): Call make_cleanup_regcache_invalidate.
+
+2014-06-12  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (varobj_get_num_children): Call
+       varobj_is_dynamic_p.
+       (varobj_list_children): Likewise.
+       (varobj_update): Likewise.  Update comments.
+
+2014-06-12  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (varobj_pretty_printed_p): Rename to ...
+       (varobj_is_dynamic_p): ... this.  New function.
+       * varobj.h (varobj_pretty_printed_p): Remove declaration.
+       (varobj_is_dynamic_p): Declare.
+       * mi/mi-cmd-var.c (print_varobj): All callers updated.
+       (mi_print_value_p, varobj_update_one): Likewise.
+
+2014-06-12  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
+       (varobj_get_iterator): Wrap up code for pretty-printer by
+       "#if HAVE_PYTHON" and "#endif".
+       (update_dynamic_varobj_children): Likewise.
+
+2014-06-12  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * python/py-varobj.c (py_varobj_iter_next): Return NULL if
+       gdb_python_initialized is false.  Move some code from varobj.c.
+       * varobj-iter.h (struct varobj_item): Moved from varobj.c.
+       * varobj.c: Move "varobj-iter.h" inclusion earlier.
+       (struct varobj_item): Moved to varobj-iter.h".
+       (varobj_clear_saved_item): New function.
+       (update_dynamic_varobj_children): Move python-related code to
+       py-varobj.c.
+       (free_variable): Call varobj_clear_saved_item and
+       varobj_iter_delete.
+
+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):
 
        * gdbtypes (resolve_dynamic_range): Add function description.
 
+2014-06-09  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_child_follow_fork): Initialize status with
+       W_STOPCODE (0) instead of 0.  Remove shodowing 'status' local from
+       inner block.  Only pass the signal to PTRACE_DETACH if in pass
+       state.
+
 2014-06-09  Gary Benson  <gbenson@redhat.com>
 
        * common/signals.c (gdb_signal_from_host): Reorder to separate
This page took 0.026535 seconds and 4 git commands to generate.