-2008-09-30 Paul Hilfinger <brobecker@adacore.com>
+2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * utils.c, defs.h (gdb_buildargv): New fn. Wrap buildargv
+ and check for out-of-memory condition.
+ * exec.c (exec_file_command): Call it.
+ * infrun.c (handle_command, xdb_handle_command): Likewise.
+ * interps.c (interpreter_exec_cmd): Likewise.
+ * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
+ * procfs.c (info_proc_cmd): Likewise.
+ * remote-mips.c (common_open): Likewise.
+ * remote-sim.c (gdbsim_kill, gdbsim_create_inferior)
+ (gdbsim_open): Likewise.
+ * remote.c (extended_remote_run, remote_put_command)
+ (remote_get_command, remote_delete_command): Likewise.
+ * ser-mingw.c (pipe_windows_open): Likesise.
+ * source.c (add_path, show_substitute_path_command)
+ (unset_substitute_path_command, set_substitute_path_command):
+ Likewise.
+ * stack.c (backtrace_command): Likewise.
+ * symfile.c (symbol_file_command, generic_load)
+ (add_symbol_file_command): Likesise.
+ * symmisc.c (maintenance_print_symbols, maintenance_print_psymbols)
+ (maintenance_print_msymbols): Likewise.
+
+2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Replace TYPE_ARRAY_{UPPER,LOWER}_BOUND_TYPE by a bit if {un,}defined.
+ * c-typeprint.c (c_type_print_varspec_suffix), m2-typeprint.c
+ (m2_array), p-typeprint.c (pascal_type_print_varspec_prefix),
+ valops.c (value_cast), varobj.c (c_number_of_children): Replace
+ TYPE_ARRAY_UPPER_BOUND_TYPE compared to BOUND_CANNOT_BE_DETERMINED by
+ TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
+ * parse.c (follow_types): Use TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
+ * f-valprint.c (f77_get_dynamic_upperbound): Replace with ...
+ (f77_get_upperbound): ... this function handling now only
+ TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
+ (f77_get_dynamic_lowerbound): Replace with ...
+ (f77_get_lowerbound): ... this function handling now only
+ TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED.
+ (f77_get_dynamic_length_of_aggregate, f77_create_arrayprint_offset_tbl):
+ Update their callers.
+ * eval.c (evaluate_subexp_standard): Update their callers.
+ * f-lang.h (f77_get_dynamic_upperbound, f77_get_upperbound)
+ (f77_get_dynamic_lowerbound, f77_get_lowerbound): Update their
+ prototypes.
+ (BOUND_FETCH_OK, BOUND_FETCH_ERROR): Remove.
+ * f-typeprint.c (f_type_print_varspec_suffix, f_type_print_base): Remove
+ the lower_bound_was_default variable. Update the
+ f77_get_dynamic_upperbound, f77_get_upperbound and
+ TYPE_ARRAY_UPPER_BOUND_TYPE calls.
+ * gdbtypes.c (print_bound_type): Remove the function.
+ (recursive_dump_type): Remove its calls printing UPPER_BOUND_TYPE and
+ LOWER_BOUND_TYPE.
+ * gdbtypes.h (enum array_bound_type): Remove.
+ (struct main_type): Remove the fields upper_bound_type and
+ lower_bound_type. Comment the new overload of the field artificial.
+ (TYPE_ARRAY_UPPER_BOUND_TYPE): Replace by ...
+ (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): ... this macro.
+ (TYPE_ARRAY_LOWER_BOUND_TYPE): Replace by ...
+ (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): ... this macro.
+
+2008-10-02 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove gdb-events.h, gstdint.h.
+
+2008-10-02 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * mips-linux-tdep.c (mips_linux_in_dynsym_resolve_code): Update
+ comments.
+ (mips_linux_skip_resolver): Also use glibc_skip_solib_resolver.
+ (mips_linux_init_abi): Do not override skip_trampoline_code.
+ * configure.tgt (mips*-*-linux*): Add glibc-tdep.o.
+ * mips-tdep.c (mips32_scan_prologue): Stop scanning at branches.
+ (mips_stub_frame_sniffer): Use the stub frame sniffer for PIC stubs.
+ (mips_skip_mips16_trampoline_code): Rename from
+ mips_skip_trampoline_code.
+ (mips_skip_pic_trampoline_code, mips_skip_trampoline_code): New.
+ * infrun.c (handle_inferior_event): Do not pass zero to
+ in_solib_dynsym_resolve_code.
+
+2008-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
+ Pedro Alves <pedro@codesourcery.com>
+
+ * win32-nat.c (do_initial_win32_stuff): Set inferior_ptid.
+
+
+2008-10-01 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (search_symbols): Update.
+ * symtab.h (domain_enum_tag) <METHODS_DOMAIN>: Remove.
+
+2008-10-01 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (syms_from_objfile): Update.
+ (reread_symbols): Update.
+ * objfiles.h (OBJF_SYMS): Remove.
+ (OBJF_REORDERED): Renumber.
+ (OBJF_SHARED): Likewise.
+ (OBJF_READNOW): Likewise.
+ (OBJF_USERLOADED): Likewise.
+
+2008-10-01 Tom Tromey <tromey@redhat.com>
+
+ * symtab.c (find_pc_sect_psymtab): Use MSYMBOL_TYPE.
+ (find_pc_sect_symtab): Likewise.
+ * symmisc.c (dump_msymbols): Use MSYMBOL_TYPE.
+ * solib-som.c (som_solib_desire_dynamic_linker_symbols): Use
+ MSYMBOL_TYPE, not SYMBOL_TYPE.
+ * parse.c (write_exp_msymbol): Use MSYMBOL_TYPE.
+ * objc-lang.c (find_methods): Use MSYMBOL_TYPE.
+ * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Use
+ MSYMBOL_TYPE.
+ * m2-exp.y (yylex): Use SYMBOL_CLASS.
+
+2008-10-01 Tom Tromey <tromey@redhat.com>
+
+ * xcoffread.c (RECORD_MINIMAL_SYMBOL): Update.
+ (scan_xcoff_symtab): Update.
+ * mdebugread.c (record_minimal_symbol): Update.
+ (parse_partial_symbols): Update.
+ * elfread.c (record_minimal_symbol): Update.
+ * dbxread.c (record_minimal_symbol): Update.
+ * coffread.c (record_minimal_symbol): Update.
+ * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Redefine.
+ (sh64_elf_make_msymbol_special): Update.
+ * mips-tdep.c (mips_elf_make_msymbol_special): Use
+ MSYMBOL_TARGET_FLAG_1.
+ (mips_elf_make_msymbol_special): Likewise.
+ (msymbol_is_special): Likewise.
+ * minsyms.c (prim_record_minimal_symbol_and_info): Update.
+ (install_minimal_symbols): Likewise.
+ (prim_record_minimal_symbol): Update.
+ (prim_record_minimal_symbol_and_info): Remove 'info' argument.
+ * m68hc11-tdep.c (MSYMBOL_SET_RTC): Redefine.
+ (MSYMBOL_SET_RTI): Redefine.
+ (MSYMBOL_IS_RTC): Redefine.
+ (MSYMBOL_IS_RTI): Redefine.
+ * arm-tdep.c (MSYMBOL_SET_SPECIAL): Redefine.
+ (MSYMBOL_IS_SPECIAL): Redefine.
+ * symtab.h (struct minimal_symbol) <info>: Remove.
+ <target_flag_1, target_flag_2>: New fields.
+ (MSYMBOL_INFO): Remove.
+ (MSYMBOL_TARGET_FLAG_1): New macro.
+ (MSYMBOL_TARGET_FLAG_2): Likewise.
+ (prim_record_minimal_symbol_and_info): Update.
+
+2008-09-30 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (is_digits_suffix): Delete unused function.
+
+2008-09-30 Paul Hilfinger <hilfinger@adacore.com>
+
+ * ada-lang.c (ada_modulus): Correct to avoid sign problem with
+ moduli >= 2**31.
+
+2008-09-30 Paul Hilfinger <hilfinger@adacore.com>
* ada-lang.c (ada_lookup_struct_elt_type): Handle case of a "naked"
variant branch.