Enable fork tracing for native FreeBSD targets.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5898ec98c35f31d2fefa944d3553a0b12c6b8eda..220bc36da83b098418b126e90024421e8034046e 100644 (file)
@@ -1,3 +1,128 @@
+2015-04-27  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c: [PT_LWPINFO] New variable super_wait.
+       [TDP_RFPPWAIT] New variable fbsd_pending_children.
+       [TDP_RFPPWAIT] (fbsd_remember_child): New function.
+       [TDP_RFPPWAIT] (fbsd_is_child_pending): New function.
+       [TDP_RFPPWAIT] (fbsd_fetch_kinfo_proc): New function.
+       [PT_LWPINFO] (fbsd_wait): New function.
+       [TDP_RFPPWAIT] (fbsd_follow_fork): New function.
+       [TDP_RFPPWAIT] (fbsd_insert_fork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_remove_fork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_insert_vfork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_remove_vfork_catchpoint): New function.
+       [TDP_RFPPWAIT] (fbsd_enable_follow_fork): New function.
+       [TDP_RFPPWAIT] (fbsd_post_startup_inferior): New function.
+       [TDP_RFPPWAIT] (fbsd_post_attach): New function.
+       (fbsd_nat_add_target) [PT_LWPINFO] Set "to_wait" to
+       "fbsd_wait".
+       [TDP_RFPPWAIT] Set "to_follow_fork" to "fbsd_follow_fork".
+       Set "to_insert_fork_catchpoint" to "fbsd_insert_fork_catchpoint".
+       Set "to_remove_fork_catchpoint" to "fbsd_remove_fork_catchpoint".
+       Set "to_insert_vfork_catchpoint" to "fbsd_insert_vfork_catchpoint".
+       Set "to_remove_vfork_catchpoint" to "fbsd_remove_vfork_catchpoint".
+       Set "to_post_startup_inferior" to "fbsd_post_startup_inferior".
+       Set "to_post_attach" to "fbsd_post_attach".
+
+2015-04-27  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_pid_to_exec_file): Mark static.
+       (fbsd_find_memory_regions): Mark static.
+       (fbsd_nat_add_target): New function.
+       * fbsd-nat.h: Export fbsd_nat_add_target and remove prototypes for
+       fbsd_pid_to_exec_file and fbsd_find_memory_regions.
+       * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Use fbsd_nat_add_target.
+       * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
+       * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Likewise.
+       * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Likewise.
+
+2015-04-27  Gary Benson <gbenson@redhat.com>
+
+       * objfiles.c (allocate_objfile): Do not attempt to expand name
+       if name is a "target:" filename.
+       * auto-load.c (load_auto_scripts_for_objfile): Do not attempt
+       to load auto-load scripts for objfiles with "target:" filenames.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c: Include "elf/s390.h" and "elf-bfd.h".
+       (enum s390_vector_abi_kind): New enum.
+       (struct gdbarch_tdep)<vector_abi>: New field.
+       (s390_effective_inner_type): Add parameter min_size.  Stop
+       unwrapping if the inner type is smaller than min_size.
+       (s390_function_arg_float): Adjust call to
+       s390_effective_inner_type.
+       (s390_function_arg_vector): New function.
+       (s390_function_arg_integer): Adjust comment.
+       (struct s390_arg_state)<vr>: New field.
+       (s390_handle_arg): Add parameter 'is_unnamed'.  Pass vector
+       arguments according to vector ABI when appropriate.
+       (s390_push_dummy_call): Initialize the argument state's field
+       'vr'.  Adjust calls to s390_handle_arg.
+       (s390_register_return_value): Handle vector return values.
+       (s390_return_value): Apply the "register" return value convention
+       to a vector when appropriate.
+       (s390_gdbarch_init): Initialize tdep->vector_abi.
+       * NEWS: Announce S390 vector ABI support.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_return_value_convention): Remove
+       function.  Inline its logic...
+       (s390_return_value): ...here.  Instead, move the handling of the
+       "register" return value convention...
+       (s390_register_return_value): ...here.  New function.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c
+       (is_float_singleton): Remove function.  Move the "singleton" part
+       of the logic...
+       (s390_effective_inner_type): ...here.  New function.
+       (is_float_like): Remove function.  Inline its logic...
+       (s390_function_arg_float): ...here.
+       (is_pointer_like, is_integer_like, is_struct_like): Remove
+       functions.  Inline their logic...
+       (s390_function_arg_integer): ...here.
+       (s390_function_arg_pass_by_reference): Remove function.
+       (extend_simple_arg): Remove function.
+       (alignment_of): Remove function.
+       (struct s390_arg_state): New structure.
+       (s390_handle_arg): New function.
+       (s390_push_dummy_call): Move parameter placement logic to the new
+       function s390_handle_arg.  Call it for calculating the stack area
+       sizes first, and again for actually writing the parameters.
+
+2015-04-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (is_power_of_two): Add comment.  Return
+         false if the argument is zero.
+
+2015-04-27  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (template_to_static_fixed_type): Return input type
+       when it is already fixed.  Cache the input type itself when not
+       creating a static fixed copy.  Make it explicit that we never
+       molestate the input type.
+       * gdbtypes.c (resolve_dynamic_struct): Reset the
+       TYPE_TARGET_TYPE field for resolved copies.
+
+2015-04-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_is_tagged_type): Add call to ada_check_typedef.
+       (ada_lookup_struct_elt_type): Remove calls to ada_check_typedef.
+       (template_to_static_fixed_type): Call ada_check_typedef only
+       when necessary.
+
+2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-dump.c (srec_dump_command): Add internationalization
+       mark ups.
+       (ihex_dump_command): Likewise.
+       (tekhex_dump_command): Likewise.
+       (binary_dump_command): Likewise.
+       (binary_append_command): Likewise.
+
 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * cli/cli-dump.c (verilog_cmdlist): New variable.
This page took 0.029026 seconds and 4 git commands to generate.