Mostly trivial enum fixes
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 481f50af4631d75141e98d9722ec1a811cd24dc5..a4074568ec948b76b932e5669437d50be5002c70 100644 (file)
@@ -1,3 +1,304 @@
+2015-07-31  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum
+       type or value instead of integer.
+       (aarch64_linux_insert_watchpoint): Likewise.
+       (aarch64_linux_remove_watchpoint): Likewise.
+       * ada-lang.c (ada_op_print_tab): Likewise.
+       * amd64-linux-tdep.c (amd64_canonicalize_syscall): Likewise.
+       (amd64_linux_syscall_record_common): Likewise.
+       * arch-utils.c (target_byte_order_user): Likewise.
+       (default_byte_order): Likewise.
+       * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Likewise.
+       (arm_linux_get_hwbp_type): Likewise.
+       (arm_linux_hw_watchpoint_initialize): Likewise.
+       (arm_linux_insert_watchpoint): Likewise.
+       * arm-linux-tdep.c (arm_canonicalize_syscall): Likewise.
+       (arm_linux_syscall_record): Likewise.
+       * breakpoint.c (update_watchpoint): Likewise.
+       (breakpoint_here_p): Likewise.
+       (bpstat_print): Likewise.
+       (enable_breakpoint_disp): Likewise.
+       * c-lang.c (c_op_print_tab): Likewise.
+       * cli/cli-decode.c (add_info_alias): Likewise.
+       * d-lang.c (d_op_print_tab): Likewise.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       * f-exp.y (dot_ops): Likewise.
+       (f77_keywords): Likewise.
+       * f-lang.c (f_op_print_tab): Likewise.
+       * go-lang.c (go_op_print_tab): Likewise.
+       * guile/scm-breakpoint.c (gdbscm_make_breakpoint): Likewise.
+       * guile/scm-cmd.c (gdbscm_make_command): Likewise.
+       * guile/scm-param.c (gdbscm_make_parameter): Likewise.
+       * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): Likewise.
+       * guile/scm-string.c (struct scm_to_stringn_data): Likewise.
+       (struct scm_from_stringn_data): Likewise.
+       * i386-linux-tdep.c (i386_canonicalize_syscall): Likewise.
+       * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
+       (ia64_linux_remove_watchpoint): Likewise.
+       (ia64_linux_can_use_hw_breakpoint): Likewise.
+       * infrun.c (print_stop_event): Likewise.
+       * jv-lang.c (java_op_print_tab): Likewise.
+       * linux-nat.c (linux_proc_xfer_partial): Likewise.
+       * linux-nat.h (struct lwp_info): Likewise.
+       * linux-thread-db.c (enable_thread_event): Likewise.
+       * m2-lang.c (m2_op_print_tab): Likewise.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise.
+       (mi_cmd_stack_list_variables): Likewise.
+       * mi/mi-main.c (mi_cmd_trace_frame_collected): Likewise.
+       * mi/mi-out.c (mi_table_begin): Likewise.
+       (mi_table_header): Likewise.
+       * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Likewise.
+       (mips_linux_insert_watchpoint): Likewise.
+       (mips_linux_remove_watchpoint): Likewise.
+       * nat/mips-linux-watch.c (mips_linux_watch_type_to_irw): Likewise.
+       * nat/mips-linux-watch.h (struct mips_watchpoint): Likewise.
+       (mips_linux_watch_type_to_irw): Likewise.
+       * nto-procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_insert_hw_watchpoint): Likewise.
+       (procfs_remove_hw_watchpoint): Likewise.
+       (procfs_hw_watchpoint): Likewise.
+       (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_remove_hw_watchpoint): Likewise.
+       (procfs_insert_hw_watchpoint): Likewise.
+       * p-lang.c (pascal_op_print_tab): Likewise.
+       * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Likewise.
+       * ppc-linux-tdep.c (ppu2spu_unwind_register): Likewise.
+       * ppc-sysv-tdep.c (get_decimal_float_return_value): Likewise.
+       * procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+       (procfs_insert_watchpoint): Likewise.
+       (procfs_remove_watchpoint): Likewise.
+       * psymtab.c (recursively_search_psymtabs): Likewise.
+       * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Likewise.
+       (m32r_insert_watchpoint): Likewise.
+       * remote-mips.c (mips_can_use_watchpoint): Likewise.
+       (mips_insert_watchpoint): Likewise.
+       (mips_remove_watchpoint): Likewise.
+       * remote.c (watchpoint_to_Z_packet): Likewise.
+       (remote_insert_watchpoint): Likewise.
+       (remote_remove_watchpoint): Likewise.
+       (remote_check_watch_resources): Likewise.
+       * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+       (s390_remove_watchpoint): Likewise.
+       (s390_can_use_hw_breakpoint): Likewise.
+       * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+       * spu-linux-nat.c (spu_can_use_hw_breakpoint): Likewise.
+       * target.h (struct target_ops): Likewise.
+       * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
+       * ui-out.c (struct ui_out_hdr): Likewise.
+       (append_header_to_list): Likewise.
+       (get_next_header): Likewise.
+       (verify_field): Likewise.
+       (ui_out_begin): Likewise.
+       (ui_out_field_int): Likewise.
+       (ui_out_field_fmt_int): Likewise.
+       (ui_out_field_skip): Likewise.
+       (ui_out_field_string): Likewise.
+       (ui_out_field_fmt): Likewise.
+       * varobj.c (new_variable): Likewise.
+       * x86-nat.c (x86_insert_watchpoint): Likewise.
+       (x86_remove_watchpoint): Likewise.
+       (x86_can_use_hw_breakpoint): Likewise.
+       * xtensa-tdep.h (struct gdbarch_tdep): Likewise.
+       * inflow.c (enum gdb_has_a_terminal_flag_enum): Add name to
+       previously anonymous enumeration type..
+       * linux-record.h (enum gdb_syscall): Add gdb_sys_no_syscall
+       value.
+       * target-debug.h (target_debug_print_enum_target_hw_bp_type): New.
+       (target_debug_print_enum_bptype): New.
+       * target-delegates.c: Regenerate.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_analyze_prologue): Do what the comment
+       already says and disallow non-stack memory writes in the prologue.
+
+2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_analyze_prologue): Update comments to
+       reflect how current GCC emits stack overflow checks.  Match
+       both trap and break instructions for backward compatbility.
+       Disallow other trap and break instructions in the prologue.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+
+       PR threads/18600
+       * linux-nat.c (wait_lwp): Report to the core when thread group
+       leader exits.
+
+2015-07-30  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR threads/18600
+       * linux-nat.c (linux_handle_extended_wait): On CLONE event, always
+       mark the new thread as resumed.  Remove STOPPING parameter.
+       (wait_lwp): Adjust call to linux_handle_extended_wait.
+       (linux_nat_filter_event): Adjust call to
+       linux_handle_extended_wait.
+       (resume_stopped_resumed_lwps): Add debug output.
+
+2015-07-30  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * arch-utils.c (default_fast_tracepoint_valid_at): Remove unused
+       isize argument.
+       * arch-utils.h (default_fast_tracepoint_valid_at): Likewise.
+       * breakpoint.c (check_fast_tracepoint_sals): Adjust call to
+       gdbarch_fast_tracepoint_valid_at.
+       * gdbarch.sh (fast_tracepoint_valid_at): Remove isize argument.
+       * gdbarch.h: Regenerate.
+       * gdbarch.c: Regenerate.
+       * i386-tdep.c (i386_fast_tracepoint_valid_at): Remove isize
+       argument.  Do not set it.
+       * remote.c (remote_download_tracepoint): Adjust call to
+       gdbarch_fast_tracepoint_valid_at.  Call gdb_insn_length to get
+       the instruction length.
+
+2015-07-30  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-tdep.h (enum gdb_regnum): Move it to ...
+       * arch/arm.h: ... here.  New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add arch/arm.h.
+
+2015-07-30  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_b): Rename link argument to is_bl.
+       Change its type to int *.
+       (decode_br): Rename link argument to is_blr.  Change its type to
+       int *.
+       (decode_cb): Rename op argument to is_cbnz.  Change its type to
+       int *.
+       (decode_tb): Rename op argument to is_tbnz.  Change its type to
+       int *.  Set is_tbnz to either 1 or 0.
+       (aarch64_analyze_prologue): Change type of is_link to int.  Add
+       new variables is_cbnz and is_tbnz.  Adjust call to
+       aarch64_decode_cb and aarch64_decode_tb.
+
+2015-07-29  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mips-linux-nat.c (write_watchpoint_regs): Add NULL as ptrace's 4th
+       parameter.
+       (mips_linux_new_thread): Likewise.
+       * nat/mips-linux-watch.c (mips_linux_read_watch_registers): Likewise.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * top.c: Include "tui/tui.h".
+       (undo_terminal_modifications_before_exit): New static function.
+       (quit_force): Use it.
+
+2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * target.c (terminal_state): Initialize to terminal_is_ours.
+
+2015-07-29  Yao Qi  <yao.qi@linaro.org>
+
+       PR record/18691
+       * dcache.c (dcache_read_memory_partial): Call
+       raw_memory_xfer_partial.
+       * target.c (raw_memory_xfer_partial): Make it non-static.
+       * target.h (raw_memory_xfer_partial): Declare.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * c-valprint.c (c_val_print_array): Consider addressable memory
+       unit size.
+       (c_val_print_ptr): Likewise.
+       (c_val_print_int): Likewise.
+       * findvar.c (read_frame_register_value): Likewise.
+       * valarith.c (find_size_for_pointer_math): Likewise.
+       (value_ptrdiff): Likewise.
+       (value_subscripted_rvalue): Likewise.
+       * valops.c (read_value_memory): Likewise (and rename variables).
+       (value_assign): Likewise.
+       (value_repeat): Likewise.
+       (value_array): Likewise.
+       (value_slice): Likewise.
+       * valprint.c (generic_val_print_ptr): Likewise.
+       (generic_val_print_enum): Likewise.
+       (generic_val_print_bool): Likewise.
+       (generic_val_print_int): Likewise.
+       (generic_val_print_char): Likewise.
+       (generic_val_print_float): Likewise.
+       (generic_val_print_decfloat): Likewise.
+       (generic_val_print_complex): Likewise.
+       (val_print_scalar_formatted): Likewise.
+       (val_print_array_elements): Likewise.
+       * value.c (set_value_parent): Likewise.
+       (value_contents_copy_raw): Likewise.
+       (set_internalvar_component): Likewise.
+       (value_primitive_field): Likewise.
+       (value_fetch_lazy): Likewise.
+       * value.h (read_value_memory): Update comment.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * value.c (get_value_arch): New function.
+       * value.h (get_value_arch): New declaration.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * value.c (struct value): Update comments.
+
+2015-07-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbtypes.c (type_length_units): New function.
+       * gdbtypes.h (type_length_units): New declaration.
+       (struct type) <length>: Update comment.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out complex
+       printing code to ...
+       (generic_val_print_complex): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out decfloat
+       printing code to ...
+       (generic_val_print_decfloat): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out float
+       printing code to ...
+       (generic_val_print_float): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out char
+       printing code to ...
+       (generic_val_print_char): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out integer
+       printing code to ...
+       (generic_val_print_int): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out bool
+       printing code to ...
+       (generic_val_print_bool): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out function/method
+       printing code to ...
+       (generic_val_print_func): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out flags
+       printing code to ...
+       (generic_val_print_flags): ... this new function.
+
+2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * valprint.c (generic_val_print): Factor out enum
+       printing code to ...
+       (generic_val_print_enum): ... this new function.
+
 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
 
        * valprint.c (generic_val_print): Factor out reference
This page took 0.026247 seconds and 4 git commands to generate.