[Ada] New GDB/MI command: -ada-tasks-info
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 053c6efd276c621f86e3a1e19b27843983bafd11..c17728b043ebf0a3623e169d58d58f88cbd034ae 100644 (file)
@@ -1,3 +1,174 @@
+2011-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h (struct inferior): Declare.
+       (print_ada_task_info): Add declaration.
+       * ada-tasks.c (print_ada_task_info): Make non-static.
+       * mi/mi-cmds.c (mi_cmds): Add "ada-task-info".
+       * mi/mi-cmds.h (mi_cmd_ada_task_info): Add declaration.
+       * mi/mi-main.c: #include "ada-lang.h".
+       (mi_cmd_list_features): Add "ada-task-info" to the list
+       of supported features.
+       (mi_cmd_ada_task_info): New function.
+
+2011-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/python.c (python_run_simple_file): New function.
+       (source_python_script, source_python_script_for_objfile):
+       Replace call to PyRun_SimpleFile by call to
+       python_run_simple_file.
+
+2011-10-03  Paul Koning  <paul_koning@dell.com>
+
+       * python/py-value.c (valpy_get_address): Use Py_XINCREF.
+       (value_to_value_object): Fetch value if it was lazy.
+
+2011-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * solib-svr4.c (svr4_default_sos):  Remove variables head and link_ptr.
+       Rearrange the code for it.
+
+2011-10-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (bkpt_print_recreate): Add call to
+       print_recreate_thread.
+
+2011-09-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/linux-ptrace.h (PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC,
+       PTRACE_GETFDPIC_INTERP): Define.
+
+2011-09-28  Yao Qi  <yao@codesourcery.com>
+
+       * symfile.c (add_symbol_file_command): Update message on usage.
+
+2011-09-28  Paul Koning  <paul_koning@dell.com>
+
+       * python/py-type.c (make_fielditem, typy_field_names, typy_items)
+       (typy_length, typy_get, typy_has_key, typy_make_iter)
+       (typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter)
+       (typy_iterator_iter, typy_iterator_iternext)
+       (typy_iterator_dealloc): New functions to implement standard
+       Python mapping methods on gdb.Type object.
+       (gdb.TypeIterator): New Python type.
+       * python/python-internal.h (gdbpy_iter_kind): New enum.
+       * doc/gdb.texinfo (gdb.Type): Document field access by dictionary
+       key syntax.
+
+2011-09-28  David S. Miller  <davem@davemloft.net>
+
+       * sparc-tdep.h (SPARC_F2_REGNUM, SPARC_F3_REGNUM, SPARC_F4_REGNUM,
+       SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM): New enums.
+       * sparc-tdep.c (sparc_complex_floating_p): New function.
+       (sparc32_store_arguments): Handle complex floats.
+       (sparc32_extract_return_value): Likewise.
+       (sparc32_store_return_value): Likewise.
+       (sparc32_stabs_argument_has_addr): Likewise.
+       * sparc64-tdep.c (sparc64_complex_floating_p): New function.
+       (sparc64_store_floating_fields): Handle complex floats.
+       (sparc64_store_arguments): Likewise.
+       (sparc64_store_return_value): Likewise.
+
+2011-09-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * windows-nat.c (env_sort) [!__CYGWIN__]: Function restored from
+       before the change on 2006-12-09.
+       (windows_create_inferior) [!__CYGWIN__]: Restore code that
+       generates the environment block for CreateProcessA, modulo the
+       Cygwin-specific parts that are not needed here.
+
+2011-09-27  Tristan Gingold  <gingold@adacore.com>
+
+       * target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO.
+       * solib-darwin.c (DYLD_VERSION_MAX): Update number.
+       (darwin_solib_get_all_image_info_addr_at_init): New function.
+       (darwin_solib_read_all_image_info_addr): Likewise.
+       (darwin_solib_create_inferior_hook): Use the above two functions.
+       * darwin-nat.c (darwin_execvp): Renames retval to res.
+       (darwin_read_write_inferior): Update comment.
+       (darwin_read_dyld_info): New function.
+       (darwin_xfer_partial): Handle DYLD_INFO.
+
+2011-09-27  Stan Shebs  <stan@codesourcery.com>
+
+       Add return address collection for tracepoints.
+       * tracepoint.c (encode_actions_1): Add case for $_ret.
+       (validate_actionline): Check for $_ret.
+       (trace_dump_actions): Ditto.
+       * ax-gdb.h (gen_trace_for_return_address): Declare.
+       * ax-gdb.c: Include arch-utils.h.
+       (gen_trace_for_return_address): New function.
+       (agent_command): Add return address special case.
+       * amd64-tdep.c: Include ax.h and ax-gdb.h.
+       (amd64_gen_return_address): New function.
+       (amd64_init_abi): Call it.
+       * i386-tdep.c: Include ax.h and ax-gdb.h.
+       (i386_gen_return_address): New function.
+       (i386_init_abi): Call it.
+       * arch-utils.h (default_gen_return_address): Declare.
+       * arch-utils.c (default_gen_return_address): New function.
+       * gdbarch.sh (gen_return_address): New method.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2011-09-23  Joseph Myers  <joseph@codesourcery.com>
+
+       PR gdb/13079
+       * i386-tdep.c (i386_frame_align): New.
+       (i386_gdbarch_init): Use i386_frame_align.
+
+2011-09-23  Yao Qi  <yao@codesourcery.com>
+
+       * i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer
+       to get address.
+
+2011-09-22  Tristan Gingold  <gingold@adacore.com>
+
+       * fork-child.c (fork_inferior): Add exec_fun parameter.
+       Call exec_fun or execvp.
+       * inferior.h: Adjust prototype.
+       * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call.
+       * inf-ttrace.c (inf_ttrace_create_inferior): Ditto.
+       * inf-ptrace.c (inf_ptrace_create_inferior): Ditto.
+       * procfs.c (procfs_create_inferior): Ditto.
+       * darwin-nat.c (darwin_execvp): New function.
+       (darwin_create_inferior): Use it.
+
+2011-09-22  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (context_switch): Print debug message when switching to
+       a different thread.
+
+2011-09-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (s390_function_arg_pass_by_reference): Handle
+       complex and vector types.
+       (s390_return_value_convention): Likewise.
+
+       (s390_value_from_register): Call check_typedef.
+       (extend_simple_arg): Likewise.
+       (alignment_of): Likewise.
+       (s390_push_dummy_call): Likewise.
+       (s390_return_value): Likewise.
+
+2011-09-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * event-top.c (async_disconnect): If an exception is thrown from
+       quit_cover, call pop_all_targets.  Use TRY_CATCH instead of
+       catch_errors.
+       * top.c (quit_cover): Return void and take no arguments.
+       * top.h (quit_cover): Update prototype.
+
+2011-09-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to
+       current_uiout, not uiout.
+
+2011-09-19  Doug Evans  <dje@google.com>
+
+       * python/py-auto-load.c (source_section_scripts): Fix file
+       descriptor leak.
+       * python/python.c (source_python_script_for_objfile): Tweak comments.
+
 2011-09-18  Yao Qi  <yao@codesourcery.com>
            Ulrich Weigand  <ulrich.weigand@linaro.org>
 
This page took 0.029096 seconds and 4 git commands to generate.