Do not pass NULL for the string in catch_errors
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 19bfc2e78d981054ed9cf8063dc512a5ff4d4577..f653a3d72dfdb832caff94a6645d11b690f7515c 100644 (file)
@@ -1,3 +1,340 @@
+2015-10-26  Luis Machado  <lgustavo@codesourcery.com>
+
+       * record-full.c (record_full_message_wrapper_safe): Pass empty string to
+       catch_errors call instead of NULL.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-ports.c (ioscm_make_gdb_stdio_port): Pass non-const
+       char pointer to scm_mode_bits.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * symtab.c (default_make_symbol_completion_list_break_on_1): Add
+       cast.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-ports.c (gdbscm_memory_port_write): Declare new
+       "data" local variable and use it.
+
+2015-10-26  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * guile/scm-symbol.c (gdbscm_lookup_global_symbol): Add
+       domain_enum cast.
+       (gdbscm_lookup_symbol): Likewise.
+
+2015-10-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-exp.y: Remove an obsolete comment and propagate the block
+       information to the produced expression.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tui/tui-data.c (tui_add_to_source_windows): Remove void *
+       cast.
+       (tui_add_content_elements): Likewise.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-setshow.c (do_set_command): Constify p.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * nat/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Replace
+       (void *) cast with (gdb_byte *).
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * proc-service.c (ps_pdread): Add cast.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * sparc64-tdep.c (sparc64_store_arguments): Split assignment of
+       valbuf.
+
+2015-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ia64-tdep.c (ia64_pseudo_register_write): Remove cast.
+       (ia64_push_dummy_call): Remove cast and change type of "to" to
+       array of gdb_byte.
+
+2015-10-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * linux-btrace.c (linux_enable_pt): Add cast to mmap return.
+
+2015-10-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * observer.h (observer_${event}_notification_stub): Add cast.
+
+2015-10-23  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Set
+       dsd.insn_count to zero.
+
+2015-10-22  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (stop_after_trap): Delete.
+       (clear_proceed_status, handle_signal_stop, struct
+       infcall_control_state, save_infcall_control_state)
+       (restore_infcall_control_state): Remove references to
+       stop_after_trap.
+
+2015-10-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * python/python.c (_initialize_python): Add cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nto-tdep.c (nto_inferior_data): Add cast.
+
+2015-10-22  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c (do_initial_windows_stuff): Rewrite loop using
+       windows_wait and windows_resume directly instead of
+       wait_for_inferior and resume.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * xtensa-tdep.h (XTREG): Add casts.
+       (XTREG_END): Likewise.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-spu.c (spu_bfd_iovec_pread): Add (gdb_byte *) cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * rs6000-tdep.c (variants): Add (enum bfd_architecture) cast.
+
+2015-10-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * mips-linux-tdep.c (mips64_linux_get_longjmp_target): Change type of
+       buf to gdb_byte*.
+       (supply_32bit_reg): Add cast.
+       (mips64_fill_gregset): Likewise.
+
+2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR python/18073
+       * python/py-type.c (typy_get_composite): Allow returning a
+       function type.
+
+2015-10-21  Keven Boell  <keven.boell@intel.com>
+
+       * dwarf2read.c (set_die_type): Add read of
+       DW_AT_allocated and DW_AT_associated.
+       * f-typeprint.c: New include of typeprint.h
+       (f_print_type): Add check for allocated/associated
+       status of type.
+       (f_type_print_varspec_suffix): Add check for
+       * gdbtypes.c (create_array_type_with_stride):
+       Add check for valid data location of type in
+       case allocated or associated attributes are set.
+       Length of an array should be only calculated if
+       allocated or associated is resolved as true.
+       (is_dynamic_type_internal): Add check for allocated/
+       associated.
+       (resolve_dynamic_array): Evaluate allocated/associated
+       properties.
+       * gdbtypes.h (enum dynamic_prop_node_kind): <DYN_PROP_ALLOCATED>
+       <DYN_PROP_ASSOCIATED>: New enums.
+       (TYPE_ALLOCATED_PROP, TYPE_ASSOCIATED_PROP): New macros.
+       (type_not_allocated): New function.
+       (type_not_associated): New function.
+       * valarith.c (value_subscripted_rvalue): Add check for
+       allocated/associated.
+       * valprint.c: New include of typeprint.h.
+       (valprint_check_validity): Add check for allocated/associated.
+       (value_check_printable): Add check for allocated/
+       associated.
+       * typeprint.h (val_print_not_allocated): New function.
+       (val_print_not_associated): New function.
+       * typeprint.c (val_print_not_allocated): New function.
+       (val_print_not_associated): New function.
+
+2015-10-21  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * Makefile.in: Add arm.c/o.
+       * arch/arm.c: New file.
+       * arch/arm.h: (IS_THUMB_ADDR): Move macro from arm-tdep.c.
+       (MAKE_THUMB_ADDR): Likewise.
+       (UNMAKE_THUMB_ADDR): Likewise.
+       * arm-tdep.c (int thumb_insn_size): Move to arm.c.
+       (IS_THUMB_ADDR): Move to arm.h.
+       (MAKE_THUMB_ADDR): Likewise.
+       (UNMAKE_THUMB_ADDR): Likewise.
+       * configure.tgt: Add arm.o to all ARM configs.
+
+2015-10-21  Yao Qi  <yao.qi@linaro.org>
+
+       * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
+       Remove argument exp_vCont_s.
+       * gdb.base/range-stepping.exp: Callers updated.
+       * gdb.trace/range-stepping.exp: Likewise.
+
+2015-10-21  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb/nto-tdep.c (QNX_NOTE_NAME, QNX_INFO_SECT_NAME): New defines.
+       (nto_sniff_abi_note_section): New function.
+       (nto_elf_osabi_sniffer): Use new function to recognize nto specific
+       binary.
+
+2015-10-21  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (procfs_wait): Set stopped_flags nad stopped_pc.
+       (procfs_stopped_by_watchpoint): Use flags stored in inferior data.
+       * nto-tdep.c (nto_new_inferior_data_reg): New definition.
+       (nto_new_inferior_data, nto_inferior_data_cleanup, nto_inferior_data):
+       New functions.
+       (_initialize_nto_tdep): New forward declaration, new function.
+       * nto-tdep.h (struct nto_inferior_data): New struct.
+       (nto_inferior_data): New function declaration.
+
+2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * findvar.c (address_from_register): Check REGNUM validity.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb/nto-procfs.c (procfs_pid_to_exec_file): New function.
+       (init_procfs_targets): Wire new function.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (sys/auxv.h): Include.
+       (procfs_xfer_partial): Implement TARGET_OBJECT_AUXV.
+       * nto-tdep.c (nto_read_auxv_from_initial_stack): New function.
+       * nto-tdep.h (nto_read_auxv_from_initial_stack): New declaration.
+
+2015-10-20  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (nto_procfs_path): Rename to...
+       (nodestr): ... this, and change type.
+       (nto_node): Use new variable and logic accordingly.
+       (procfs_open_1): Use new variable name. Use local buffer to construct
+       procfrs path.
+       (procfs_pidlist): Use NODESTR to construct procfs path.
+       (procfs_files_info): Use NODESTR to output meaningful text.
+       (do_attach): Construct procfs using NODESTR.
+       (procfs_create_inferior): Compare pointer to NULL.
+
+2015-10-19  Josh Stone  <jistone@redhat.com>
+
+       * linux-nat.c (linux_handle_syscall_trap): Always update entry/
+       return state, even when not actively catching syscalls at all.
+       (linux_handle_extended_wait): Mark syscall_state like an entry.
+       (wait_lwp): Set syscall_state ignored for other traps.
+       (linux_nat_filter_event): Likewise.
+
+2015-10-19  Luis Machado  <lgustavo@codesourcery.com>
+
+       * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to 0
+       when handling 'E', 'T', 'S', 'X' and 'W' packets.
+       Do not set rs->waiting_for_stop_reply back to 1.
+
+2015-10-16  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * nto-procfs.c (common/filestuff.h): Include.
+       (procfs_can_use_hw_breakpoint): Fix enum name.
+       (procfs_open_1): Fix compiler warning.
+       (procfs_pidlist): Make static.
+       (procfs_meminfo): Make static, fix type name, add missing argument.
+       (procfs_store_registers): Make static.
+       (procfs_thread_info): Remove unused function.
+       (_initialize_procfs): Forward declare.
+
+2015-10-16  Yao Qi  <yao.qi@arm.com>
+
+       * MAINTAINERS: Update my email address.
+
+2015-10-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint):
+       Call gdbarch_breakpoint_from_pc to instruction length.
+       (aarch64_linux_remove_hw_breakpoint): Likewise.
+       * common/common-regcache.h (regcache_register_size): Declare.
+       * nat/aarch64-linux-hw-point.c: Include "common-regcache.h".
+       (aarch64_point_is_aligned): Set alignment to 2 for breakpoint if
+       the process is 32bit, otherwise set alignment to 4.
+       (aarch64_handle_breakpoint): Update comments.
+       * regcache.c (regcache_register_size): New function.
+
+2015-10-15  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdbarch.sh (core_regset_section): Remove.
+       * gdbarch.h: Regenerate.
+
+2015-10-14  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/aarch64-insn.h (struct aarch64_memory_operand): Move enum
+       out of it.
+       (enum aarch64_memory_operand_type): New.
+
+2015-10-13  David Edelsohn  <dje.gcc@gmail.com>
+
+       * xcoffread.c (dwarf2_xcoff_names): Add .dwmac and .dwpbtyp.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_enum_name): Constify local.
+       * ada-typeprint.c (print_range_bound): Constify locals.
+       * c-varobj.c (c_describe_child): Likewise.
+       * cli/cli-setshow.c (do_set_command): Likewise.
+       * gdb_vecs.c (delim_string_to_char_ptr_vec_append): Likewise.
+       * dwarf2read.c (find_file_and_directory): Likewise.
+       (anonymous_struct_prefix, dwarf2_name): Likewise.
+       * gnu-v3-abi.c (gnuv3_rtti_type): Likewise.
+       * go-lang.c (unpack_mangled_go_symbol): Likewise.
+       * jv-typeprint.c (java_type_print_base): Likewise.
+       * ser-tcp.c (net_open): Likewise.
+       * symfile.c (deduce_language_from_filename): Likewise.
+       * symtab.c (gdb_mangle_name): Likewise.
+       * tui/tui-io.c (tui_redisplay_readline): Likewise.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (restore_execution_direction): New function.
+       (fetch_inferior_event): Use it instead of
+       make_cleanup_restore_integer.
+       (execution_direction): Change type to enum
+       exec_direction_kind.
+       * infrun.h (execution_direction): Likewise.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Constify
+       locals.  Use value_contents_writeable.  Remove casts.
+
+2015-10-13  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Add casts to malloc
+       and alloca calls.
+
+2015-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lm32-tdep.c (lm32_push_dummy_call): Replace call to
+       write_memory with write_memory_unsigned_integer.
+
+2015-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * solib-dsbt.c (cmp_name): Constify arguments.
+       * solib-frv.c (cmp_name): Likewise.
+       * solib-svr4.c (svr4_create_solib_event_breakpoints): Likewise.
+       * solib.c (gdb_bfd_lookup_symbol_from_symtab): Likewise.
+       (bfd_lookup_symbol_from_dyn_symtab): Likewise.
+       (gdb_bfd_lookup_symbol): Likewise.
+       * solib.h (gdb_bfd_lookup_symbol): Likewise.
+       (gdb_bfd_lookup_symbol_from_symtab): Likewise.
+
+2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (parse_frame_specification): Remove message parameter,
+       replace with fixed string in function body, update function
+       comment.
+       (frame_info): Remove message to parse_frame_specification.
+       (select_frame_command): Likewise.
+
 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * stack.c (parse_frame_specification): Delete.
 
        * common/filestuff.c (make_cleanup_close): Update comment.
 
-2015-09-26  Simon Marchi  <simark@nova.polymtl.ca>
+2015-09-26  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * btrace.c (parse_xml_btrace_block): Fix cast of
        xml_find_attribute's return value.
This page took 0.028922 seconds and 4 git commands to generate.