Identify remote fork event support
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e669e098f675fd16e2bec7f7b1e19f86230b3032..be75baf4fe33eb7fde45d41a03b89e8c998797f4 100644 (file)
@@ -1,3 +1,266 @@
+2015-05-12  Don Breazeal  <donb@codesourcery.com>
+
+       * nat/linux-ptrace.c (linux_check_ptrace_features): Change
+       from static to extern.
+       * nat/linux-ptrace.h (linux_check_ptrace_features): Declare.
+       * remote.c (anonymous enum): <PACKET_fork_event_feature,
+       * PACKET_vfork_event_feature>: New enumeration constants.
+       (remote_protocol_features): Add table entries for new packets.
+       (remote_query_supported): Add new feature queries to qSupported
+       packet.
+
+2015-05-12  Gary Benson <gbenson@redhat.com>
+
+       * remote.c (remote_add_inferior): Call exec_file_locate_attach
+       for fake PIDs as well as real ones.
+       (remote_pid_to_exec_file): Send empty annex if PID is fake.
+
+2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * NEWS (Python Scripting): Mention the new gdb.Value methods.
+       * python/py-value.c (valpy_reference_value): New function.
+       (valpy_const_value): Likewise.
+       (value_object_methods): Add new methods.
+       * value.c (make_cv_value): New function.
+       * value.h (make_cv_value): Declare.
+
+2015-05-08  Yao Qi  <yao@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+       * dwarf2read.c (setup_type_unit_groups): Do NULL pointer check
+       to 'lh->include_dirs' before accessing to it.
+       (psymtab_include_file_name): Likewise.
+       (dwarf_decode_lines_1): Likewise.
+       (dwarf_decode_lines): Likewise.
+       (file_file_name): Likewise.
+
+2015-05-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-linux-tdep.c (NIOS2_SIGRETURN_TRAMP_ADDR): Define.
+       (NIOS2_SIGRETURN_REGSAVE_OFFSET): Define.
+       (nios2_linux_rt_sigreturn_init): Adjust base address of
+       register save area.
+
+2015-05-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_breakpoint_from_pc): Revert to using
+       "trap 31" as the breakpoint instruction on all targets.
+
+2015-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infcmd.c (print_return_value): Remove unused declaration.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (attr_to_dynamic_prop)
+       <DW_AT_data_member_location>: Use read_type_die isntead of
+       get_die_type.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_convert_actual): Add handling of formals
+       passed inside an aligner type.
+
+2015-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py (NOT_FSF_LIST): Remove sim/erc32 entries.
+
+2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR python/18291
+       * python/lib/gdb/command/xmethods.py (print_xm_info): Fix typo.
+       Print xmethod matcher status.
+
+2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-nat.c (fill_gregset): Avoid relying on the PSWA
+       register in the regcache when treating the PSWM register, and vice
+       versa.
+
+2015-05-07  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (struct thread_db_info)
+       <td_ta_map_id2thr_p>: Remove field.
+       (try_thread_db_load_1): Remove initialization for the above.
+
+2015-05-07  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (struct thread_db_info)
+       <td_thr_validate_p>: Remove field.
+       (try_thread_db_load_1): Remove initialization for the above.
+
+2015-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (compile_object_load): Support
+       mst_text_gnu_ifunc.
+
+2015-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile.c (compile_to_object): Make the cmd_string parameter
+       const.  Use new variables for the const compatibility.
+       (eval_compile_command): Make the cmd_string parameter const.
+       * compile/compile.h (eval_compile_command): Make the cmd_string
+       parameter const.
+
+2015-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * defs.h (deprecated_init_ui_hook): Delete.  Remove associated
+       comment.
+       * top.c (deprecated_init_ui_hook): Delete.
+       (gdb_init): Remove handling of deprecated_init_ui_hook.
+       * interps.c (clear_interpreter_hooks): Remove handling of
+       deprecated_init_ui_hook.
+       * main.c (captured_main): Update comment.
+
+2015-05-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib.c (_initialize_solib): Add "info dll" alias creation.
+       * windows-nat.c (set_windows_aliases): Delete.
+       (_initialize_windows_nat): Remove deprecated_init_ui_hook
+       assignment.
+       * NEWS: Add news entry about "info dll" now being available
+       on all platforms.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (value_assign_to_component): Reformat and improve
+       documentation. Remove all trailing spaces.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
+       Stop counting inlined frames as soon as an out-of-line function
+       is found.
+
+2014-05-05  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * dwarf2read.c (inherit_abstract_dies): Skip
+       DW_TAG_GNU_call_site dies while inheriting children of an
+       abstract DIE into a scope.
+       (read_lexical_block_scope): Inherit abstract DIE's for
+       lexical scopes.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (val_print_packed_array_elements): Delete
+       variable "len".  Add a type-length check when comparing two
+       consecutive elements of the array.  Use the element's actual
+       length in call to value_contents_eq.
+       * ada-lang.c (ada_value_primitive_packed_val): Always return
+       a value whose type has been resolved.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Recompute
+       BIT_SIZE and LEN if the size of the resolved type is smaller
+       than BIT_SIZE * HOST_CHAR_BIT.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Use a more
+       correct address in call to value_at.  Adjust call to
+       value_address accordingly.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (ada_val_print_1): Resolve TYPE before trying
+       to print it.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2loc.h (struct property_addr_info): Add "valaddr" field.
+       * dwarf2loc.c (dwarf2_evaluate_property): Add handling of
+       pinfo->valaddr.
+       * gdbtypes.h (resolve_dynamic_type): Add "valaddr" parameter.
+       * gdbtypes.c (resolve_dynamic_struct): Set pinfo.valaddr.
+       (resolve_dynamic_type_internal): Set pinfo.valaddr.
+       Add handling of addr_stack->valaddr.
+       (resolve_dynamic_type): Add "valaddr" parameter.
+       Set pinfo.valaddr field.
+       * ada-lang.c (ada_discrete_type_high_bound): Update call to
+       resolve_dynamic_type.
+       (ada_discrete_type_low_bound): Likewise.
+       * findvar.c (default_read_var_value): Likewise.
+       * value.c (value_from_contents_and_address): Likewise.
+
+2015-05-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.c (resolve_dynamic_array): Use
+       create_array_type_with_stride instead of create_array_type.
+
+2015-04-30  DJ Delorie  <dj@redhat.com>
+
+       * rl78-tdep.c (rl78_analyze_prologue): Pass RL78_ISA_DEFAULT to
+       rl78_decode_opcode
+
+2015-04-29  Doug Evans  <dje@google.com>
+
+       PR python/18285
+       * NEWS: Document new gdb.XMethodWorker.get_result_type method.
+       * eval.c (evaluate_subexp_standard) <OP_FUNCALL>: Handle
+       EVAL_AVOID_SIDE_EFFECTS for xmethods.
+       * extension-priv.h (struct extension_language_ops)
+       <get_xmethod_result_type>: New member.
+       * extension.c (get_xmethod_result_type): New function.
+       * extension.h (get_xmethod_result_type): Declare.
+       * python/py-xmethods.c (get_result_type_method_name): New static
+       global.
+       (py_get_result_type_method_name): Ditto.
+       (gdbpy_get_xmethod_result_type): New function.
+       (gdbpy_initialize_xmethods): Initialize py_get_result_type_method_name.
+       * python/python-internal.h (gdbpy_get_xmethod_result_type): Declare.
+       * python/python.c (python_extension_ops): Add
+       gdbpy_get_xmethod_result_type.
+       * python/lib/gdb/xmethod.py (XMethodWorker): Add get_result_type.
+       * valarith.c (value_x_binop): Handle EVAL_AVOID_SIDE_EFFECTS for
+       xmethods.
+       (value_x_unop): Ditto.
+       * value.c (result_type_of_xmethod): New function.
+       * value.h (result_type_of_xmethod): Declare.
+
+2015-04-29  Gary Benson <gbenson@redhat.com>
+
+       * solib.c (solib_find_1): Allow fd argument to be NULL.
+       (exec_file_find): Update comment.
+       (solib_find): Likewise.
+       * exec.c (exec_file_locate_attach): Use NULL as fd
+       argument to exec_file_find to avoid having to close
+       the opened file.
+       * infrun.c (follow_exec): Likewise.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       PR python/18299
+       * python/lib/gdb/printing.py (register_pretty_printer): Handle
+       name or __name__ attributes.  Handle gdb module as first argument.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       PR python/18089
+       * python/py-prettyprint.c (print_children): Verify result of children
+       iterator.  Provide better error message.
+       * python/python-internal..h (gdbpy_print_python_errors_p): Declare.
+       * python/python.c (gdbpy_print_python_errors_p): New function.
+
+2015-04-28  Doug Evans  <dje@google.com>
+
+       * gdbtypes.h (struct cplus_struct_type) <n_baseclasses>: Fix comment.
+
+2015-04-28  Sasha Smundak  <asmundak@google.com>
+
+       * NEWS: Mention gdb.Type.optimized_out method.
+       * python/py-type.c (typy_optimized_out):  New function.
+
+2015-04-28  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
+
+2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * utils.c (init_page_info): Set rl_catch_sigwinch to zero.
+       (initialize_utils): Move call of init_page_info() to ...
+       * top.c (gdb_init): ... here.
+
 2015-04-28  Patrick Palka  <patrick@parcs.ath.cx>
 
        * tui/tui-win.c (tui_sigwinch_handler): Remove now-stale comment.
This page took 0.02944 seconds and 4 git commands to generate.