* ada-valprint.c (ada_val_print_1): Eliminate single-use
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index beaa8c225873f33869b6b5217a58b91861e6bfaf..19d3602e43ede0bda985aed454085b84fe875130 100644 (file)
@@ -1,3 +1,283 @@
+2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * ada-valprint.c (ada_val_print_1): Eliminate single-use
+       variable LEN.
+       * alpha-tdep.c (alpha_extract_return_value): Use TYPE_LENGTH
+       directly.
+       (alpha_store_return_value): Likewise.
+       * amd64-tdep.c (amd64_classify_aggregate): Likewise.
+       (amd64_push_arguments): Likewise.
+       * ax-gdb.c (gen_trace_static_fields): Likewise.
+       (gen_traced_pop): Likewise.
+       * bfin-tdep.c (bfin_push_dummy_call): Likewise.
+       * breakpoint.c (update_watchpoint): Likewise.
+       * findcmd.c (parse_find_args): Use local variable for type
+       instead of length.
+       * findvar.c (default_read_var_value): Use TYPE_LENGTH directly.
+       * h8300-tdep.c (h8300h_extract_return_value): Likewise.
+       (h8300_store_return_value): Likewise.
+       * i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise.
+       Use i386_darwin_arg_type_alignment directly.
+       * infcall.c (call_function_by_hand): Use TYPE_LENGTH directly.
+       * lm32-tdep.c (lm32_push_dummy_call): Likewise.
+       * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
+       (m68hc11_extract_return_value): Likewise.
+       * mep-tdep.c (mep_push_dummy_call): Likewise.
+       * printcmd.c (float_type_from_length): Likewise.
+       * s390-tdep.c (s390_value_from_register): Likewise.
+       * stack.c (read_frame_arg): Likewise.
+       * tracepoint.c (encode_actions_1): Likewise.
+       * valops.c (value_fetch_lazy): Use local variable for type
+       instead of length.  Use TYPE_LENGTH directly.
+       * value.c (value_contents_equal): Use TYPE_LENGTH directly.
+
+2012-09-25  Joel Brobecker  <brobecker@adacore.com>
+
+       * symtab.c (skip_prologue_sal): Fix typo in comment.
+
+2012-09-25  Joel Brobecker  <brobecker@adacore.com>
+
+       * linespec.c (create_sals_line_offset): Fix typo in comment.
+
+2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and
+       use plongest to print the array size.
+
+2012-09-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
+       * p-valprint.c (pascal_type_print_base): Likewise.
+
+2012-09-22  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_get_trace_status): Remove setting default
+       values of fields of 'ts'.
+
+2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix internal error on canonicalization of clang types.
+       * cp-name-parser.y (operator): New comment at make_operator call for
+       new, delete, new[] and delete[].
+       (exp): Use "sizeof ".  Add new comment at make_operator call.
+
+2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix disassemble without parameters in tailcall frame.
+       * cli/cli-cmds.c (disassemble_current_function): Use
+       get_frame_address_in_block.
+
+2012-09-21  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT,
+       TYPE_CODE_UNION>: Unify, removing a goto.
+
+2012-09-21  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeprint.c (cp_type_print_derivation_info): Fix comment.
+
+2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
+
+       * findvar.c (read_frame_register_value): Mark the result value as
+       optimized out if any of the input registers have been optimized out.
+
+2012-09-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * python/python.c (finalize_python): Only define if HAVE_PYTHON.
+
+2012-09-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * eval.c (evaluate_subexp_standard): Eliminate single-use
+       variable LOWER.
+
+2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-interp.c: Declare mi_record_changed.
+       (mi_interpreter_init): Call observer_attach_record_changed.
+       (mi_record_changed): New.
+       * record.c (record_open): Call observer_notify_record_changed.
+       (cmd_record_stop): Call observer_notify_record_changed.
+       * NEWS: Mention it.
+
+2012-09-20  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Update.
+       * python/python.c (finalize_python): New function.
+       (_initialize_python): Make a final cleanup.
+
+2012-09-19  Doug Evans  <dje@google.com>
+
+       * buildsym.h (param_symbols): Delete, unused.
+       (context_stack): Delete member "params", unused.
+       * buildsym.c (push_context): Update.
+       * dwarf2read.c (read_func_scope): Update.
+
+2012-09-19  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * sh-tdep.c (sh_register_convert_to_virtual)
+       (sh_register_convert_to_raw): Add a gdbarch parameter.  Update
+       all callers.  Just do a memcpy if not the little-endian case.
+
+       * h8300-tdep.c (h8300_gdbarch_init): Invoke
+       set_gdbarch_double_format and set_gdbarch_long_double_format.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke
+       set_gdbarch_double_format.
+       * sh-tdep.c (sh_gdbarch_init): Likewise.
+
+       * NEWS: Document the removal of SH's 'regs' command.
+       * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs'
+       command.
+
+2012-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * infcmd.c (_initialize_infcmd): Register `j' as an alias for
+       `jump'.
+
+2012-09-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * linespec.c (iterate_over_all_matching_symtabs): Use the correct
+       language when iterating over symbols.
+
+2012-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted.
+       (mi_interpreter_init): Call observer_attach_tsv_created and
+       observer_attach_tsv_deleted.
+       (mi_tsv_created, mi_tsv_deleted): New.
+       * tracepoint.c (delete_trace_state_variable): Call
+       observer_notify_tsv_deleted.
+       (trace_variable_command): Call observer_notify_tsv_created.
+       (delete_trace_variable_command): Call
+       observer_notify_tsv_deleted.
+       (create_tsv_from_upload): Call observer_notify_tsv_created.
+       * NEWS: Mention it.
+
+2012-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (tfind_1): Call observer_notify_traceframe_changed
+       if traceframe changed.
+       * mi/mi-cmds.c (mi_cmd mi_cmds): Adjust for command
+       "trace-find".
+       * mi/mi-interp.c: Declare 'mi_traceframe_changed'.
+       (mi_interpreter_init): Hook mi_traceframe_changed to observer
+       'traceframe_changed'.
+       (mi_traceframe_changed): New.
+       * mi/mi-main.h (struct mi_suppress_notification) <traceframe>:
+       New field.
+       * NEWS: Mention the new MI notification.
+
+2012-09-17  Mike Wrighton  <wrighton@codesourcery.com>
+
+       * MAINTAINERS (Write After Approval): Add "Mike Wrighton".
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * common/linux-ptrace.c: Change __i386__ to __i386__ || __x86_64__.
+       (linux_ptrace_test_ret_to_nx): Extend comment for x86_64.  Change
+       __i386__ to __i386__ || __x86_64__. Extend code also for __x86_64__.
+       Extend code also for PaX support.  Convert all gdb_assert to warning
+       calls.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Implement auto-load user conveniences suggested by Doug Evans.
+       * auto-load.c: Include top.h.
+       (file_is_auto_load_safe): New variable advice_printed.  Print advice.
+       (_initialize_auto_load): New variable scripts_directory_help.  Mention
+       GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load
+       scripts-directory.  Document in online help one can use also files for
+       set auto-load safe-path.
+       * python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ...
+       * python/python.h (GDBPY_AUTO_FILE_NAME): ... to here.
+
+2012-09-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
+       of LEN.
+
+2012-09-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * m2-valprint.c (m2_print_array_contents): Eliminate variable
+       ELTLEN and use TYPE_LENGTH directly.
+       (m2_val_print): Likewise.
+       * m68k-tdep.c (m68k_svr4_extract_return_value): Eliminate
+       variable LEN and use TYPE_LENGTH directly.
+       (m68k_svr4_store_return_value): Likewise.
+       * mips-tdep.c (mips_o32_push_dummy_call): Eliminate variable
+       ARGLEN and use TYPE_LENGTH directly.
+       (mips_o64_push_dummy_call): Likewise.
+       * s390-tdep (s390_function_arg_pass_by_reference): Eliminate
+       variable LENGTH and use TYPE_LENGTH directly.
+       (s390_function_arg_float): Likewise.
+       (s390_function_arg_integer): Likewise.
+       (s390_push_dummy_call): Likewise.
+       (s390_return_value_convention): Likewise.
+       * spu-tdep.c (spu_push_dummy_call): Eliminate LEN and use
+       TYPE_LENGTH directly.
+
+2012-09-17  Yao Qi  <yao@codesourcery.com>
+
+       * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): New.
+       Update comment to add_setshow_integer_cmd.
+       * cli/cli-setshow.c (do_set_command): Handle case
+       'var_zuinteger_unlimited'.
+       (do_show_command): Likewise.
+       * cli/cli-cmds.c (init_cmds): Call add_setshow_zuinteger_unlimited_cmd
+       for command 'remotetimeout'.
+       * command.h (enum var_types): New zuinteger_unlimited.  Update comment
+       to var_integer.
+       * source.c (_initialize_source): Call add_setshow_zuinteger_unlimited_cmd
+       for command 'set listsize'.
+
+2012-09-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * infrun.c (restore_infcall_suspend_state): Eliminate single-use
+       variable LEN.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR 14119
+       * frame.c (skip_inlined_frames): Skip also TAILCALL_FRAME frames.
+       (frame_pop): Drop also TAILCALL_FRAME frames.
+       * infcmd.c (finish_command): Ignore also TAILCALL_FRAME frames.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR 14548
+       * infrun.c (handle_inferior_event): Do not reverse-continue back to the
+       function start if we are already at function start.  Both for
+       reverse-next and for reverse-step into function without line number
+       info.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup - rename 'inline' depth to 'artificial' depth.
+       * breakpoint.c (set_momentary_breakpoint): Rename at a caller to
+       frame_id_artificial_p, extend the comment.
+       * dwarf2-frame-tailcall.c (tailcall_frame_this_id): Rename at a user.
+       * frame.c (fprint_frame_id): Rename at a user, change debug output
+       text to "artificial=".
+       (skip_inlined_frames): Rename to ...
+       (skip_artificial_frames): ... here.  Extend the comment.
+       (get_stack_frame_id, frame_unwind_caller_id): Rename at a caller.
+       (frame_id_inlined_p): Rename to ...
+       (frame_id_artificial_p): ... here.  Rename at a user.
+       (frame_id_eq, frame_id_inner, frame_unwind_caller_pc)
+       (frame_unwind_caller_pc_if_available, frame_unwind_caller_arch): Rename
+       at a user.
+       * frame.h (struct frame_id): Rename inline_depth to artificial_depth.
+       Extend the comment.
+       (frame_id_inlined_p): Rename to ...
+       (frame_id_artificial_p): ... here.
+       * inline-frame.c (inline_frame_this_id): Rename at a user.
+
+2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
+
+       * c-typeprint.c (c_type_print_varspec_suffix): Display the size of
+       vector variables using vector_size syntax rather than array
+       syntax.
+
 2012-09-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * valarith.c (value_concat): Replace unsafe ALLOCA with
        (DECLARE_REGISTRY): Declare struct TAG ## _data.  Use the tagged
        callback typedefs.
 
+2012-09-12  Mike Wrighton  <wrighton@codesourcery.com>
+
+       * remote.c (remote_insert_hw_breakpoint): Throw exception if
+       there is an error inserting hardware breakpoints and use the
+       error message from the target.
+
+       * breakpoint.c (insert_bp_location, insert_breakpoint_locations):
+       Catch this exception and print the error message contained within. Do not
+       print the default hardware error breakpoint message in this case.
+
 2012-09-12  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (dwarf2_read_addr_index): Fix handling the case where
This page took 0.028943 seconds and 4 git commands to generate.