2012-06-18 Greta Yorsh <Greta.Yorsh@arm.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 46188d15b3d7e07304901aef5776d1f4bb56dbab..86c50934718a9a0c0dc0d93b46c93dbacd6c4f9c 100644 (file)
@@ -1,3 +1,391 @@
+2012-06-18  Greta Yorsh  <Greta.Yorsh@arm.com>
+
+       * remote-sim.c (sim_command_completer): Initialize
+       variable 'result'.
+
+2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref.
+       * dwarf2loc.c (call_site_parameter_matches): Support
+       CALL_SITE_PARAMETER_PARAM_OFFSET.
+       (needs_dwarf_reg_entry_value): Push stub value.
+       * dwarf2read.c (read_call_site_scope): New variable origin.  Support
+       CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin.
+       * gdbtypes.h (enum call_site_parameter_kind): New item
+       CALL_SITE_PARAMETER_PARAM_OFFSET.
+       (struct call_site.parameter.u): New field param_offset.
+
+2012-06-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup: Generalize call_site.parameter key.
+       * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
+       variable dwarf_reg.  New variable kind_u.  Update parameters to
+       push_dwarf_reg_entry_value.
+       (ctx_no_push_dwarf_reg_entry_value): Update parameters.
+       * dwarf2expr.h (enum call_site_parameter_kind)
+       (union call_site_parameter_u): Forward declarations.
+       (struct dwarf_expr_context_funcs): Update parameters and their
+       description for push_dwarf_reg_entry_value.
+       (ctx_no_push_dwarf_reg_entry_value): Update parameters.
+       * dwarf2loc.c (call_site_parameter_matches): New function.
+       (dwarf_expr_reg_to_entry_parameter): Update parameters and their
+       description.  Use call_site_parameter_matches.
+       (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
+       Update parameters and their description.
+       (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
+       New variable kind_u.  Adjust the caller for updated parameters.
+       (needs_dwarf_reg_entry_value): Update parameters.
+       * dwarf2read.c (read_call_site_scope): New variable loc.  Use it
+       instead of attr.  Update for the changed fields of struct
+       call_site_parameter.
+       * gdbtypes.h: Include dwarf2expr.h.
+       (enum call_site_parameter_kind): New.
+       (struct call_site.parameter): New field kind.  Wrap dwarf_reg and
+       fb_offset into new union u.
+
+2012-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_x32_analyze_stack_align): New function.
+       (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align
+       for x32.
+
+2012-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-nat.c (compat_x32_clock_t): New.
+       (compat_x32_siginfo_t): Likewise.
+       (compat_x32_siginfo_from_siginfo): Likewise.
+       (siginfo_from_compat_x32_siginfo): Likewise.
+       (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
+       and siginfo_from_compat_x32_siginfo for x32.
+
+2012-06-15  Hui Zhu  <hui_zhu@mentor.com>
+
+       * tracepoint.c (tfile_xfer_partial): Add a lseek.
+
+2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
+       instead of gdbarch_ptr_bit.
+       * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
+       (amd64_supply_native_gregset): Likewise.
+       (amd64_collect_native_gregset): Likewise.
+       * amd64-tdep.c (amd64_supply_fxsave): Likewise.
+       (amd64_supply_xsave): Likewise.
+       (amd64_collect_fxsave): Likewise.
+       (amd64_collect_xsave): Likewise.
+
+2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New.
+       (amd64_linux_read_description): Check DS segment register for
+       x32 process.
+
+2012-06-15  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_find_symbol_file): Unconditionally use
+       init_cutu_and_read_dies.
+
+2012-06-15  Iain Sandoe <iain@codesourcery.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-06-15  Tom Tromey  <tromey@redhat.com>
+
+       * valops.c (value_find_oload_method_list): Now static.
+       * value.h (value_find_oload_method_list): Don't declare.
+
+2012-06-15  Tom Tromey  <tromey@redhat.com>
+
+       * valops.c (find_overload_match): Use value_ind.
+
+2012-06-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Correct indentation.
+
+2012-06-14  Doug Evans  <dje@google.com>
+
+       * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
+       (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL.
+       All uses updated.
+       (decode_debug_loc_dwo_addresses): New arg "byte_order".  All callers
+       updated.  Handle DEBUG_LOC_START_LENGTH.
+       (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH.
+       (loclist_describe_location): Ditto.
+
+2012-06-14  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       PR backtrace/13866
+       * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
+       after hiding inline functions.
+
+2012-06-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
+       _initialize_inf_ttrace.
+
+2012-06-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames
+       _initialize_hppa_hpux_nat.
+
+2012-06-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote-sim.c (sim_command_completer): Change type of return
+       value to "VEC (char_ptr) *".  Adjust implementation accordingly.
+
+2012-06-13  Mark Kettenis  <kettenis@gnu.org>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR tdep/14222
+       * i386-tdep.c (i386_push_dummy_call): Unconditionally align the
+       stack on a 16-byte boundary.
+
+2012-06-13  Kaushik Srenevasan  <kaushik@twitter.com>
+
+       * jit.c (finalize_symtab): Set function's return type to 'void' by
+       default.
+
+2012-06-13  Mark Kettenis  <kettenis@gnu.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function.
+       Move bits common to both the classic LP64 and the new x32 ILP32
+       ABI here.
+       (amd64_linux_init_abi): Call amd64_linux_init_abi_common.
+       (amd64_x32_linux_init_abi): New function.
+       (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32
+       subtype.
+
+       * i386-tdep.h (i386_pseudo_register_name): New prototype.
+       * i386-tdep.c (i386_pseudo_register_name): Make public.
+       * amd64-tdep.h (amd64_x32_init_abi): New prototype.
+       * amd64-tdep.c (amd64_dword_names): Add "eip".
+       (amd64_x32_pseudo_register_type): New function
+       (amd64_x32_init_abi): New function.
+
+2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR build/14003
+       * inferior.h (struct inferior_suspend_state): Comment out.
+       (struct inferior): Comment out the field suspend.
+       * infrun.c (struct infcall_suspend_state): Comment out the field
+       inferior_suspend.
+       (save_infcall_suspend_state, restore_infcall_suspend_state): Comment
+       out its assignment.
+
+2012-06-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
+       * c-exp.y (classify_inner_name): Remove caller assumptions in the
+       function comment.  Return ERROR for unresolved cases.  Implement
+       returning proper NAME.
+       (yylex): Accept also NAME from classify_inner_name.
+       * cp-namespace.c (cp_lookup_nested_type): Rename to ...
+       (cp_lookup_nested_symbol): ... here.  Return any found symbol, not just
+       LOC_TYPEDEF type.
+       * cp-support.h (cp_lookup_nested_type): Update its declaration.
+
+2012-06-13  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (condition_completer): New function.
+       (_initialize_breakpoint): Use it.
+       * value.c (complete_internalvar): New function.
+       * value.h (complete_internalvar): Declare.
+
+2012-06-13  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (ada_make_symbol_completion_list): Return a VEC.
+       * breakpoint.c (catch_syscall_completer): Return a VEC.
+       * cli/cli-cmds.c (complete_command): Update.
+       * cli/cli-decode.c (complete_on_cmdlist): Return a VEC.
+       (complete_on_enum): Likewise.
+       * command.h: Include gdb_vecs.h.
+       (completer_ftype): Change return type.
+       (complete_on_cmdlist, complete_on_enum): Likewise.
+       * completer.c (noop_completer, filename_completer)
+       (location_completer): Return a VEC.
+       (add_struct_fields): Remove 'nextp' argument.  Change 'output'
+       to a VEC.
+       (expression_completer, complete_line_internal, complete_line)
+       (command_completer): Return a VEC.
+       (gdb_completion_word_break_characters, line_completion_function):
+       Update.
+       * completer.h: Include gdb_vecs.h.
+       (complete_line, noop_completer, filename_completer)
+       (expression_completer, location_completer, command_completer):
+       Update.
+       * f-lang.c (f_word_break_characters): Return a VEC.
+       * interps.c (interpreter_completer): Return a VEC.
+       * language.h (struct language_defn)
+       <la_make_symbol_completion_list>: Return a VEC.
+       * python/py-cmd.c (cmdpy_completer): Return a VEC.
+       * symtab.c (free_completion_list): Take a VEC.
+       (return_val_size, return_val_index): Remove.
+       (return_val): Now a VEC.
+       (completion_list_add_name): Update.
+       (default_make_symbol_completion_list_break_on)
+       (default_make_symbol_completion_list, make_symbol_completion_list)
+       (make_symbol_completion_list_fn, make_file_symbol_completion_list):
+       Return a VEC.
+       (add_filename_to_list): Update.
+       (struct add_partial_filename_data) <list_used, list_alloced>: Remove.
+       <list>: Now a VEC.
+       (maybe_add_partial_symtab_filename): Update.
+       (make_source_files_completion_list): Return a VEC.
+       * symtab.h (default_make_symbol_completion_list_break_on)
+       (default_make_symbol_completion_list, make_symbol_completion_list)
+       (make_symbol_completion_list_fn, make_file_symbol_completion_list)
+       (make_source_files_completion_list): Update.
+
+2012-06-13  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (add_catch_command): Use completer_ftype.
+       * breakpoint.h: Include command.h.
+       (add_catch_command): Use completer_ftype.
+       * cli/cli-decode.c (set_cmd_completer): Use completer_ftype.
+       * cli/cli-decode.h (struct cmd_list_element) <completer>:
+       Use completer_ftype.
+       * command.h (completer_ftype): New typedef.
+       (set_cmd_completer): Use it.
+       * python/py-cmd.c (struct cmdpy_completer) <completer>: Use
+       completer_ftype.
+
+2012-06-13  Pedro Alves  <palves@redhat.com>
+
+       Partial revert of previous change.
+
+       * serial.c (scb_base): New global.
+       (serial_for_fd): New.
+       (serial_open, serial_fdopen_ops): Link new serial in open serials
+       chain.
+       (do_serial_close): Unlink serial from the open serials chain.
+
+2012-06-12  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (infrun_thread_stop_requested_callback): Don't switch
+       threads here.
+       (prepare_for_detach): No longer context switch here in non-stop
+       mode.
+       (fetch_inferior_event): Ditto.
+       (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch
+       to the event thread before removing breakpoints.  Switch to the
+       event thread before inserting breakpoints and resuming.
+       (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the
+       event thread before resuming.
+       (handle_inferior_event) <stepping_past_singlestep_breakpoint>:
+       Switch to the event thread before removing breakpoints.
+
+2012-06-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote
+       special characters correctly for the Windows shells.  See
+       http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug
+       report.
+       [!__MINGW32__]: Remove extra double quote character from special
+       characters.
+
+2012-06-11  Stan Shebs  <stan@codesourcery.com>
+
+       * ui-out.h: Remove #if 0 declarations.
+       * ui-out.c: Remove #if 0 functions.
+
+2012-06-11  Pedro Alves  <palves@redhat.com>
+
+       * ser-base.c (run_async_handler_and_reschedule): New.
+       (fd_event, push_event): Use it.
+       * serial.c (serial_open, serial_fdopen_ops): Set the initial
+       reference count to 1.
+       (do_serial_close): Set the bufp field to NULL.  Use serial_unref
+       instead of xfree.
+       (serial_is_open, serial_ref, serial_unref): New.
+       * serial.h (serial_open): Adjust comment.
+       (serial_is_open): Declare.
+       (serial_close): Adjust comment.
+       (serial_ref, serial_unref) Declare.
+       (struct serial): New field 'refcnt'.
+
+2012-06-11  Pedro Alves  <palves@redhat.com>
+
+       Remove #if 0'd "connect" command, and unnecessary associated
+       refcounting and serial reuse bits.
+
+       * serial.h (struct serial): Remove fields 'next' and 'refcnt'.
+       * serial.c (last_serial_opened): Delete.
+       (scb_base): Delete.
+       (serial_open): Adjust.
+       (serial_for_fd): Delete.
+       (serial_fdopen_ops, do_serial_close): Adjust.
+       (serial_fdopen_ops): Adjust.
+
+2012-06-11  Pedro Alves  <palves@redhat.com>
+
+       * serial.c (do_serial_close): Remove early return when SCB is
+       null.
+
+2012-06-11  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units.
+
+2012-06-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix regression by the "ambiguous linespec" series.
+       * breakpoint.c (parse_breakpoint_sals): New variable cursal.  Use
+       get_last_displayed_symtab and get_last_displayed_line and depending
+       on CURSAL.
+
+2012-06-11  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_get_primary_filename_reader): New function.
+       (dw2_find_symbol_file): Use it.
+
+2012-06-11  Michael Eager  <eager@eagercon.com>
+
+       * mips-linux-tdep.c (mips_gdb_signal_from_target): New
+       * mips-linux-tdep.h (mips_signals): New
+
+2012-06-11  Tom Tromey  <tromey@redhat.com>
+
+       * infrun.c (handle_inferior_event)
+       <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume
+       breakpoint.
+       <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use
+       exception logic in all cases.  Update comments.
+       (insert_longjmp_resume_breakpoint): Set the exception resume
+       breakpoint.
+
+2012-06-11  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code.
+
+2012-06-09  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * valarith.c (binop_types_user_defined_p): Fix a typo.
+
+2012-06-08  Yao Qi  <yao@codesourcery.com>
+            Chung-Lin Tang <cltang@codesourcery.com>
+
+       * arch-utils.c (default_return_in_first_hidden_param_p): New.
+       * arch-utils.h: Declare.
+       * gdbarch.sh: Add return_in_first_hidden_param_p.
+       * gdbarch.c, gdbarch.h: Regenerated.
+       * infcall.c (call_function_by_hand): Call
+       gdbarch_return_in_first_hidden_param_p instead of
+       language_pass_by_reference.
+
+       * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New.
+       (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p.
+       * sh-tdep.c (sh_return_in_first_hidden_param_p): New.
+       (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p.
+       * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable
+       `cplus_return_struct_by_reference'.
+       (tic6x_return_value): Handle language cplusplus.
+       (tic6x_return_in_first_hidden_param_p): New.
+       (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p.
+
+2012-06-07  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_cu): Add comment.
+
 2012-06-06  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * mips-tdep.c (mips_pseudo_register_type): Remove tdep local
This page took 0.027432 seconds and 4 git commands to generate.