Set varobj->path_expr in varobj_get_path_expr
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 661f9b63e3b29c83ce89a3b7f2d1119e4e6668a0..3385cfac28d50bb1cd9ce270c1096885c3d40ebf 100644 (file)
@@ -1,5 +1,291 @@
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * varobj.c (varobj_get_path_expr): Set var->path_expr.
+       * c-varobj.c (c_path_expr_of_child): Set local var instead of
+       child->path_expr.
+       (cplus_path_expr_of_child): Same.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi-cmd-var.c (print_varobj): Free varobj_get_expression
+       result.
+       (mi_cmd_var_info_expression): Same.
+       * varobj.c (varobj_get_expression): Mention in the comment that
+       the result must by freed by the caller.
+
+2015-01-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
+       varobj_get_type.
+       (varobj_update_one): Same.
+       * varobj.c (update_type_if_necessary): Free curr_type_str and
+       new_type_str.
+       (varobj_get_type): Specify in comment that the result needs to be
+       freed by the caller.
+
+2015-01-29  Doug Evans  <dje@google.com>
+
+       PR symtab/17890
+       * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
+
+2015-01-25  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2read.c (checkproducer): Call producer_is_gcc.
+       * utils.c (producer_is_gcc_ge_4): Likewise.
+       (producer_is_gcc): New function.
+       * utils.h (producer_is_gcc): New declaration.
+
+2015-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
+       kind.
+       * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
+       parameter by "addr_stack" parameter.
+       (resolve_dynamic_range): Replace "addr" parameter by
+       "stack_addr" parameter.  Update function documentation.
+       Update code accordingly.
+       (resolve_dynamic_array, resolve_dynamic_union)
+       (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
+       (resolve_dynamic_type): Update code, following the changes made
+       to resolve_dynamic_type_internal's interface.
+       * dwarf2loc.h (struct property_addr_info): New.
+       (dwarf2_evaluate_property): Replace "address" parameter
+       by "addr_stack" parameter.  Adjust function documentation.
+       (struct dwarf2_offset_baton): New.
+       (struct dwarf2_property_baton): Update documentation of
+       field "referenced_type" to be more general. New field
+       "offset_info" in union data field.
+       * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
+       parameter by "addr_stack" parameter.  Adjust code accordingly.
+       Add support for PROP_ADDR_OFFSET properties.
+       * dwarf2read.c (attr_to_dynamic_prop): Add support for
+       DW_AT_data_member_location attributes as well.  Use case
+       statements instead of if/else condition.
+
+2015-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-varobj.c (ada_varobj_get_array_number_of_children):
+       Return zero if PARENT_VALUE is NULL and parent_type's
+       range type is dynamic.
+
+2015-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
+       nonzero if the type's subtype is dynamic.
+       (resolve_dynamic_range): Also resolve the range's subtype.
+
+2015-01-29  Alexander Klimov  <alserkli@inbox.ru>  (tiny patch)
+
+       Pushed by Joel Brobecker  <brobecker@adacore.com>.
+       * symfile.c (unmap_overlay_command): Initialize sec to NULL.
+
+2015-01-27  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention gdb.Objfile.username.
+       * python/py-objfile.c (objfpy_get_username): New function.
+       (objfile_getset): Add "username".
+
+2015-01-24  Mark Wielaard  <mjw@redhat.com>
+
+       * stack.c (return_command): Markup warning message with _.
+
+2015-01-24  Doug Evans  <xdje42@gmail.com>
+
+       * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
+
+2015-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix 100x slowdown regression on DWZ files.
+       * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
+       (struct line_header): Add offset and offset_in_dwz.
+       (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
+       (free_line_header_voidp): New declaration.
+       (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
+       functions.
+       (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
+       (handle_DW_AT_stmt_list): Use line_header_hash.
+       (free_line_header_voidp): New function.
+       (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
+       (dwarf_decode_lines): New parameter decode_mapping, use it.
+       (dwarf2_free_objfile): Free line_header_hash.
+
+2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/17416
+       * valops.c (value_rtti_indirect_type): Catch exception thrown by
+       value_ind.
+
+2015-01-15  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
+       DW_AT_noreturn.
+       * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
+       calling_convention an 8 bit bit field.
+       (TYPE_NO_RETURN): New macro.
+       * infcmd.c (finish_command): Query if function does not return
+       normally.
+       * stack.c (return_command): Likewise.
+
+2015-01-23  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_is_async_p): New macro.
+       (linux_nat_is_async_p):
+       (linux_nat_terminal_inferior): Check whether the target can async
+       instead of whether it is already async.
+       (linux_nat_terminal_ours): Don't check whether the target is
+       async.
+       (linux_async_pipe): Use linux_is_async_p.
+
+2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
+       '-ascending'.
+       * thread.c (tp_array_compar_ascending, tp_array_compar): New.
+       (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
+       Sort tp_array using tp_array_compar.
+       (_initialize_thread): Extend thread_apply_all_command help.
+
+2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * corelow.c (core_open): Call also thread_command.
+       * gdbthread.h (thread_command): New prototype moved from ...
+       * thread.c (thread_command): ... here.
+       (thread_command): Make it global.
+
+2015-01-22  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac [*mingw32*]: Check $curses_found instead of
+       $prefer_curses.
+       * configure: Regenerate.
+       * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
+       HAVE_NCURSES_NCURSES_H checks.
+
+2015-01-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
+       fails with the 1st arg NULL, try again with "unknown".  Don't test
+       the "cup" capability: it isn't supported by the Windows port of
+       ncurses, but the Windows console driver is still capable of
+       supporting TUI.
+
+2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
+
+2015-01-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
+       (ALLDEPFILES): Remove irix5-nat.c.  These two are part of the
+       reason that "make TAGS" is broken.
+
+2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
+       and check additional store instructions.
+
+2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
+
+       * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
+
+2015-01-21  Wei-cheng Wang  <cole945@gmail.com>
+
+       * ppc-linux-tdep.c (ppc_skip_trampoline_code,
+       ppc_canonicalize_syscall, ppc_linux_syscall_record,
+       ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
+       * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
+       * rs6000-tdep.c (rs6000_epilogue_frame_cache,
+       rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
+       rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
+       ppc_process_record_op19, ppc_process_record_op31,
+       ppc_process_record_op59, ppc_process_record_op60,
+       ppc_process_record_op63): Likewise.
+
+2015-01-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
+       (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
+       strerror.
+
+2015-01-20  Wei-cheng Wang  <cole945@gmail.com>
+
+       * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
+       ppc_process_record_op31, ppc_process_record_op59,
+       ppc_process_record_op60, ppc_process_record_op63,
+       ppc_process_record): Fix -Wformat warning.
+       * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
+       Remove unused variables.
+
+2015-01-20  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * MAINTAINERS (Write After Approval): Add "Chen Gang".
+
+2015-01-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac [*mingw32*]: Only add windows-termcap.o to
+       CONFIG_OBS if not building with a curses library.
+       * configure: Regenerate.
+
+       * windows-termcap.c: Include defs.h.  Make the whole body empty if
+       either one of HAVE_CURSES_H or HAVE_NCURSES_H or
+       HAVE_NCURSES_NCURSES_H is defined.
+
+2015-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
+       from end of line to start of next line.
+
+2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
+
+       * ppc-linux-tdep.c (ppc_skip_trampoline_code):
+       Scan PLT stub backward for reverse debugging.
+       * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
+
+2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.tgt (powerpc*-*-linux): Add linux-record.o to
+       gdb_target_obs.
+       (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
+       record.
+       (ppc_canonicalize_syscall, ppc_linux_syscall_record,
+       ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
+       (ppc_linux_init_abi): Set process_record, process_record_signal.
+       * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
+       ppc_linux_record_tdep to gdbarch_tdep.
+       (ppc_process_record): New declaration.
+       * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
+       ppc_process_record_op19, ppc_process_record_op31,
+       ppc_process_record_op59, ppc_process_record_op60,
+       ppc_process_record_op63, ppc_process_record): New functions.
+
+2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
+
+       * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
+       rs6000_in_function_epilogue_frame_p and add an argument
+       for frame_info.
+       (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
+       rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
+       New functions.
+       (rs6000_epilogue_frame_unwind): New.
+       (rs6000_gdbarch_init): Append epilogue unwinder.
+
+2015-01-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * nat/linux-personality.c: Replace "#ifndef
+       HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
+       !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
+       systems.
+
 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
 
+       * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
+       functions.
+       (_initialize_tui_win) <border-kind, border-mode>:
+       <active-border-mode>: Use tui_set_var_cmd as the "set" function.
+       (tui_set_tab_width_command): Fix the commentary.
+
+       * tui/tui-win.h: Add prototype for tui_rehighlight_all.
+
        * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
        Doc fix.
        (tui_set_tab_width_command): Delete and recreate the source and
This page took 0.045341 seconds and 4 git commands to generate.