*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5f3b25959050e857bbf221c4b30ca7aa3db9521b..f8001b6b80832b3b39479f458fe162aea78a7fd0 100644 (file)
@@ -1,3 +1,273 @@
+2010-10-28  Hui Zhu  <teawater@gmail.com>
+
+       * tracepoint.c (trace_save): Change utp->actions to
+       utp->step_actions.
+
+2010-10-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * (_FILE_OFFSET_BITS): Fix typo in comment.
+
+2010-10-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/python-internal.h (_FILE_OFFSET_BITS): Undefine.
+       (PyEval_InitThreads): Remove duplicate. Define as nothing.
+       (PyEval_ReleaseLock): Define as nothing.
+
+2010-10-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (psymtab_include_file_name): Replace call to strcmp
+       by call to FILENAME_CMP.
+
+2010-10-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * dictionary.c (dict_hash): Move assignment out of if condition.
+
+2010-10-22  Jie Zhang  <jie@codesourcery.com>
+
+       * Makefile.in (install): Remove dependency of install-only and
+       recursively invoke make for install-only.
+       * data-directory/Makefile.in: Add FLAGS_TO_PASS variable.
+       (install): Pass FLAGS_TO_PASS when recursively make install-only.
+
+2010-10-20  Hui Zhu  <teawater@gmail.com>
+
+       * tracepoint.c (tfile_get_traceframe_address): Call
+       extract_signed_integer.
+       (tfile_trace_find): Call extract_signed_integer and
+       extract_unsigned_integer.  Change data_size to unsigned int.
+       (tfile_fetch_registers): Call extract_unsigned_integer.
+       (tfile_xfer_partial): Ditto.
+       (tfile_get_trace_state_variable_value): Call
+       extract_signed_integer and extract_unsigned_integer.
+
+2010-10-20  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * remote.c (remote_get_threadlist): If we got empty
+       response, bail out immediately, and don't emit any
+       warnings.
+
+2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encoding
+       for "mov pc, REG" as well.
+       (thumb_instruction_changes_pc): Likewise.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+        PR C++/11500:
+       * valarith.c (value_x_unop): Handle STRUCTOP_PTR.
+       * eval.c (evaluate_subexp_standard): Check for overload of
+       'operator->'.
+       * valarith.c (value_x_binop): Throw NOT_FOUND_ERROR.
+       (value_x_unop): Ditto.
+       * valops.c: Include "exceptions.h".
+       (find_overload_match): Throw NOT_FOUND_ERROR.
+       (value_struct_elt): Ditto.
+
+2010-10-19  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-cmd.c (cmdpy_function): Unreference exception state.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.h: Introduce BOOL_PTR_CONVERSION_BADNESS.
+       * gdbtypes.c (rank_one_type): Use BOOL_PTR_CONVERSION_BADNESS
+       for conversion.
+       Make all other conversions illegal.
+
+2010-10-18  Doug Evans  <dje@google.com>
+
+       * c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): Verify
+       assumptions of when this case happens.  Print "<unnamed typedef>".
+
+2010-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * valprint.c (val_print_string): Pass 'encoding' to
+       LA_PRINT_STRING.
+
+2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix the `stopped language detection' testcase for gcc-4.5.
+       * dwarf2read.c (read_partial_die): Set also LANGUAGE_OF_MAIN.
+       * symfile.c (set_initial_language): Move variable filename to a more
+       inner block.  Prefer LANGUAGE_OF_MAIN.
+       * symtab.c (language_of_main): New variable.
+       (set_main_name): Always reset LANGUAGE_OF_MAIN.
+       * symtab.h (language_of_main): New declaration.
+
+2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbthread.h (currently_stepping): New declaration.
+       * infrun.c (currently_stepping): Remove the forward declaration.
+       (currently_stepping): Make it global.
+       * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New
+       variables tp and step, initialized them.  Pass STEP to to_resume.
+       Print also possibly "PTRACE_SINGLESTEP" if STEP.  Initialize LP->STEP.
+       * remote.c (currently_stepping_callback): New.
+       (remote_vcont_resume)
+       <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>:
+       New variable tp.  Call currently_stepping_callback and step such
+       thread.
+
+2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infrun.c (follow_exec): Replace symbol_file_add_main by
+       symbol_file_add with SYMFILE_DEFER_BP_RESET, set_initial_language and
+       breakpoint_re_set.
+       * m32r-rom.c (m32r_load, m32r_upload_command): Use parameter 0 for
+       clear_symtab_users.
+       * objfiles.c (free_all_objfiles): Likewise.
+       * remote-m32r-sdi.c (m32r_load): Likewise.
+       * solib-som.c (som_solib_create_inferior_hook): Likewise.
+       * symfile.c (new_symfile_objfile): New comment for add_flags.  Call
+       clear_symtab_users with ADD_FLAGS.
+       (reread_symbols): Use parameter 0 for clear_symtab_users.
+       (clear_symtab_users): New parameter add_flags.  Do not call
+       breakpoint_re_set if SYMFILE_DEFER_BP_RESET.
+       (clear_symtab_users_cleanup): Use parameter 0 for clear_symtab_users.
+       * symtab.h (clear_symtab_users): New parameter add_flags.
+
+2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix GCC false warning.
+       * varobj.c (value_get_print_value) <str_addr>: Initialize it.
+
+2010-10-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-typeprint.c (pascal_type_print_method_args): Fix problem in
+       display of type of method arguments.
+
+2010-10-15  Tom Tromey  <tromey@redhat.com>
+
+       PR python/11948:
+       * varobj.c (value_get_print_value): Use val_print_string to print
+       lazy strings.
+       * python/py-prettyprint.c (print_string_repr): Use
+       val_print_string to print lazy strings.  Fix cleanup logic.
+       (print_children): Likewise.
+       * python/python-internal.h (gdbpy_extract_lazy_string): Update.
+       * python/py-lazy-string.c (gdbpy_extract_lazy_string): Rewrite.
+       Change return type to 'void', add 'addr' argument.
+       * value.h (val_print_string): Update.
+       * valprint.c (val_print_string): Add 'encoding' argument.
+       * printcmd.c (print_formatted): Update.
+       * p-valprint.c (pascal_val_print): Update.
+       * m2-valprint.c (print_unpacked_pointer): Update.
+       (m2_print_array_contents): Likewise.
+       * jv-valprint.c (java_value_print): Update.
+       * f-valprint.c (f_val_print): Update.
+       * c-valprint.c (c_val_print): Update.
+       * auxv.c (fprint_target_auxv): Update.
+
+2010-10-15  Doug Evans  <dje@google.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR exp/12117
+       * gdbtypes.c (check_typedef): Clean up function comment.
+       Keep track of instance flags as we strip typedefs and create a new
+       type to preserve them if necessary.
+       * gdbtypes.h (type) <instance_flags>: Extend the comment.
+
+2010-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-lang.c (is_pascal_string_type): Use TYPE_FIELD_NAME accessor.
+
+2010-10-14  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.h: Create BASE_PTR_CONVERSION_BADNESS.
+       * gdbtypes.c (rank_one_type): Move type comparison code out of here
+       to...
+       (types_equal): ...here. And changed it as follows:
+       Outside of typedefs type must be of the same TYPE_CODE.
+       When compairing two pointers or references they are equal if their
+       targets are equal.
+       Correct pointer conversions.
+
+2010-10-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-lang.c (is_pascal_string_type): Avoid crashes on structures
+       having fields without names.
+
+2010-10-13  Tom Tromey  <tromey@redhat.com>
+
+       * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
+
+2010-10-13  Doug Evans  <dje@google.com>
+
+       New python module gdb.types.
+       * NEWS: Document it.
+       * data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py.
+       * python/lib/gdb/types.py: New file.
+
+       * c-typeprint.c: Whitespace cleanup.
+       (cp_type_print_method_args): Remove unnecessary forward decl.
+       (cp_type_print_derivation_info): Ditto.
+       (c_type_print_varspec_prefix): Mark as static at definition.
+       (c_type_print_modifier): Fix arg descriptions.
+
+2010-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * python/py-breakpoint.c (bppy_set_condition): New comment.
+       * python/py-cmd.c (cmdpy_function): Call also gdbpy_print_stack for
+       failed PyUnicode_Decode.
+       (cmdpy_completer): Skip element for failed
+       python_string_to_host_string.
+       (cmdpy_init): Return -1 on failed python_string_to_host_string.
+       * python/py-frame.c (frapy_read_var): Extend the function comment.
+       * python/py-function.c (fnpy_init): Return -1 on failed
+       python_string_to_host_string.
+       * python/py-inferior.c (infpy_read_memory, infpy_write_memory): Extend
+       the function comment.
+       (infpy_search_memory): Extend the function comment.  Remove the
+       PyErr_SetString call on already set error state.
+       * python/py-param.c (set_parameter_value): Extend the function
+       comment.  Return -1 on failed python_string_to_host_string, twice.
+       (set_attr): Extend the function comment.
+       (compute_enum_values): Extend the function comment.  New variable
+       back_to.  Protect self->enumeration by BACK_TO cleanups.  Return 0 on
+       failed python_string_to_host_string.
+       (get_doc_string): Call gdbpy_print_stack on failed
+       python_string_to_host_string.
+       (parmpy_init): Extend the function comment.
+       * python/py-prettyprint.c (pretty_print_one_value): Likewise.
+       (gdbpy_get_display_hint, print_children): Call gdbpy_print_stack on
+       failed python_string_to_host_string.
+       * python/py-value.c (valpy_new, valpy_getitem, valpy_call)
+       (valpy_binop, valpy_richcompare): Extend the function comment.
+       * python/python.c
+       (struct python_env) <error_type, error_value, error_traceback>: New
+       fields.
+       (restore_python_env): Handle PyErr_Occurred.  Call PyErr_Restore.
+       (ensure_python_env): Call PyErr_Fetch.
+       * varobj.c (update_dynamic_varobj_children): Call gdbpy_print_stack on
+       failed convert_value_from_python.
+       (value_get_print_value): Call gdbpy_print_stack on failed
+       python_string_to_target_python_string.
+
+2010-10-12  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-prettyprint.c (search_pp_list): Fix error checking.
+
+2010-10-12  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.c (do_is_ancestor): New function.
+       (is_ancestor): Use do_is_ancestor.
+       (is_public_ancestor): Use do_is_ancestor.
+
+2010-10-12  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * ser-go32.c (struct dos_ops): Add missing fdopen field.
+
+2010-10-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
+
+2010-10-11  Doug Evans  <dje@google.com>
+
+       * c-typeprint.c (c_type_print_modifier): Add note that this prints
+       the address space id too.
+
 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix attaching to re-prelinked executables on ppc64.
This page took 0.026003 seconds and 4 git commands to generate.