Add comment describing arm_stap_is_single_operand
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6e4bd7595dca11dc8cbc17f38672f482aaa29001..5c01e0afb5120882fb63fd4638a6708ac050f88e 100644 (file)
@@ -1,3 +1,274 @@
+2013-12-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * arm-linux-tdep.c (arm_stap_is_single_operand): Add comment
+       describing function.
+
+2013-12-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * arm-linux-tdep.c (arm_stap_is_single_operand): Accept "$" as a
+       literal prefix.  Also accept no prefix at all.
+       (arm_stap_parse_special_token): Likewise.
+       (arm_linux_init_abi): Likewise.
+
+2013-12-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR tdep/15653
+       * NEWS: Mention SystemTap SDT probe support for AArch64 GNU/Linux.
+       * aarch64-linux-tdep.c: Include necessary headers for parsing of
+       SystemTap SDT probes.
+       (aarch64_stap_is_single_operand): New function.
+       (aarch64_stap_parse_special_token): Likewise.
+       (aarch64_linux_init_abi): Declare SystemTap SDT probe argument
+       prefixes and suffixes.  Initialize gdbarch with them.
+
+2013-12-23  Sterling Augustine  <saugustine@google.com>
+
+       * linespec.c (add_sal_to_sals): Use "<unknown>" when a symbol
+       isn't found.
+
+2013-12-23  Sergio Durigan JUnior  <sergiodj@redhat.com>
+
+       * stap-probe.c (struct stap_probe) <args_parsed>: Add comment.
+       (stap_is_generic_prefix): Delete extra brackets.  Reindent.
+       (stap_parse_register_operand): Remove spurious newlines.  Simplify
+       code to parse special token.
+       (stap_parse_argument_conditionally): Add gdb_assert.
+       (stap_parse_argument_1): Likewise.  Explicitly check for NULL and
+       NUL.
+       (stap_parse_probe_arguments): Likewise.
+       (handle_stap_probe): Likewise.  Reindent code.
+       (get_stap_base_address): Explicitly check for NULL.
+       (stap_get_probes): Likewise.  Reindent code.
+       (stap_relocate): Explicitly check for 0.
+       (stap_gen_info_probes_table_values): Likewise.
+
+2013-12-20  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * nios2-linux-tdep.c (nios2_linux_sigreturn_init): Remove.
+       (nios2_linux_sigreturn_tramp_frame): Remove.
+       (nios2_linux_rt_sigreturn_tramp_frame): Update rt_sigreturn syscall
+       number.
+       (nios2_linux_syscall_next_pc): Likewise. Remove sigreturn case.
+       (nios2_linux_init_abi): Remove registration of
+       nios2_linux_sigreturn_tramp_frame.
+
+2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gdb/16305
+       * i386-tdep.c (i386_process_record): Mask out PREFIX_ADDR when
+       adding prefix to opcode.
+
+2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gdb/16304
+       * i386-tdep.c (i386_record_lea_modrm_addr): Don't use 16-bit
+       address in 64-bit mode.
+
+2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gdb/16304
+       * i386-tdep.c (i386_record_lea_modrm_addr): Zero-extend 32-bit
+       address to 64-bit in 64-bit mode.
+
+2013-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gdb/16304
+       * amd64-linux-tdep.c (amd64_canonicalize_syscall): Handle x32
+       system calls.
+       (amd64_x32_linux_record_tdep): New.
+       (amd64_linux_syscall_record_common): New function.
+       (amd64_linux_syscall_record): Call
+       amd64_linux_syscall_record_common with amd64_linux_record_tdep.
+       (amd64_x32_linux_syscall_record): Call
+       amd64_linux_syscall_record_common with
+       amd64_x32_linux_record_tdep.
+       (amd64_linux_init_abi_common): Move amd64_linux_record_tdep
+       initialization and tdep->i386_syscall_record setup to ...
+       (amd64_linux_init_abi): Here.
+       (amd64_x32_linux_init_abi): Initialize
+       amd64_x32_linux_record_tdep.  Set tdep->i386_syscall_record to
+       amd64_x32_linux_syscall_record.
+       * amd64-linux-tdep.h (amd64_x32_syscall): New enum.
+
+2013-12-19  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * amd64-tdep.c (amd64_init_abi): Declare SystemTap SDT probe
+       argument prefixes and suffixes.  Initialize gdbarch with them.
+       * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh (stap_integer_prefix, stap_integer_suffix)
+       (stap_register_prefix, stap_register_suffix)
+       (stap_register_indirection_prefix)
+       (stap_register_indirection_suffix): Declare as "const char *const
+       *" instead of "const char *".  Adjust printing function.  Rename
+       all of the variables to the plural.
+       (pstring_list): New function.
+       * i386-tdep.c (i386_elf_init_abi): Declare SystemTap SDT probe
+       argument prefixes and suffixes.  Initialize gdbarch with them.
+       * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.
+       * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
+       * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+       * stap-probe.c (stap_is_generic_prefix): New function.
+       (stap_is_register_prefix): Likewise.
+       (stap_is_register_indirection_prefix): Likewise.
+       (stap_is_integer_prefix): Likewise.
+       (stap_generic_check_suffix): Likewise.
+       (stap_check_integer_suffix): Likewise.
+       (stap_check_register_suffix): Likewise.
+       (stap_check_register_indirection_suffix): Likewise.
+       (stap_parse_register_operand): Remove unecessary declarations for
+       variables holding prefix and suffix information.  Use the new
+       functions listed above for checking for prefixes and suffixes.
+       (stap_parse_single_operand): Likewise.
+
+2013-12-19  Gabriel Krisman Bertazi  <gabriel@krisman.be>
+
+       PR breakpoints/16297
+       * breakpoint.c (breakpoint_hit_catch_syscall): Return immediately
+       when expected syscall is hit.
+
+2013-12-19  Tom Tromey  <tromey@redhat.com>
+
+       * ser-unix.c (hardwire_ops): New global.
+       (_initialize_ser_hardwire): Use it.
+       * ser-tcp.c (tcp_ops): New global.
+       (_initialize_ser_tcp): Use it.
+       * ser-pipe.c (pipe_ops): New global.
+       (_initialize_ser_pipe): Use it.
+       * ser-mingw.c (hardwire_ops, tty_ops, pipe_ops, tcp_ops): New
+       globals.
+       (_initialize_ser_windows): Use them.
+
+2013-12-19  Tom Tromey  <tromey@redhat.com>
+
+       * serial.c (serial_ops_p): New typedef.
+       (serial_ops_list): Now a VEC.
+       (serial_interface_lookup): Return const.  Use VEC_iterate.
+       (serial_add_interface): Make parameter const.
+       (serial_open): Update.
+       (serial_fdopen_ops): Make 'ops' const.
+       (serial_pipe): Update.
+       * ser-tcp.c (_initialize_ser_tcp): Update.
+       * ser-pipe.c (_initialize_ser_pipe): Update.
+       * ser-unix.c (_initialize_ser_hardwire): Update.
+       * ser-mingw.c (_initialize_ser_windows): Update.
+       * ser-go32.c (dos_ops): Now const.  Update.
+       * serial.h (struct serial) <ops>: Now const.
+       (struct serial_ops) <next>: Remove.
+       (serial_add_interface): Make parameter const.
+
+2013-12-18  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64-linux-nat.c (aarch64_linux_set_debug_regs): Set
+       iov.iov_len with the real length in use.
+
+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
This page took 0.035844 seconds and 4 git commands to generate.