Check func against 0 rather than NULL
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index febe9608b8eaad7f92fb342c31915c2f73bf9c91..9e016aeae44a58499e4e7b4af2bb87feb6fc5a0f 100644 (file)
@@ -1,3 +1,274 @@
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
+       0 rather than NULL.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c: (arm_make_epilogue_frame_cache): New function.
+       (arm_epilogue_frame_this_id): New function.
+       (arm_epilogue_frame_prev_register): New function.
+       (arm_epilogue_frame_sniffer): New function.
+       (arm_epilogue_frame_unwind): New.
+       (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind.
+
+2016-03-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ...
+       (arm_stack_frame_destroyed_p_1): ... here.  Don't call
+       arm_pc_is_thumb.
+       (arm_stack_frame_destroyed_p): Call
+       thumb_stack_frame_destroyed_p and
+       arm_stack_frame_destroyed_p_1.
+
+2016-03-30  Doug Evans  <dje@google.com>
+
+       * python/py-utils.c (host_string_to_python_string): New function.
+       * python/python-internal.h (host_string_to_python_string): Declare it.
+       * python/py-*.c (*): Update all calls to
+       PyString_Decode (str, strlen (str), host_charset (), NULL);
+       to use host_string_to_python_string instead.
+
+2016-03-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * remote.c (remote_check_symbols): Allocate own buffer for reply.
+
+2016-03-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST.
+       Use safe_read_memory_integer instead of read_memory_integer.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * NEWS: Mention support for tracepoints on s390*-linux.
+
+2016-03-29  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb/value.c (value_actual_type): Fix formatting issue.
+
+2016-03-23  Yao Qi  <yao.qi@linaro.org>
+
+       * gdbarch.sh (software_single_step): Remove comments.
+       * gdbarch.h: Regenerated.
+
+2016-03-21  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.c (arm_record_media): New.
+       (arm_record_ld_st_reg_offset): Call arm_record_media.
+
+2016-03-21  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize
+       more syscalls.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * sparc-tdep.c (sparc_software_single_step): Make it static.
+       * sparc-tdep.h (sparc_software_single_step): Remove declaration.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * spu-tdep.c (spu_software_single_step): Throw error when
+       target_read_memory fails.
+
+2016-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-thread-db.c (check_pid_namespace_match): Extend the message.
+
+2016-03-17  Pedro Alves  <palves@redhat.com>
+           Don Breazeal  <donb@codesourcery.com>
+
+       PR remote/19496
+       * infcmd.c (notice_new_inferior): Use the 'leave_running' argument
+       instead of checking the 'non_stop' global.
+       * remote.c (remote_add_thread): New parameter 'executing'.  Use it
+       to set the new thread's executing state.
+       (remote_notice_new_inferior): Rename parameter 'running' to
+       'executing'.  Always set the thread state to THREAD_RUNNING in
+       non-stop mode, and to THREAD_STOPPED in all-stop mode.  Pass
+       EXECUTING to remote_add_thread and notice_new_inferior.
+       (remote_update_thread_list): Update to pass executing state, not
+       running state.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up
+       to 374.
+       * syscalls/s390x-linux.xml: Likewise.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c (record_mem_at_reg): New helper function.
+       (record_linux_system_call): Exploit new helper function where
+       applicable.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c: Fix whitespace issues; tabify, remove trailing
+       spaces.
+
+2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-record.c (record_linux_system_call): Add missing return
+       statements to handling of pipe and pipe2 syscalls.
+
+2016-03-16  Doug Evans  <dje@google.com>
+
+       * xml-tdesc.c (tdesc_start_enum): Fix c++ build.
+
+2016-03-16  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Fix
+       arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and
+       arm_linux_record_tdep.arg3.  Set arm_linux_record_tdep.arg4,
+       arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and
+       arm_linux_record_tdep.arg7.
+
+2016-03-15  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/18303
+       * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to
+       look for "::" instead of simply ":".
+       (cp_search_static_and_baseclasses): Return null_block_symbol for
+       malformed input.
+       Remove assertions.
+       * cp-support.c (cp_find_first_component_aux): Do not return
+       a prefix length for ':' unless the next character is also ':'.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * features/aarch64-core.xml (cpsr_flags): New flags type.
+       (cpsr): Use it.
+       * features/aarch64.c: Regenerate.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
+       * features/i386/32bit-sse.xml (i386_eflags): Ditto.
+       * features/i386/64bit-core.xml (i386_eflags): Ditto.
+       * features/i386/64bit-sse.xml (i386_eflags): Ditto.
+       * features/i386/x32-core.xml (i386_eflags): Ditto.
+
+2016-03-15  Doug Evans  <dje@google.com>
+           Wei-cheng Wang  <cole945@gmail.com>
+
+       Extend flags to support multibit and enum bitfields.
+       * NEWS: Document new features.
+       * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS.
+       (c_type_print_varspec_suffix, c_type_print_base): Ditto.
+       * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit.
+       (append_flags_type_field): New function.
+       (append_flags_type_flag): Call it.
+       * gdbtypes.h (append_flags_type_field): Declare.
+       * target-descriptions.c (struct tdesc_type_flag): Delete.
+       (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value.
+       (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto.
+       (struct tdesc_type) <u.f>: Delete.
+       (tdesc_predefined_types): Add "bool".
+       (tdesc_predefined_type): New function.
+       (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM.
+       Update TDESC_TYPE_FLAGS support.
+       (tdesc_free_type): Handle TDESC_TYPE_ENUM.  Update TDESC_TYPE_FLAGS.
+       (tdesc_create_flags): Update.
+       (tdesc_create_enum): New function.
+       (tdesc_add_field): Initialize start,end to -1.
+       (tdesc_add_typed_bitfield): New function.
+       (tdesc_add_bitfield): Call it.
+       (tdesc_add_flag): Allow TDESC_TYPE_STRUCT.  Update.
+       (tdesc_add_enum_value): New function.
+       (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into
+       TDESC_TYPE_STRUCT.  Handle TDESC_TYPE_ENUM.
+       * target-descriptions.h (tdesc_create_enum): Declare.
+       (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare.
+       * valprint.c (generic_val_print_enum_1): New function.
+       (generic_val_print_enum): Call it.
+       (val_print_type_code_flags): Make static.  Handle multibit bitfields
+       and enum bitfields.
+       * valprint.h (val_print_type_code_flags): Delete.
+       * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>:
+       Delete.  All uses removed.
+       (tdesc_start_enum): New function.
+       (tdesc_start_field): Handle multibit and enum bitfields.
+       (tdesc_start_enum_value): New function.
+       (enum_value_attributes, enum_children, enum_attributes): New static
+       globals.
+       (feature_children): Add "enum".
+       * features/gdb-target.dtd (enum, evalue): New elements.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type
+       from LONGEST to int.
+       (struct tdesc_type) <u.f.size>: Ditto.
+       (tdesc_set_struct_size): Change type of "size" arg from LONGEST
+       to int.  Add assertion size > 0.
+       (tdesc_create_flags): Ditto.
+       * target-descriptions.h (tdesc_set_struct_size): Update.
+       (tdesc_create_flags): Update.
+       * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros.
+       (MAX_VECTOR_SIZE): New macro.
+       (tdesc_start_struct): Catch conversion errors from LONGEST to int.
+       (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto.
+
+2016-03-15  Doug Evans  <dje@google.com>
+
+       * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for
+       TYPE_CODE_FLAGS instead of "field_type", for consistency.
+       * features/i386/amd64-avx-linux.c: Regenerate.
+       * features/i386/amd64-avx.c: Regenerate.
+       * features/i386/amd64-avx512-linux.c: Regenerate.
+       * features/i386/amd64-avx512.c: Regenerate.
+       * features/i386/amd64-linux.c: Regenerate.
+       * features/i386/amd64-mpx-linux.c: Regenerate.
+       * features/i386/amd64-mpx.c: Regenerate.
+       * features/i386/amd64.c: Regenerate.
+       * features/i386/i386-avx-linux.c: Regenerate.
+       * features/i386/i386-avx.c: Regenerate.
+       * features/i386/i386-avx512-linux.c: Regenerate.
+       * features/i386/i386-avx512.c: Regenerate.
+       * features/i386/i386-linux.c: Regenerate.
+       * features/i386/i386-mmx-linux.c: Regenerate.
+       * features/i386/i386-mmx.c: Regenerate.
+       * features/i386/i386-mpx-linux.c: Regenerate.
+       * features/i386/i386-mpx.c: Regenerate.
+       * features/i386/i386.c: Regenerate.
+       * features/i386/x32-avx-linux.c: Regenerate.
+       * features/i386/x32-avx.c: Regenerate.
+       * features/i386/x32-avx512-linux.c: Regenerate.
+       * features/i386/x32-avx512.c: Regenerate.
+       * features/i386/x32-linux.c: Regenerate.
+       * features/i386/x32.c: Regenerate.
+
+2016-03-15  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19676
+       * linux-thread-db.c (try_thread_db_load_1): Leave
+       info->td_ta_thr_iter_p NULL iff debugging a live process and we
+       have /proc access.
+       (find_new_threads_once): Assert that we have a non-NULL
+       info->td_ta_thr_iter_p instead of checking whether the target has
+       execution.
+
+2016-03-15  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19676
+       * infrun.c (displaced_step_prepare): Also disable displaced
+       stepping on NOT_SUPPORTED_ERROR.
+       * linux-tdep.c (linux_displaced_step_location): If reading auxv
+       fails, throw NOT_SUPPORTED_ERROR instead of generic error.
+
+2016-03-13  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * s390-linux-tdep.c (s390_gen_return_address): New function.
+       (s390_gdbarch_init): Fill gen_return_address hook.
+
+2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symmisc.c (maintenance_info_line_tables): New function.
+       (maintenance_print_one_line_table): New function.
+       (_initialize_symmisc): Register 'maint info line-table' command.
+       * NEWS: Mention new command.
+
 2016-03-11  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function.
        * top.c (window_hook): Delete.
        (command_loop): Remove references to window_hook.
 
-2016-03-09  Pedro Alves  <palves@redhat.com>
-
-       * gdb.base/command-line-input.exp: New file.
-
 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * corefile.c (safe_read_memory_unsigned_integer): New function.
This page took 0.044043 seconds and 4 git commands to generate.