+2009-01-01 Pedro Alves <pedro@codesourcery.com>
+
+ PR breakpoints/9681:
+ * exceptions.h (enum errors): New error type, MEMORY_ERROR.
+ * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
+ * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
+ retrow all other exceptions.
+
+2008-12-31 Pedro Alves <pedro@codesourcery.com>
+
+ PR gdb/8812:
+ * infrun.c (handle_command): Don't print a header or notify the
+ target about signal changes if we didn't change any signal.
+
+2008-12-29 Joel Brobecker <brobecker@adacore.com>
+
+ * valops.c (find_method_list): Minor reformatting in comment.
+
+2008-12-29 Pedro Alves <pedro@codesourcery.com>
+
+ PR gdb/7536:
+ * valprint.c (input_radix_1): New static global.
+ (set_input_radix): Use it instead of "input_radix".
+ (set_input_radix_1): Always leave input_radix_1 set to
+ input_radix.
+ (output_radix_1): New static global.
+ (set_output_radix): Use it instead of "output_radix".
+ (set_output_radix_1): Always leave output_radix_1 set to
+ output_radix.
+ (_initialize_valprint): Use "input_radix_1" instead of
+ "input_radix" with the "input-radix" command. Use
+ "output_radix_1" instead of "output_radix" with the "output-radix"
+ command.
+
+2008-12-28 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-fork.c (linux_fork_detach): New.
+ * linux-fork.h (linux_fork_detach): Declare.
+ * linux-nat.c (linux_child_follow_fork): When following the fork
+ child, add the child inferior before possibly detaching from the
+ parent. Don't reinstall ourselves.
+ (linux_nat_detach): Call linux_fork_detach if there are other
+ forks to debug.
+ * linux-thread-db.c (thread_db_detach): Don't call
+ target_mourn_inferior. Instead inline the necessary bits.
+ * inf-ptrace.c (inf_ptrace_detach): Don't unpush the target if
+ there are other inferiors to debug.
+
+2008-12-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix TYPE_HIGH_BOUND for TYPE_CODE_RANGE using arbitrary TYPE_NFIELDS in
+ preparation for supporting DW_AT_byte_stride.
+ * ada-lang.c (packed_array_type, ada_index_type): Use TYPE_INDEX_TYPE.
+ (ada_array_bound_from_type): Move `index_type' declaration to the
+ function start. New variable `retval'. Return the bounds for
+ TYPE_CODE_RANGE using TYPE_LOW_BOUND and TYPE_HIGH_BOUND. Abort on
+ invalid index type codes.
+ * ada-typeprint.c (print_range): Set `upper_bound' for TYPE_CODE_RANGE
+ now using TYPE_HIGH_BOUND.
+ * ada-valprint.c (val_print_packed_array_elements): Use `index_type'.
+ * eval.c (evaluate_subexp_standard): Use TYPE_INDEX_TYPE.
+ * gdbtypes.c (create_range_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
+ refer to the number of fields only through TYPE_NFIELDS.
+ (create_array_type): Use TYPE_INDEX_TYPE.
+ (check_typedef): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND.
+ * gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED)
+ (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Use TYPE_INDEX_TYPE.
+ (TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): Use
+ TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
+ * hppa-tdep.c (hppa_alignof <TYPE_CODE_ARRAY>): Use TYPE_INDEX_TYPE.
+ * mdebugread.c (parse_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
+ * valarith.c (value_bit_index): Use TYPE_INDEX_TYPE.
+
+2008-12-26 Sandra Loosemore <sandra@codesourcery.com>
+
+ * breakpoint.c (update_watchpoint): Refactor to avoid compiler
+ warning.
+
+2008-12-22 Tom Tromey <tromey@redhat.com>
+
+ * stack.c (print_block_frame_locals): Print spaces, not tabs.
+ Update for call to print_variable_and_value.
+ (print_frame_arg_vars): Update.
+ * value.h (print_variable_and_value): Rename from
+ print_variable_value. Add 'name' and 'indent' parameters.
+ * printcmd.c (print_variable_and_value): Rename from
+ print_variable_value. Add 'name' and 'indent' parameters. Use
+ common_val_print.
+ * f-valprint.c (info_common_command): Update.
+
+2008-12-22 Tom Tromey <tromey@redhat.com>
+
+ * python/python-value.c (valpy_length): Remove #if.
+
+2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * python/python-internal.h (PyEval_ReleaseLock): New define.
+
+2008-12-22 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (ident_tokens): New global.
+ (struct token) <cxx_only>: New field.
+ (tokentab3): Update.
+ (tokentab2): Update.
+ (yylex): Use ident_tokens.
+
+2008-12-22 Adam Denton <adenton@yahoo.com>
+
+ PR gdb/8307:
+ * environ.c (free_environ): Free e->vector.
+
+2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix memory double-free.
+ * completer.c (line_completion_function): Clear LIST after called xfree.
+
+2008-12-22 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (update_watchpoint): Adjust and extend the description
+ of this function. Fix one error message accordingly.
+
+2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix hw watchpoints created before the inferior was started.
+ * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and
+ bp_hardware_watchpoint types according to the current runtime state.
+
+2008-12-18 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_child_follow_fork): If following the child,
+ and not detaching the parent, also add the child fork to the fork
+ list.
+ * linux-fork.c (linux_fork_context): Remove dead error call.
+ Assert that the incoming newfp argument is not null. Do not add a
+ new fork for inferior_ptid. Assert that there is one already.
+
+2008-12-16 Tristan Gingold <gingold@adacore.com>
+
+ * inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags,
+ set_sigio_trap, clear_sigio_trap definitions.
+ * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations.
+ * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap
+ and clear_sigio_trap.
+ * inf-ttrace.c (inf_ttrace_wait): Ditto.
+ * linux-nat.c (linux_nat_wait): Ditto.
+ * spu-linux-nat.c (spu_child_wait): Ditto.
+ * rs6000-nat.c (rs6000_wait): Ditto.
+ * target.c: Remove target_activity_function and target_activity_fd.
+ * target.h: Remove target_activity_function and target_activity_fd
+ declarations.
+
+2008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and
+ N_PSYM STABS values for 64-bit GDB.
+
+2008-12-15 Tristan Gingold <gingold@adacore.com>
+
+ * dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.
+
+2008-12-15 Jerome Guitton <guitton@adacore.com>
+
+ * ada-lang.c (ada_value_slice_ptr): Rename to...
+ (ada_value_slice_from_ptr): ... this. Return a lazy value instead
+ of a reference. Update comment.
+ (ada_value_struct_elt): Ditto if arg is a pointer or a reference.
+ Update comment as well.
+ (ada_evaluate_subexp): Update use of ada_value_slice_ptr.
+
+2008-12-12 Kevin Buettner <kevinb@redhat.com>
+
+ * gnu-v3-abi.c (vtable_ptrdiff_type): New function.
+ (gnuv3_decode_method_ptr, gnuv3_print_method_ptr)
+ (gnuv3_method_ptr_to_value): Use a better approximation for
+ `ptrdiff_t' instead of `long'.
+
+2008-12-12 Kevin Buettner <kevinb@redhat.com>
+
+ * m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta().
+ (m32c_push_dummy_call): Dereference pointer type.
+
+2008-12-12 Tom Tromey <tromey@redhat.com>
+
+ PR cli/2563:
+ * cli/cli-decode.c (delete_cmd): Add hook-related out parameters.
+ (add_cmd): Update. Install hooks into new command.
+ (add_alias_cmd): Update.
+
+2008-12-11 Tom Tromey <tromey@redhat.com>
+
+ * macroexp.c (get_pp_number): Require digit after leading ".".
+ Correctly handle suffixes.
+
2008-12-11 Tom Tromey <tromey@redhat.com>
* macrocmd.c (macro_define_command): Skip whitespace after