Add target_xfer_partial_ftype
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c37cf207a4dd4a7502ebb6820bf132f0b084330b..7d9308f515caf49fd79e5696ce6c59465bbae34d 100644 (file)
@@ -1,3 +1,422 @@
+2013-12-18  Yao Qi  <yao@codesourcery.com>
+
+       * target.h (target_xfer_partial_ftype): New typedef.
+       (target_xfer_partial): Update declaration.
+       * auxv.h (memory_xfer_auxv): Likewise.
+       * ia64-hpux-nat.c (super_xfer_partial): Likewise.
+       * ia64-linux-nat.c (super_xfer_partial): Likewise.
+       * linux-nat.c (super_xfer_partial): Likewise.
+       * procfs.c (procfs_xfer_partial): Likewise.
+       * record-full.c (record_full_beneath_to_xfer_partial):
+       (tmp_to_xfer_partial): Likewise.
+       * sparc-nat.c (inf_ptrace_xfer_partial): Likewise.
+       * target.c (default_xfer_partial): Likewise.
+       (current_xfer_partial): Likewise.
+       (target_xfer_partial): Change parameter type to 'gdb_byte *'.
+
+2013-12-18  Yao Qi  <yao@codesourcery.com>
+
+       * linux-nat.c (linux_proc_xfer_partial): Call xsnprintf instead
+       of sprintf.
+       (linux_nat_detach, linux_child_pid_to_exec_file): Likewise.
+       (linux_proc_pending_signals): Likewise.
+
+2013-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * value.c (value_entirely_unavailable): ARI fix: Move trailing
+       binary operator to the next line.  No actual code change.
+
+2013-12-17  Pedro Alves  <palves@redhat.com>
+
+       * frame.h (enum frame_id_stack_status): New enum.
+       (struct frame_id) <stack_addr>: Adjust comment.
+       <stack_addr_p>: Delete field, replaced with ...
+       <stack_status>: ... this new field.
+       (frame_id_build_unavailable_stack): Declare.
+       * frame.c (frame_addr_hash, fprint_field, outer_frame_id)
+       (frame_id_build_special): Adjust.
+       (frame_id_build_unavailable_stack): New function.
+       (frame_id_build, frame_id_build_wild): Adjust.
+       (frame_id_p, frame_id_eq, frame_id_inner): Adjust to take into
+       account frames with unavailable stack.
+
+       * amd64-tdep.c (amd64_frame_this_id)
+       (amd64_sigtramp_frame_this_id, amd64_epilogue_frame_this_id): Use
+       frame_id_build_unavailable_stack.
+       * dwarf2-frame.c (dwarf2_frame_this_id): Likewise.
+       * i386-tdep.c (i386_frame_this_id, i386_epilogue_frame_this_id)
+       (i386_sigtramp_frame_this_id):  Likewise.
+
+2013-12-17  Andrew Burgess  <aburgess@broadcom.com>
+
+       * dwarf2loc.c (read_pieced_value): Mark bits, not bytes
+       unavailable, use correct bit length.
+       * value.c (struct value): Extend comment on unavailable to
+       indicate that it is bit based.
+       (value_bits_available): New function.
+       (value_bytes_available): Call value_bits_available.
+       (value_entirely_available): Check against the bit length, not byte
+       length.
+       (mark_value_bits_unavailable): New function.
+       (mark_value_bytes_unavailable): Move contents to
+       mark_value_bits_unavailable, call to same.
+       (memcmp_with_bit_offsets): New function.
+       (value_available_contents_bits_eq): New function, takes the
+       functionality from value_available_contents_eq but uses
+       memcmp_with_bit_offsets now, and is bit not byte based.
+       (value_available_contents_eq): Move implementation into
+       value_available_contents_bits_eq, call to same.
+       (value_contents_copy_raw): Work on bits, not bytes.
+       (unpack_value_bits_as_long_1): Check availability in bits, not
+       bytes.
+       * value.h (value_bits_available): Declare new function.
+       (mark_value_bits_unavailable): Declare new function.
+
+2013-12-16  Pierre Muller  <muller@sourceware.org>
+
+       Fix compilation error for cygwin native build.
+       * windows-nat.c (windows_ensure_ntdll_loaded) [__USEWIDE]:
+       Call wcstombs.
+
+2013-12-16  Pedro Alves  <palves@redhat.com>
+
+       PR 16329
+       * sol-thread.c (check_for_thread_db): If the target can't run or
+       isn't a core, return without pushing.
+
+2013-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert the following commit:
+       * solib.c (solib_map_sections): Remove code overwriting
+       SO->SO_NAME with the bfd's filename.
+
+       Make the following changes required after the revert above:
+       * solib-aix.c (solib_aix_bfd_open): Set the filename of the
+       returned bfd to a copy of the synthetic pathname.
+       * solib-darwin.c (darwin_bfd_open): Set the filename of the
+       returned bfd to a copy of PATHNAME.
+
+2013-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_array_bound_from_type): Move the declaration
+       and assignment of variable "elt_type" inside the else block
+       where it is used.  Add two missing check_typedef calls.
+       Fix bug where we got TYPE's TYPE_TARGET_TYPE, where in fact
+       we really wanted to get ELT_TYPE's TYPE_TARGET_TYPE.
+
+2013-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_array_bound_from_type): Remove unwanted space
+       between 'struct type *' and 'arr_type'.
+
+2013-12-12  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR python/16113
+       * NEWS (Python Scripting): Add entry for the new feature and the
+       new attribute of gdb.Field objects.
+       * python/py-type.c (gdbpy_is_field): New function
+       (convert_field): Add 'parent_type' attribute to gdb.Field
+       objects.
+       * python/py-value.c (valpy_getitem): Allow subscript value to be
+       a gdb.Field object.
+       (value_has_field): New function
+       (get_field_flag): New function
+       * python/python-internal.h (gdbpy_is_field): Add declaration.
+
+2013-12-12  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (insert_bp_location): Make 'hw_bp_err_string' local
+       const, and remove casts.
+
+2013-12-12  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-cmds.c (source_script_from_stream) Use have_python
+       instead of catching UNSUPPORTED_ERROR.
+       * exceptions.h (UNSUPPORTED_ERROR): Delete.
+       * python/python.c (source_python_script) [!HAVE_PYTHON]: Internal
+       error if called.
+       * python/python.h (have_python): New static inline function.
+
+2013-12-11  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (lookup_dwo_cutu): Include name of dwp file in
+       "can't find DWO" warning.
+
+2013-12-11  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * break-catch-throw.c (fetch_probe_arguments): Pass selected frame
+       to get_probe_argument_count and evaluate_probe_argument.
+       * probe.c (get_probe_argument_count): Adjust declaration to accept
+       frame.  Pass frame to probe_ops's get_probe_argument_count.
+       (evaluate_probe_argument): Likewise, for evaluate_probe_argument.
+       (probe_safe_evaluate_at_pc): Pass frame to
+       get_probe_argument_count and evaluate_probe_argument.
+       * probe.h (struct probe_ops) <get_probe_argument_count,
+       evaluate_probe_argument>: Adjust declarations to accept frame.
+       (get_probe_argument_count, evaluate_probe_argument): Likewise.
+       * solib-svr4.c (solib_event_probe_action): Get current frame.
+       Pass it to get_probe_argument_count.
+       (svr4_handle_solib_event): Get current frame.  Pass it to
+       get_probe_argument_count and evaluate_probe_argument.
+       * stap-probe.c (stap_parse_probe_arguments): Adjust declaration to
+       accept gdbarch.  Do not obtain it from the probe's objfile.
+       (stap_get_probe_argument_count): Adjust declaration to accept
+       frame.  Obtain gdbarch from the frame.  Call generic
+       can_evaluate_probe_arguments.  Pass gdbarch to
+       stap_parse_probe_arguments.
+       (stap_get_arg): Adjust declaration to accept gdbarch.  Pass it to
+       stap_parse_probe_arguments.
+       (stap_evaluate_probe_argument): Adjust declaration to accept
+       frame.  Obtain gdbarch from the frame.  Pass gdbarch to
+       stap_get_arg.
+       (stap_compile_to_ax): Pass agent_expr's gdbarch to stap_get_arg.
+       (compute_probe_arg): Obtain gdbarch from frame.  Pass frame to
+       get_probe_argument_count and evaluate_probe_argument.
+
+2013-12-10  Doug Evans  <dje@google.com>
+
+       PR 16286
+       * c-lang.c (c_get_string): Ignore the declared size of the object
+       if a specific length is requested.
+
+2013-12-10  Doug Evans  <dje@google.com>
+
+       * interps.h (interp_exec_p): Delete.
+       * interps.c (interp_exec_p): Delete.
+       (interp_exec): Update.  Assert interp->procs->exec_proc != NULL.
+       * mi/mi-interp.c (mi_cmd_interpreter_exec): Update.
+
+2013-12-10  Yao Qi  <yao@codesourcery.com>
+
+       * amd64-tdep.c (amd64_analyze_stack_align): Call
+       target_read_code instead of target_read_memory.
+       (amd64_analyze_prologue): Call read_code_unsigned_integer
+       instead of read_memory_unsigned_integer.  Call read_code
+       instead of read_memory.
+       (amd64_skip_xmm_prologue): Likewise.
+
+2013-12-10  Yao Qi  <yao@codesourcery.com>
+
+       * corefile.c (read_code): New function.
+       (read_code_integer): New function.
+       (read_code_unsigned_integer): New function.
+       * gdbcore.h (read_code): Declare.
+       (read_code_integer): Declare.
+       (read_code_unsigned_integer): Declare.
+       * i386-tdep.c (i386_follow_jump): Call target_read_code instead
+       of target_read_memory.  Call read_code_unsigned_integer instead
+       of read_memory_unsigned_integer.
+       (i386_analyze_struct_return): Likewise.
+       (i386_skip_probe): Likewise.
+       (i386_analyze_stack_align): Likewise.
+       (i386_match_pattern): Likewise.
+       (i386_skip_noop): Likewise.
+       (i386_analyze_frame_setup): Likewise.
+       (i386_analyze_register_saves): Likewise.
+       (i386_skip_prologue): Likewise.
+       (i386_skip_main_prologue): Likewise.
+       (i386_frame_cache_1): Likewise.
+
+2013-12-10  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c: Include "target-dcache.h".
+       (prepare_for_detach): Call target_dcache_invalidate.
+       (wait_for_inferior): Likewise.
+       (fetch_inferior_event): Likewise.
+       (infrun_thread_stop_requested_callback): Likewise.  Set
+       overlay_cache_invalid to 1.
+
+2013-12-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * symtab.c (symbol_find_demangled_name): Add handling of
+       Ada symbols.
+
+2013-12-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (mi_cmd_list_features): add "exec-run-start-option".
+       * NEWS: Expand the entry documenting the new -exec-run --start
+       option to mention the corresponding new entry in the output of
+       "-list-features".
+
+2013-12-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * windows-nat.c (handle_load_dll): Add comments.
+       (windows_ensure_ntdll_loaded): New function.
+       (do_initial_windows_stuff): Use windows_ensure_ntdll_loaded.
+       Add FIXME comment.
+
+2013-12-08  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.6.2 released.
+
+2013-12-08  Yao Qi  <yao@codesourcery.com>
+
+       * stack.c (frame_info): Initialize variable caller_pc.
+
+2013-12-06  Pedro Alves  <palves@redhat.com>
+
+       * frame.c (enum cached_copy_status): New enum.
+       (struct frame_info) <prev_pc.p>: Change type to enum
+       cached_copy_status.
+       (fprint_frame): Handle not saved and unavailable prev_pc values.
+       (frame_unwind_pc_if_available): Delete and merge contents into ...
+       (frame_unwind_pc): ... here.  Handle OPTIMIZED_OUT_ERROR.  Adjust
+       to use enum cached_copy_status.
+       (frame_unwind_caller_pc_if_available): Delete.
+       (create_new_frame): Adjust.
+       * frame.h (frame_unwind_caller_pc_if_available): Delete
+       declaration.
+       * stack.c (frame_info): Use frame_unwind_caller_pc instead of
+       frame_unwind_caller_pc_if_available, and handle
+       NOT_AVAILABLE_ERROR and OPTIMIZED_OUT_ERROR errors.
+       * valprint.c (val_print_optimized_out): Use val_print_not_saved.
+       (val_print_not_saved): New function.
+       * valprint.h (val_print_not_saved): Declare.
+
+2013-12-06  Andrew Burgess  <aburgess@broadcom.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * exceptions.h (errors): Add OPTIMIZED_OUT_ERROR.
+       * dwarf2loc.c (write_pieced_value): Throw OPTIMIZED_OUT_ERROR.
+       * frame.c (frame_unwind_register): Throw OPTIMIZED_OUT_ERROR.
+       * spu-tdep.c (spu_software_single_step): Throw
+       OPTIMIZED_OUT_ERROR.
+       * valops.c (value_assign): Throw OPTIMIZED_OUT_ERROR.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.c (free_objfile): Update comment.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.h (objfile_to_front): Remove.
+       * objfiles.c (objfile_to_front): Remove.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * minsyms.c (get_symbol_leading_char): Remove unnecessary
+       declaration.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * psympriv.h (struct partial_symtab) <user>: Move earlier.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (edit_command): Use paddress, not hex_string.
+       (list_command): Likewise.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * psymtab.c (allocate_psymtab): Put the filename in the filename
+       bcache.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * buildsym.c (end_symtab_from_static_block): Use obstack_copy0.
+       * symtab.h (struct symtab) <dirname>: Now const.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (allocate_symtab): Remove cast.
+       * symtab.h (struct symtab) <filename>: Now const.
+
+2013-12-06  Tom Tromey  <tromey@redhat.com>
+
+       * break-catch-throw.c (fetch_probe_arguments): Use
+       get_probe_argument_count and evaluate_probe_argument.
+       * elfread.c (elf_get_probe_argument_count)
+       (elf_can_evaluate_probe_arguments, elf_evaluate_probe_argument)
+       (elf_compile_to_ax): Remove.
+       (elf_probe_fns): Update.
+       * probe.c (get_probe_argument_count, can_evaluate_probe_arguments)
+       (evaluate_probe_argument): Call method on probe, not via sym
+       functions.
+       * stap-probe.c (compute_probe_arg): Use get_probe_argument_count,
+       evaluate_probe_argument.
+       (compile_probe_arg): Use get_probe_argument_count.  Call method on
+       probe, not via sym functions.
+       * symfile-debug.c (debug_sym_get_probe_argument_count)
+       (debug_can_evaluate_probe_arguments)
+       (debug_sym_evaluate_probe_argument, debug_sym_compile_to_ax):
+       Remove.
+       (debug_sym_probe_fns): Remove.
+       * symfile.h (struct sym_probe_fns) <sym_get_probe_argument_count,
+       can_evaluate_probe_arguments, sym_evaluate_probe_argument,
+       sym_compile_to_ax>: Remove fields.
+
+2013-12-06  Pierre Muller  <muller@sourceware.org>
+
+       Fix completion for pascal language.
+       * p-exp.y (exp : field_exp name): Do not call mark_struct_expression.
+       (exp : field_exp name COMPLETE): New rule.
+       (exp : SIZEOF): Set correct current_type.
+       (last_was_structop): Remove static variable.
+       (yylex): Remove saw_structop local variable.
+       Adapt code to removal of variables above.
+
+2013-12-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * frame.c (get_prev_frame_1): Delete variable "this_id".
+       Replace its use by a call to get_frame_id.
+
+2013-12-05  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_software_single_step): New function.
+       (INST2OFFSET): New helper macro.
+       (moxie_gdbarch_init): Call set_gdbarch_software_single_step.
+       (moxie_process_readu): Move this up in the file.
+
+2013-12-05  Doug Evans  <xdje42@gmail.com>
+
+       * auto-load.c (load_auto_scripts_for_objfile): Add some comments.
+
+2013-12-05  Joel Brobecker  <brobecker@adacore.com>
+           Tristan Gingold  <gingold@adacore.com>
+
+       * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
+       Accept version 2.  Ignore operations using opcode 6.
+
+2013-12-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lex.l (find_dot_all): Fix coding style violations.
+
+2013-12-03  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * NEWS:  Add section for Intel(R) Architecture Instructions
+       Extesions mentioning MPX.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lex.l (find_dot_all): Use strncasecmp instead of strncmp.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (create_excep_cond_exprs): Force EXP to NULL
+       when parse_exp_1 threw an error.  Add comment.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Mention "-list-features" in the entry documenting
+       the support for the "--language" option.
+
+2013-12-03  Tom Tromey  <tromey@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Doug Evans  <dje@google.com>
+           Samuel Bronson  <naesten@gmail.com>
+
+       Bring back gdb-add-index as a contrib script.
+       * contrib/gdb-add-index.sh: New file.
+       * NEWS: Note the addition.
+
+2013-12-03  Samuel Bronson  <naesten@gmail.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-12-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (mi_cmd_list_features): Remove "ada-exceptions".
+
 2013-12-03  Joel Brobecker  <brobecker@adacore.com>
 
        * mi/mi-main.c: Remove trailing spaces throughout.
This page took 0.034729 seconds and 4 git commands to generate.