gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8704d04106c4d3c6fee94ce3637cf6e506e6c086..b57bbdf1cf3e489653c4e0fe3bd196879cacb920 100644 (file)
@@ -1,3 +1,251 @@
+2011-02-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * c-valprint.c (c_value_print): When doing virtual base pointer
+       adjustment, create a new value with adjusted contents rather than
+       changing the contents of the value being printed (and getting it
+       wrong).
+
+2011-02-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * xml-support.c (xml_find_attribute): New.
+       (xinclude_start_include): Use it.
+       * xml-support.h (xml_find_attribute): Declare.
+       * memory-map.c (memory_map_start_memory)
+       (memory_map_start_property): Use xml_find_attribute.
+       * osdata.c (osdata_start_osdata, osdata_start_column): Use
+       xml_find_attribute.
+       * remote.c (start_thread): Use xml_find_attribute.
+       * solib-target.c (library_list_start_segment)
+       (library_list_start_section, library_list_start_library)
+       (library_list_start_list): Use xml_find_attribute.
+       * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
+       (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
+       (tdesc_start_field): Use xml_find_attribute.
+
+2011-02-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
+       (BUILD_OCL_VTYPES): Update.
+
+2011-02-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Work around non-GNU sed limitation when computing
+       python version number.
+       * configure: Regenerate.
+
+2011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix debug printing of TYPE_INSTANCE.
+       * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
+       (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
+
+2011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
+       OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
+       OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
+       * ada-operator.inc: Rename the file to ...
+       * ada-operator.def: ... here, wrap all the entries by macro OP.
+       * expprint.c (op_name_standard): Remove all the entries.  Include
+       "std-operator.def" instead.
+       * expression.h (enum exp_opcode): Include "std-operator.def" and
+       "ada-operator.def".  Move all the entries ...
+       * std-operator.def: ... here, wrap all the entries by macro OP.
+
+2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * breakpoint.h (remove_jit_event_breakpoints): New prototype.
+       * breakpoint.c (remove_jit_event_breakpoints): New function.
+       * jit.c (jit_descriptor_addr): Delete.
+       (registering_code): Delete.
+       (clear_int): Delete.
+       (jit_inferior_data): New variable.
+       (struct jit_inferior_data): New type.
+       (get_jit_inferior_data): New function.
+       (jit_inferior_data_cleanup): New function.
+       (jit_read_descriptor): Adjust.
+       (jit_register_code): Adjust.
+       (jit_breakpoint_re_set_internal): New function; move code here ...
+       (jit_inferior_init): ... from here.
+       (jit_breakpoint_re_set): Adjust.
+       (jit_reset_inferior_data_and_breakpoints): New function.
+       (jit_inferior_created_observer): Adjust.
+       (jit_inferior_exit_hook): Adjust.
+       (jit_executable_changed_observer): New function.
+       (jit_event_handler): Adjust.
+       (_initialize_jit): Adjust.
+
+2011-01-31  Michael Snyder  <msnyder@vmware.com>
+
+       * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
+       line.
+
+2011-01-31  Tom Tromey  <tromey@redhat.com>
+
+       PR python/12216:
+       * python/python.c (execute_gdb_command): Call
+       prevent_dont_repeat.
+       * top.c (suppress_dont_repeat): New global.
+       (dont_repeat): Use it.
+       (prevent_dont_repeat): New function.
+       * command.h (prevent_dont_repeat): Declare.
+
+2011-01-31  Tom Tromey  <tromey@redhat.com>
+
+       * infcmd.c (finish_backward): Use breakpoint_set_silent.
+       * python/py-breakpoint.c (bppy_set_silent): Use
+       breakpoint_set_silent.
+       (bppy_set_thread): Use breakpoint_set_thread.
+       (bppy_set_task): Use breakpoint_set_task.
+       * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
+       (breakpoint_set_task): Declare.
+       (make_breakpoint_silent): Remove.
+       * breakpoint.c (breakpoint_set_silent): New function.
+       (breakpoint_set_thread): Likewise.
+       (breakpoint_set_task): Likewise.
+       (make_breakpoint_silent): Remove.
+
+2011-01-31  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.h (user_breakpoint_p): Declare.
+       * breakpoint.c (user_breakpoint_p): New function.
+       (breakpoint_1): Use it.
+       (save_breakpoints): Likewise.
+
+2011-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Add handling of Python distribution on Windows.
+       * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
+       sysconfig variables are not defined, then do not use them.
+       On Windows, if LIBPL is not defined, then use prefix + '/libs'
+       instead.  On Windows, return all paths using forward-slashes
+       rather than backslashes.
+
+2011-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.ac: Remove fallback behavior for building
+       against Python.  Remove tweaking of Python include path.
+       Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
+       (AC_TRY_LIBPYTHON):  Adjust program used in linking test.
+       If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
+       Always restore CPPFLAGS and LIBS after linking test.
+       * configure: Regenerated.
+       * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
+       (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
+       * python/python-internal.h: Adjust includes of Python .h files.
+
+2011-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
+       in error message.
+
+2011-01-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
+       value test.
+
+2011-01-31  Yao Qi  <yao@codesourcery.com>
+
+       * arm-linux-nat.c: Update calls to regcache_register_status
+       instead of regcache_valid_p.
+       * aix-thread.c: Likewise.
+       * i386gnu-nat.c: Likewise.
+
+2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash.
+       * valops.c (compare_parameters): Verify TYPE_NFIELDS before
+       touching TYPE_FIELD_ARTIFICIAL.
+
+2011-01-28  Richard Earnshaw  <rearnsha@arm.com>
+
+       * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
+       Committers.
+
+2011-01-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (tfile_xfer_partial): If there's no traceframe
+       selected, don't try iterating over the traceframe's blocks.
+       (tfile_has_stack): If there's no traceframe selected, then there's
+       no stack.
+       (tfile_has_registers): If there's no traceframe selected, then
+       there's no registers.
+
+2011-01-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * target.c (memory_xfer_partial): No need to restore shadows if we
+       haven't read anything.
+
+2011-01-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * mips-tdep.c (mips_print_register): Use get_frame_register_value
+       and val_print_scalar_formatted.
+
+2011-01-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (tfile_read): New.
+       (tfile_open): Use it.
+       (tfile_get_traceframe_address): Use it.
+       (tfile_trace_find): Use it.
+       (walk_blocks_callback_func): New typedef.
+       (match_blocktype): New function.
+       (traceframe_walk_blocks): New function.
+       (traceframe_find_block_type): New function.
+       (tfile_fetch_registers, tfile_xfer_partial)
+       (tfile_get_trace_state_variable_value): Use
+       traceframe_find_block_type and tfile_read.
+
+2011-01-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-mips.c: Add internationalization mark ups.  Remove
+       trailing \n from already marked up strings.
+
+2011-01-26  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-prettyprint.c (print_string_repr): Clear
+       'addressprint' option when calling val_print_string.
+       (print_children): Handle Val_pretty_default.  Clear 'addressprint'
+       option when calling val_print_string.
+
+2011-01-26  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
+       GDB_PY_LL_ARG.
+       * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
+       macros.
+       (gdb_py_longest, gdb_py_ulongest): New typedefs.
+       (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
+       (gdb_py_long_as_ulongest): New defines.
+       (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
+       (gdb_py_int_as_long): Declare.
+       * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
+       GDB_PY_LL_ARG, gdb_py_object_from_longest.
+       (valpy_long): Add comment.
+       * python/py-utils.c (get_addr_from_python): Use
+       gdb_py_long_as_ulongest.  Handle overflow properly.
+       (gdb_py_object_from_longest): New function.
+       (gdb_py_object_from_ulongest): Likewise.
+       (gdb_py_int_as_long): Likewise.
+       * python/py-type.c (typy_array): Use gdb_py_int_as_long.
+       * python/py-symtab.c (salpy_get_pc): Use
+       gdb_py_long_from_ulongest.
+       (salpy_get_line): Use PyInt_FromLong.
+       * python/py-param.c (set_parameter_value): Use
+       gdb_py_int_as_long.
+       * python/py-lazy-string.c (stpy_get_address): Use
+       gdb_py_long_from_ulongest.
+       * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
+       * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
+       * python/py-breakpoint.c (bppy_set_thread): Use
+       gdb_py_int_as_long.
+       (bppy_set_task): Likewise.
+       (bppy_set_ignore_count): Likewise.
+       (bppy_set_hit_count): Likewise.
+       * python/py-block.c (blpy_get_start): Use
+       gdb_py_object_from_ulongest.
+       (blpy_get_end): Likewise.
+       (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
+
 2011-01-25  Mathieu Lacage  <mathieu.lacage@inria.fr>
 
        PR/symtab 11766:
This page took 0.03132 seconds and 4 git commands to generate.