PowerPC64 ELFv2 ABI: no function descriptors
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6eef81ac9da829d2e57934e3b2cf5ec7c509285c..795e23f129214d9c073a225dbe2a39280520cb18 100644 (file)
@@ -1,3 +1,370 @@
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
+       set_gdbarch_convert_from_func_ptr_addr and
+       set_gdbarch_elf_make_msymbol_special for ELFv1.
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
+       function descriptors on ELFv1.
+       (ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
+       set up r12 at function entry.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-tdep.h (enum powerpc_elf_abi): New data type.
+       (struct gdbarch_tdep): New member elf_abi.
+
+       * rs6000-tdep.c: Include "elf/ppc64.h".
+       (rs6000_gdbarch_init): Detect ELF ABI version.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
+       within a register pair holding a DFP 128-bit value on little-endian.
+       (ppc64_sysv_abi_return_value_base): Likewise.
+       * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
+       (dfp_pseudo_register_write): Likewise.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
+       offset on little-endian when passing _Decimal32.
+       (ppc64_sysv_abi_return_value_base): Likewise for return values.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
+       of the overlapped FP register within the VSX register on little-
+       endian platforms.
+       (efpr_pseudo_register_write): Likewise.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
+       offset on little-endian when passing small structures.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
+       (struct ppc64_sysv_argpos): New data structure.
+       (ppc64_sysv_abi_push_float): Remove.
+       (ppc64_sysv_abi_push_val): New function.
+       (ppc64_sysv_abi_push_integer): Likewise.
+       (ppc64_sysv_abi_push_freg): Likewise.
+       (ppc64_sysv_abi_push_vreg): Likewise.
+       (ppc64_sysv_abi_push_param): Likewise.
+       (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
+       (ppc64_sysv_abi_return_value_base): New function.
+       (ppc64_sysv_abi_return_value): Refactor to use it.
+
+2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * NEWS: Document new target powerpc64le-*-linux*.
+
+2014-02-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
+       (sparc64obsd_supply_gregset): Handle registers sets used in ELF
+       core dumps.
+       (sparc64obsd_init_abi): Adjust minimum size of the general purpose
+       register set used in ELF core dumps.  Add floating-point register set.
+
+2014-02-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite 
+       dwarf2_to_gdb[] table using symbolic constants.  Adjust
+       penultimate entry from number representing the PC register
+       to symbolic constant representing the MDR register.  Add
+       constant for the PC register to the end of the table.
+
+2014-02-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * bsd-kvm.c: Include <sys/param.h>
+
+2014-02-03  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
+
+2014-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h (clear_ada_sym_cache): Delete.
+
+2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
+
+2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
+          the sigreturn register save area only if the syscall is
+          sigreturn.
+
+2014-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * valops.c (value_slice): Minor reformatting.
+
+2014-01-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
+
+2014-01-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
+       New static globals.
+       (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
+       (ada_ignore_descriptive_types_p): New static global.
+       (find_parallel_type_by_descriptive_type): Return immediately
+       if ada_ignore_descriptive_types_p is set.
+       (_initialize_ada_language): Register new commands "maintenance
+       set ada", "maintenance show ada", "maintenance set ada
+       ignore-descriptive-types" and "maintenance show ada
+       ignore-descriptive-types".
+       * NEWS: Add entry for new "maint ada set/show
+       ignore-descriptive-types" commands.
+
+2014-01-27  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_close): Call btrace_teardown
+       for all threads.
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
+       "ui-out.h".
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-typeprint (type_is_full_subrange_of_target_type):
+       New function.
+       (print_range): Add parameter bounds_prefered_p.  If not set,
+       try printing range types using the name of their base type.
+       (print_range_type): Add parameter bounds_prefered_p.
+       Use it in call to print_range.
+       (print_array_type, ada_print_type): Update calls to print_range
+       and print_range_type.
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-typeprint.c (print_array_type, print_choices, print_range)
+       (print_range_bound, print_dynamic_range_bound, print_range_type):
+       Remove declaration.
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-typeprint.c (print_range): Add missing empty line
+       after local declaration.
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (print_optional_low_bound): Get index_type's
+       target type for as long as it is a TYPE_CODE_RANGE.
+
+2014-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (procfs_make_note_section): Remove assertion and
+       associated comment.
+
+2014-01-24  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_read_bytes): Change type of len to ULONGEST.
+       * corelow.c (get_core_siginfo): Likewise.
+
+2014-01-24  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_write_bytes_aux): Change type of 'len' to
+       ULONGEST.  Don't check 'len' is negative.
+       (remote_write_bytes):  Change type of 'len' to ULONGEST.
+
+2014-01-23  Tom Tromey  <tromey@redhat.com>
+
+       PR python/16485:
+       * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
+       Handle exception from frame.block.
+       (FrameVars.fetch_frame_locals): Likewise.
+
+2014-01-23  Tom Tromey  <tromey@redhat.com>
+
+       PR python/16487:
+       * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
+       on a NULL pointer.  Move "goto error" to correct place.
+
+2014-01-23  Tom Tromey  <tromey@redhat.com>
+
+       PR python/16491:
+       * python/py-framefilter.c (apply_frame_filter): Call
+       ensure_python_env after computing gdbarch.
+
+2014-01-23  Yao Qi  <yao@codesourcery.com>
+
+       * target.c (raw_memory_xfer_partial): Change argument type
+       from void * to gdb_byte *.
+       (memory_xfer_partial_1, memory_xfer_partial): Likewise.
+
+2014-01-22  Doug Evans  <dje@google.com>
+
+       New gdbserver option --debug-format=timestamp.
+       * NEWS: Mention it.
+
+2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
+
+       * syscalls/s390x-linux.xml: New file.
+       * syscalls/s390-linux.xml: New file.
+       * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
+       (XML_SYSCALL_FILENAME_S390X): Likewise.
+       (op_svc): New enum value for SVC opcode.
+       (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
+       (s390_linux_get_syscall_number): New function.
+       (s390_gdbarch_init): Register '*get_syscall_number' and the
+       syscall xml file name.
+       * data-directory/Makefile.in (SYSCALLS_FILES): Add
+       "s390-linux.xml" and "s390x-linux.xml".
+       * NEWS: Announce new feature.
+
+2014-01-22  Baruch Siach  <baruch@tkos.co.il>
+
+       * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
+
+2014-01-22  Pedro Alves  <palves@redhat.com>
+
+       * xtensa-config.c: Include defs.h.
+
+2014-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/common-utils.h: Add "ARI:" comment beside __func__
+       reference.
+
+2014-01-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/common-utils.h (FUNCTION_NAME): Expand the macro's
+       documentation a bit.
+
+2014-01-21  Roland McGrath  <mcgrathr@google.com>
+
+       * configure.ac: Call AM_PROG_INSTALL_STRIP.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
+       New substituted variables.
+       (install-strip): New target.
+       (INSTALL_SCRIPT): New substituted variable.
+       (FLAGS_TO_PASS): Add it.
+       (install-only): Use $(INSTALL_SCRIPT) rather than
+       $(INSTALL_PROGRAM) for gcore.
+
+2014-01-20  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
+       together.
+
+2014-01-20  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
+       (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
+       (deprecated_cmd_warning, complete_on_cmdlist): Update.
+       * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
+       (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
+       (struct cmd_list_element) <flags>: Remove.
+       <cmd_deprecated, deprecated_warn_user, malloced_replacement,
+       doc_allocated>: New fields.
+       <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
+       bitfields.
+       * maint.c (maintenance_do_deprecate): Update.
+       * top.c (execute_command): Update.
+
+2014-01-20  Baruch Siach  <baruch@tkos.co.il>
+
+       * xtensa-linux-nat.c: Include asm/ptrace.h.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * Makefile.in (SFILES): Add d-support.c.
+       (COMMON_OBS): Add d-support.o.
+       * d-lang.h (d_parse_symbol): Add comment, now defined in
+       d-support.c.
+       * d-lang.c (parse_call_convention)
+       (parse_attributes, parse_function_types)
+       (parse_function_args, parse_type, parse_identifier)
+       (call_convention_p, d_parse_symbol): Move functions to ...
+       * d-support.c: ... New file.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-lang.h (d_parse_symbol): Add declaration.
+       * d-lang.c (extract_identifiers)
+       (extract_type_info): Remove functions.
+       (parse_call_convention, parse_attributes)
+       (parse_function_types, parse_function_args)
+       (parse_type, parse_identifier, call_convention_p)
+       (d_parse_symbol): New functions.
+       (d_demangle): Use d_parse_symbol to demangle D symbols.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-lang.h (struct builtin_d_type): New data type.
+       (builtin_d_type): Add declaration.
+       * d-lang.c (d_language_arch_info, build_d_types)
+       (builtin_d_type): New functions.
+       (enum d_primitive_types): New data type.
+       (d_language_defn): Change c_language_arch_info to
+       d_language_arch_info.
+       (d_type_data): New static variable.
+       (_initialize_d_language): Initialize d_type_data.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-lang.h (d_main_name): Add declaration.
+       * d-lang.c (d_main_name): New function.
+       * symtab.c (find_main_name): Add call to d_main_name.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-lang.c (d_language_defn): Change macro_expansion_c to
+       macro_expansion_no.
+
+2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * MAINTAINERS: Add myself as a write-after-approval maintainer.
+
+2014-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
+       gdb_exception" declaration.
+       * remote.c (getpkt_or_notif_sane): Likewise.
+
+2014-01-17  Doug Evans  <dje@google.com>
+
+       * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
+       function, contents of dirnames_to_char_ptr_vec_append moved here.
+       (delim_string_to_char_ptr_vec): New function.
+       (dirnames_to_char_ptr_vec_append): Rewrite.
+       * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
+
+2014-01-17  Doug Evans  <dje@google.com>
+
+       * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
+       and moved here ...
+       * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
+       #include "common-utils.h".
+       (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
+       * common/vec.h (VEC_ASSERT_PASS): Update.
+       * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
+       (MACH_CHECK_ERROR): Update.
+
+2014-01-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
+       comments.
+       * gdbarch.h: Regenerate.
+
+2014-01-16  Tom Tromey  <tromey@redhat.com>
+
+       * value.c (struct value) <regnum>: Move earlier.
+
+2014-01-16  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (extended_remote_create_inferior): Rename from
+       extended_remote_create_inferior_1.  Add "ops" argument.  Remove
+       old implementation.
+
 2014-01-16  Pedro Alves  <palves@redhat.com>
 
        * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
This page took 0.029056 seconds and 4 git commands to generate.