* gdb-add-index.sh: Really remove.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index baedb0babc05b5cc84474f67068e63c10b711442..5c1eb03a319b5f8d286e5b933ee137351023b73b 100644 (file)
@@ -1,3 +1,217 @@
+2010-11-16  Tom Tromey  <tromey@redhat.com>
+
+       * gdb-add-index.sh: Really remove.
+
+2010-11-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * dwarf2read.c (alloc_one_comp_unit): Rename prototype to ...
+       (init_one_comp_unit): ... this one.
+       (prepare_one_comp_unit): New prototype.
+       (dw2_require_line_header, process_psymtab_comp_unit): Use
+       init_one_comp_unit.
+       (process_psymtab_comp_unit): Use prepare_one_comp_unit.
+       (load_partial_comp_unit): Remove variable attr.  Use
+       init_one_comp_unit with xmalloc.  Use prepare_one_comp_unit.
+       (load_full_comp_unit): Use init_one_comp_unit with xmalloc.  Use
+       prepare_one_comp_unit.
+       (read_signatured_type): Remove variable attr.  Use init_one_comp_unit.
+       Use prepare_one_comp_unit.
+       (alloc_one_comp_unit): Rename to ...
+       (init_one_comp_unit): ... here and remove there calloc, new parameter
+       cu.
+       (prepare_one_comp_unit): New function.
+
+2010-11-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid
+       possible used of uninitialized variable.
+
+2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * rs6000-tdep.c (bfd_uses_spe_extensions): New function.
+       (rs6000_gdbarch_init): Call it.
+
+2010-11-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * rs6000-tdep.c (gdb_print_insn_powerpc): Disassemble e500
+       instructions if debugging an E500 binary.
+
+2010-11-12  Tom Tromey  <tromey@redhat.com>
+
+       * varobj.c (value_get_print_value): Rearrange.  Pass stream to
+       apply_varobj_pretty_printer.
+       * c-lang.c: Include exceptions.h.
+       (c_get_string): Throw MEMORY_ERROR when appropriate.
+       * python/py-prettyprint.c (enum string_repr_result): New.
+       (print_stack_unless_memory_error): New function.
+       (print_string_repr): Change return type.  Use
+       print_stack_unless_memory_error.
+       (print_children): Use print_stack_unless_memory_error.
+       (apply_val_pretty_printer): Update.  Don't print children if
+       string representation threw an exception.
+       (apply_varobj_pretty_printer): Add 'stream' argument.  Use
+       print_stack_unless_memory_error.
+       * python/python.c (gdbpy_gdb_error, gdbpy_gdb_memory_error): New
+       globals.
+       (_initialize_python): Initialize them.
+       * python/python-internal.h (GDB_PY_HANDLE_EXCEPTION): Use
+       gdbpy_convert_exception.
+       (GDB_PY_SET_HANDLE_EXCEPTION): Likewise.
+       (gdbpy_gdb_error, gdbpy_gdb_memory_error): Declare.
+       (gdbpy_convert_exception): Declare.
+       (apply_varobj_pretty_printer): Update.
+       * python/py-utils.c (gdbpy_convert_exception): New function.
+
+2010-11-12  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * mi/mi-main.c (mi_cmd_target_detach): Accept new
+       thread-group id format.
+
+2010-11-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * spu-tdep.c (spu_catch_start): Fix compilation error typo.
+
+2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-breakpoint.c (BPPY_REQUIRE_VALID): Check if bp is
+       NULL.
+       (BPPY_SET_REQUIRE_VALID): Ditto.
+       (bpnum_is_valid): Delete function.
+       (bppy_get_visibility): New function.
+       (bppy_new): Parse for, and validate internal keyword.  Pass
+       internal keyword to breakpoint or watchpoint functions.
+       (build_bp_list): New function.
+       (gdbpy_breakpoints): Rewrite.  Use build_bp_list and
+       iterate_over_breakpoints.
+       (gdbpy_breakpoint_created): Rewrite.  Do not store breakpoints in a
+       look-aside vector.
+       (gdbpy_breakpoint_deleted): Rewrite, defer breakpoint management
+       to internal breakpoint chain.
+
+       * breakpoint.c (set_breakpoint_number): New function.
+       (breakpoint_1): Check if breakpoint number is more than zero.
+       (set_raw_breakpoint_without_location): Set py_bp_object to NULL.
+       (create_breakpoint_sal): Take a new parameter called internal.
+       Call set_breakpoint_number with internal parameter.  Do not
+       mention internal breakpoints.  All callers updated.
+       (create_breakpoint): Ditto.
+       (create_breakpoints_sal): Ditto.
+       (watch_command_1): Ditto.
+       (watch_command_wrapper): Take a new parameter called internal.
+       All callers updated.
+       (rwatch_command_wrapper): Ditto.
+       (awatch_command_wrapper): Ditto.
+       (save_breakpoints): Update breakpoint save condition check.
+       (iterate_over_breakpoints): New function.
+       * breakpoint.h: Add conditional python includes.  Add py_bp_object
+       and comment to struct breakpoint.  Update all callers.
+       * defs.h: Add PyObject definition for GDB builds without Python.
+
+2010-11-10  Doug Evans  <dje@google.com>
+
+       * python/lib/gdb/command/pretty_printers.py
+       (do_enable_pretty_printer_1): Handle printer.subprinters is None.
+
+       * value.c (set_value_enclosing_type): Renamed from
+       value_change_enclosing_type.  All callers updated.
+       * value.h (set_value_enclosing_type): Update.
+       * valops.c (value_full_object): Always return a copy if we need to
+       make changes to the input value.
+
+2010-11-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (watch_command_1): Get a pointer of the lazy
+       version of the expression's value, even if reading the value from
+       memory fails.  When creating a -location watchpoint, get the
+       value's address from the lazy value pointer.
+
+2010-11-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * infrun.c (restore_inferior_thread_state): Use
+       discard_inferior_thread_state to free the data.
+       (discard_inferior_thread_state): xfree also siginfo_data.
+
+2010-11-05  Doug Evans  <dje@google.com>
+
+       Make gdb.parameter("directories") work.
+       New command "set directories".
+       * NEWS: Document them.
+       * source.c (set_directories_command): New function.
+       (show_directories_1): Renamed from show_directories.
+       All callers updated.
+       (show_directories_command): New function.
+       (_initialize_source): Install "directories" as a set/show
+       variable instead of just a show command.
+
+2010-11-05  Ken Werner  <ken.werner@de.ibm.com>
+
+       * NEWS: Mention OpenCL C language support.
+       * Makefile.in (SFILES): Add opencl-lang.c.
+       (COMMON_OBS): Add opencl-lang.o.
+       * opencl-lang.c: New File
+       * defs.h (enum language): Add language_opencl.
+       * dwarf2read.c (read_file_scope): Handle DW_AT_producer for the
+       IBM XL C OpenCL compiler.
+       * c-lang.h: Include "parser-defs.h".
+       (evaluate_subexp_c): Declare.
+       * c-lang.c (evaluate_subexp_c): Remove the static qualifier.
+       (c_op_print_tab): Add declaration.
+       * eval.c (binop_promote): Handle language_opencl.
+       * c-exp.y: Lookup the primitive types instead of referring to the
+       builtins.
+
+2010-11-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix configure --enable-plugins --without-python.
+       * configure.ac (for ELF support in BFD) <"$plugins" = "yes">: New.
+       * configure: Regenerate.
+
+2010-11-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib.c (solib_read_symbols): Call exception_fprintf even without
+       FROM_TTY.  Print also so->so_name.
+
+2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.h (struct rank): Created subrank.
+       * gdbtypes.c: Initialized subrank for all
+       'BADNESS' constants.
+       (distance_to_ancestor): New function.
+       (is_ancestor): Use distance_to_ancestor.
+       (is_public_ancestor): Ditto.
+       (sum_ranks): Handle subrank.
+       (compare_ranks): Ditto.
+       (rank_one_type): Subrank base conversions.
+
+2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdbtypes.h: Create struct rank.
+       Convert all 'BADNESS' macros to const struct rank declarations.
+       (sum_ranks): New function.
+       (compare_ranks): New function.
+       * valops.c (find_oload_champ): Updated.
+       (classify_oload_match): Use compare_ranks.
+       Improved comments.
+       (compare_parameters): Use compare_ranks.
+       * gdbtypes.c: Initialize 'BADNESS' constants.
+       (sum_ranks): New function.
+       (compare_ranks): New function.
+       (compare_badness): Use compare_ranks.
+       (rank_function): Use global constants instead of literals.
+       (rank_one_type): Ditto.
+       Return struct rank.
+       Use sum_ranks.
+
+2010-11-04  Doug Evans  <dje@google.com>
+
+       * python/py-prettyprint.c (find_pretty_printer_from_gdb): Fix comment.
+       (find_pretty_printer): Fix comments.
+
+2010-11-04  Hui Zhu  <teawater@gmail.com>
+
+       * tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma.
+
 2010-11-03  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-valprint.c (ada_val_print_array): Move variables `eltlen'
This page took 0.026068 seconds and 4 git commands to generate.