+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.
+ (empty_record): Use INIT_CPLUS_SPECIFIC, since this field is not
+ supposed to be null. Fixes debugger segfaults.
+ (is_unchecked_variant): New function.
+ (to_fixed_variant_branch_type): Modify to leave unchecked unions
+ untouched.
+ (ada_template_to_fixed_record_type_1): Fix comment.
+
+2008-09-30 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (standard_exc): New static constant.
+ (ada_exception_catchpoint_cond_string): Add special handling
+ for the predefined exceptions.
+
+2008-09-30 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ADA_RETAIN_DOTS): Delete this dead macro. Update
+ the code accordingly.
+
+2008-09-30 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp) [UNOP_IND]: Remove strange
+ treatment of expect_type. Return the correct type when dereferencing
+ an integer.
+
+2008-09-30 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/2484:
+ * symtab.c (struct add_macro_name_data): New struct.
+ (add_macro_name): New function.
+ (default_make_symbol_completion_list): Complete macro names.
+ * scm-lang.c (scm_language_defn): Update.
+ * p-lang.c (pascal_language_defn): Update.
+ * objc-lang.c (objc_language_defn): Update.
+ * macrotab.h (macro_callback_fn): Add user_data argument.
+ (macro_for_each): Likewise.
+ (macro_for_each_in_scope): Declare.
+ * macrotab.c: (struct macro_for_each_data): New struct.
+ (foreach_macro): Use it.
+ (macro_for_each): Likewise.
+ (foreach_macro_in_scope): New function.
+ (macro_for_each_in_scope): Likewise.
+ * macrocmd.c (print_one_macro): Add argument.
+ (macro_list_command): Pass NULL to macro_for_each.
+ * m2-lang.c (m2_language_defn): Update.
+ * language.h (struct language_defn) <la_macro_expansion>: New
+ field.
+ (macro_expansion): New enum.
+ * language.c (unknown_language_defn): Update. Fix order of
+ initializers.
+ (auto_language_defn): Likewise.
+ (local_language_defn): Update.
+ * jv-lang.c (java_language_defn): Update.
+ * f-lang.c (f_language_defn): Update.
+ * c-lang.c (c_language_defn): Update.
+ (cplus_language_defn): Likewise.
+ (asm_language_defn): Likewise.
+ (minimal_language_defn): Likewise.
+ * ada-lang.c (ada_language_defn): Update.
+
+2008-09-30 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (dwarf2_get_subprogram_pc_bounds): New function.
+ (get_scope_pc_bounds): Use it.
+
+2008-09-27 Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Update.
+ * macrocmd.c (extract_identifier): Add is_parameter argument.
+ (macro_define_command): Update.
+ (macro_undef_command): Likewise.
+ * macroexp.c (stringify): New function.
+ (find_parameter): Likewise.
+ (gather_arguments): Add nargs argument. Handle varargs.
+ (substitute_args): Add is_varargs and va_arg_name arguments.
+ Handle varargs, splicing, stringification. Use find_parameter.
+ (expand): Handle varargs.
+
+2008-09-27 Tom Tromey <tromey@redhat.com>
+
+ * scm-lang.c (scm_language_defn): Update.
+ * p-typeprint.c (pascal_print_typedef): New function.
+ * p-lang.h: (pascal_print_typedef): Declare.
+ * p-lang.c (pascal_language_defn): Update.
+ * objc-lang.c (objc_language_defn): Update.
+ * m2-typeprint.c (m2_print_typedef): New function.
+ * m2-lang.h (m2_print_typedef): Declare.
+ * m2-lang.c (m2_language_defn): Update.
+ * language.h (_LANG_c, _LANG_m2, _LANG_fortran, _LANG_pascal):
+ Remove.
+ (struct language_defn) <la_print_typedef>: New field.
+ (default_print_typedef): Declare.
+ (LA_PRINT_TYPEDEF): New define.
+ * language.c (unknown_language_defn): Update.
+ (auto_language_defn): Update.
+ (local_language_defn): Update.
+ * jv-lang.c (java_language_defn): Update.
+ * f-lang.c (f_language_defn): Update.
+ * c-typeprint.c (c_print_typedef): New function.
+ * c-lang.h (c_print_typedef): Declare.
+ * c-lang.c (c_language_defn): Update.
+ (cplus_language_defn): Update.
+ (asm_language_defn): Update.
+ (minimal_language_defn): Update.
+ * ada-lang.c (ada_language_defn): Update.
+ * typeprint.c (default_print_typedef): New function.
+
+2008-09-27 Tom Tromey <tromey@redhat.com>
+
+ * jv-exp.y (insert_exp): Define using ISO syntax.
+ (copy_exp): Likewise.
+ (push_expression_name): Likewise.
+ (push_fieldnames): Likewise.
+ (java_type_from_name): Likewise.
+ (yyerror): Likewise.
+ (yylex): Likewise.
+ (parse_number): Likewise.
+
+2008-09-26 Joel Brobecker <brobecker@adacore.com>
+
+ * MAINTAINERS (GLOBAL MAINTAINERS): Add Pedro Alves.
+
+2008-09-25 Stephan Springl <springl-gdb@bfw-online.de> (tiny change)
+
+ * stack.c (print_frame_args): Fix typos in comments.
+
+2008-09-25 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>
+
+ * linux-nat.c (get_pending_status): Fix argument to WIFSTOPPED.
+
+2008-09-24 Vladimir Prus <vladimir@codesourcery.com>
+
+ * remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis.
+
+2008-09-24 Andreas Schwab <schwab@suse.de>
+
+ * frame.c (get_frame_register_bytes): Take pseudo registers into
+ account. Avoid excessive function calls.
+
+2008-09-23 Doug Evans <dje@google.com>
+
+ * dcache.c (state_chars): New static global.
+ (ENTRY_INVALID,ENTRY_VALID): Renamed from ENTRY_BAD,ENTRY_OK.
+ All uses updated.
+ (dcache_info): Print cache state as mnemonically useful letters instead
+ of magic numbers.
+
+ * dwarf2read.c (comp_unit_head): Reorganize for better packing.
+
+2008-09-22 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (symbol_file_add_with_addrs_or_offsets): Don't use
+ printf_filtered.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * infrun.c (follow_exec): Don't do a generic mourn. Instead
+ inline the required bits.
+ * breakpoint.h (enum inf_context): Add inf_execd.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * infrun.c (handle_inferior_event): In the follow exec case,
+ context-switch before doing anything else.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * top.c (any_thread_of, kill_or_detach): New functions.
+ (quit_target): Iterate over all inferiors, killing or detaching
+ accordingly.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ Remove the attach_flag global, and make it per-inferior.
+
+ * inferior.h (attach_flag): Delete.
+ (inferior_process): Declare.
+ * solib.c (update_solib_list): Adjust.
+ * gnu-nat.c (gnu_create_inferior, gnu_attach): Adjust.
+ * inf-ptrace.c (inf_ptrace_detach): Adjust.
+ (inf_ptrace_files_info): Get it from the current inferior.
+ * inf-ttrace.c (inf_ttrace_attach): Adjust.
+ (inf_ttrace_files_info): Get it from the current
+ inferior.
+ * inflow.c (terminal_inferior, terminal_ours_1, set_sigint_trap)
+ (clear_sigint_trap): Get it from the current process.
+ * remote.c (extended_remote_attach_1)
+ (extended_remote_create_inferior_1): Adjust.
+ * top.c (quit_confirm, quit_target): Get it from the current inferior.
+ * procfs.c (do_detach): Adjust.
+ (procfs_wait): Get it from the event inferior.
+ (procfs_files_info): Get it from the current inferior.
+ * nto-procfs.c (procfs_files_info): Likewise.
+ (procfs_attach): Adjust. Set the attach_flag here.
+ (do_attach): Don't set it here.
+ (procfs_detach): Don't clear it.
+ (procfs_mourn_inferior): Don't clear it.
+ * solib-osf.c (osf_solib_create_inferior_hook): Adjust.
+ * target.c (attach_flag): Delete.
+ (generic_mourn_inferior): Don't clear it.
+ * win32-nat.c (get_win32_debug_event): Get it from the event
+ process.
+ (do_initial_win32_stuff): Add attaching argument. Set attach_flag
+ in the inferior accordingly.
+ (win32_attach): Don't set the attach_flag here. Pass 1 to
+ do_intial_win32_stuff.
+ (win32_files_info): Get it from the current inferior.
+ (win32_create_inferior): Dont clear attach_flag here. Pass 0 to
+ do_intial_win32_stuff.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ Make the stop_soon global be per-inferior instead.
+
+ * infcmd.c (attach_command_post_wait): Adjust.
+ (attach_command): Likewise.
+
+ * inferior.h (stop_soon): Delete.
+ (struct inferior): Add stop_soon member.
+
+ * infrun.c (stop_soon): Delete.
+ (clear_proceed_status, start_remote)
+ (fetch_inferior_event, handle_inferior_event): Adjust.
+ (signal_stop_state): Don't check stop_soon here. Check in callers
+ instead.
+ (save_inferior_status, restore_inferior_status): Adjust.
+
+ * linux-nat.c (linux_nat_resume, linux_nat_wait): Always pass
+ signals to common code if starting up the inferior.
+
+ * inferior.h (struct inferior_info): Added stop_soon member.
+ * inferior.c (add_inferior) Clear stop_soon.
+
+ * mips-tdep.c (heuristic_proc_start): Adjust.
+ * nto-procfs.c (procfs_create_inferior): Adjust.
+ * solib-irix.c (irix_solib_create_inferior_hook): Adjust.
+ * solib-osf.c (osf_solib_create_inferior_hook): Adjust.
+ * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust.
+ * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust.
+
+ * win32-nat.c (do_initial_win32_stuff): Adjust.
+
+ * alpha-tdep.c (alpha_heuristic_proc_start): Adjust.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ Implement remote multi-process extensions.
+
+ * remote.c (struct remote_state): Add extended and
+ multi_process_aware fields.
+ (remote_multi_process_p): New.
+ (PACKET_vKill): New.
+ (record_currthread): Use thread_change_ptid. Notice new
+ inferiors.
+ (set_thread, remote_thread_alive): Use write_ptid.
+ (write_ptid, read_ptid): New.
+ (remote_current_thread, remote_threads_extra_info): Use them.
+ (remote_threads_info): Likewise. Detect new inferiors.
+ (remote_start_remote): Add inferior to inferior list.
+ (remote_multi_process_feature): New.
+ (remote_protocol_features): Add "multiprocess" feature.
+ (remote_query_supported): Pass "multiprocess+" as supported
+ features.
+ (remote_open_1): Clear multi_process_aware. Set extended
+ accordingly.
+ (remote_detach_1): Detach current process. Use extended packet
+ format for extended-remote multi-process. Detach process from the
+ inferior list. Only mourn after printing output.
+ (extended_remote_attach_1): Add process to the inferior list.
+ (remote_vcont_resume): Use write_ptid to pass the thread ids.
+ (remote_wait): Use read_ptid. Implement the extended
+ multi-process extension format of the 'W' and 'X' reply packets.
+ Remove exited inferiors from inferior list.
+ (remote_xfer_memory): Set general thread.
+ (remote_vkill): New.
+ (extended_remote_kill): New.
+ (remote_mourn_1): Discard all inferiors.
+ (select_new_thread_callback): New.
+ (extended_remote_mourn_1): If there are more processes to debug,
+ switch to a thread in another process, and don't pop the target.
+ (extended_remote_create_inferior_1): Add the new process to the
+ inferior list.
+ (remote_stopped_by_watchpoint): Indenting.
+ (remote_xfer_partial): Set the general thread.
+ (remote_pid_to_str): If the remote is multi-process aware, print
+ the process id as well as the thread id.
+ (remote_get_thread_local_address): Use write_ptid.
+ (init_extended_remote_ops): Register extended_remote_kill.
+ (_initialize_remote): Register new packets. Change
+ magic_null_ptid's, not_sent_ptid's and any_thread_ptid's pid
+ member to 42000.
+
+ * thread.c (thread_change_ptid): Also account for the inferior pid
+ changing.
+
+ * inferior.h (discard_all_inferiors): Declare.
+ * inferior.c (discard_all_inferiors): New.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * gnu-nat.c (gnu_attach): Add process to inferiors table.
+ (gnu_detach): Remove it.
+ * go32-nat.c (go32_create_inferior): Add process to gdb's inferior
+ table.
+ * inf-ptrace.c (inf_ptrace_follow_fork): Delete and add inferiors
+ to inferior table accordingly.
+ (inf_ptrace_attach): Add new process to inferior table.
+ (inf_ptrace_detach): Remove it.
+ * inf-ttrace.c (inf_ttrace_follow_fork): Delete and add inferiors
+ to inferior table accordingly.
+ (inf_ttrace_attach): Add process to inferior table.
+ (inf_ttrace_detach): Remove it.
+ * linux-fork.c (init_fork_list): Delete any left over inferior.
+ (linux_fork_mourn_inferior, detach_fork_command): Also delete
+ processes from inferior list.
+ * monitor.c (monitor_open): Add process to inferior list.
+ (monitor_close): Remove it.
+ * nto-procfs.c (procfs_attach): Add process to inferior list.
+ Find threads after pushing the target.
+ (procfs_detach): Remove process from inferior list.
+ (procfs_create_inferior): Add process to inferior list.
+ * procfs.c (procfs_detach): Remove process from inferior list.
+ (do_attach): Add process to inferior list.
+ * remote-sim.c (sim_create_inferior): Add process to inferior list.
+ (gdbsim_close): Remove it.
+ * target.c (generic_mourn_inferior): If inferior_ptid is not
+ null_ptid, remove the corresponding inferior from inferior list.
+ * win32-nat.c (do_initial_win32_stuff): Add process to inferior list.
+ (win32_detach): Remove it.
+ * linux-nat.c (linux_child_follow_fork): Delete and add inferiors
+ to inferior list accordingly.
+ * fork-child.c (fork_inferior): Add process to inferior list.
+ * corelow.c (CORELOW_PID): Define.
+ (core_close): Remove core from inferior list.
+ (core_open): Add it.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * inferior.h: Forward declare struct ui_out.
+ Forward declare struct private_inferior.
+ (struct inferior): New.
+ (init_inferior_list, add_inferior, add_inferior_silent)
+ (delete_inferior, delete_inferior_silent, detach_inferior)
+ (gdb_inferior_id_to_pid, pid_to_gdb_inferior_id, in_inferior_list)
+ (valid_inferior_id, find_inferior_pid): New functions.
+ (inferior_callback_func): New typedef.
+ (iterate_over_inferiors, print_inferior, have_inferiors)
+ (current_inferior): New functions.
+ * inferior.c: New file.
+
+ * Makefile.in (SFILES): Add inferior.c.
+ (COMMON_OBS): Add inferior.o.
+
+2008-09-22 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * arm-tdep.c (arm_skip_prologue): Call skip_prologue_using_sal
+ instead of determining symbol and line info directly.
+ * MAINTAINERS: Update my email address.
+
+2008-09-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * symtab.c (skip_prologue_using_sal): Treat two consecutive lines
+ at the same address as a prologue marker. Do not skip an entire
+ function.
+
+2008-09-22 Andrew Stubbs <ams@codesourcery.com>
+
+ * frame.c (get_frame_register_bytes): Comment improvments.
+
+2008-09-22 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (linux_nat_wait): Only use set_ignore_sigint in
+ all-stop mode.
+
+2008-09-19 Andrew Stubbs <ams@codesourcery.com>
+
+ * MAINTAINERS: Update my email address.
+
+2008-09-19 Andrew Stubbs <ams@codesourcery.com>
+
+ * frame.c (get_frame_register_bytes): Detect bad debug info.
+
+2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix a crash on uninitialized ECS->EVENT_THREAD for a newly found thread.
+ * infrun.c (wait_for_inferior): Move this ECS->EVENT_THREAD
+ initialization ...
+ (fetch_inferior_event): ... and this ECS->EVENT_THREAD initialization
+ ...
+ (handle_inferior_event): ... here after the add_thread call together
+ with the local adjust_pc_after_break and reinit_frame_cache calls.
+
+2008-09-16 David Daney <ddaney@avtrex.com>
+
+ * breakpoint.c (bpstat_stop_status): Clear breakpoint_at for
+ all hardware bpstats.
+
+2008-09-16 Joel Brobecker <brobecker@adacore.com>
+
+ * gstdint.h: Delete.
+
+2008-09-15 Mark Kettenis <kettenis@gnu.org>
+
+ * infcall.c (generic_push_dummy_code): Remove.
+ (push_dummy_code): Unconditionally call gdbarch_push_dummy_code.
+
+2008-09-15 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct abbrev_info): Make members name, form 16 bits.
+ (struct attribute): Ditto.
+
+2008-09-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind_cache): Record
+ HPPA_IPSW_REGNUM and HPPA_SAR_REGNUM values.
+
+ * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum): Remove surrounding
+ "#if 0" "#endif". Fix mapping of DWARF DBX registers to GDB registers.
+ Correct arguments and improve comments.
+ (hppa_linux_init_abi): Call set_gdbarch_dwarf2_reg_to_regnum. Delete
+ disabled code.
+ * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Fix check for floating
+ point DBX register, change error to warning, and improve comments.
+
+2008-09-14 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct die_info): Make members tag, num_attrs 16 bits.
+
+2008-09-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.
+
+2008-09-13 Joel Brobecker <brobecker@adacore.com>
+
+ * defs.h (GCC_GENERATED_STDINT_H): Define.
+
+2008-09-13 Tom Tromey <tromey@redhat.com>
+
+ * varobj.c (varobj_set_display_format): Use xfree.
+ * tracepoint.c (stringify_collection_list): Use xfree.
+ * remote-fileio.c (remote_fileio_reset): Use xfree.
+ * mipsread.c (read_alphacoff_dynamic_symtab): Use xfree.
+ * dfp.c (decimal_from_floating): Use xfree, xstrprintf. Don't use
+ asprintf.
+ * cp-support.c (mangled_name_to_comp): Use xfree.
+
+2008-09-13 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (remove_extra_symbols): Remove stub symbols if
+ the associated complete symbol is also in the list.
+ (ada_add_local_symbols, ada_add_non_local_symbols): New functions,
+ extracted out from ada_lookup_symbol_list.
+ (ada_lookup_symbol_list): Use them. Remove the search through
+ the minimal symbols.
+
+2008-09-13 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (add_partial_subprogram): New procedure.
+ (scan_partial_symbols): Use it.
+ (load_partial_dies): Read in children of subprogram and lexical
+ blocks for Ada compilation units.
+
+2008-09-13 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (build_id_verify): Free 'found'.
+ (find_separate_debug_file): Use xfree, not free.
+
+2008-09-12 Doug Evans <dje@google.com>
+
+ * corefile.c (write_memory): Remove unnecessary copying.
+
+ * sol-thread.c (_initialize_sol_thread): Add FIXME regarding
+ order of _initialize_* fns.
+
+ * dwarf2read.c (comp_unit_head): Rename first_die_ptr to
+ first_die_offset. All uses updated.
+ Delete unused members cu_head_ptr, next.
+ Move members base_known, base_address to ...
+ (dwarf2_cu) ... here. All uses updated.
+
+2008-09-12 Pedro Alves <pedro@codesourcery.com>
+
+ * Makefile.in (generated_files): Add $(NAT_GENERATED_FILES).
+ * config/i386/i386gnu.mh (NAT_GENERATED_FILES): New.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * fork-child.c (startup_inferior): Use target_wait and target_resume
+ directly instead of calling wait_for_inferior / resume.
+
+ * infcmd.c (kill_if_already_running): Do not call no_shared_libraries
+ or init_wait_for_inferior.
+ (run_command_1): Call init_wait_for_inferior.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbtypes.h (builtin_type_void_data_ptr, builtin_type_void_func_ptr,
+ builtin_type_CORE_ADDR, builtin_type_char, builtin_type_short,
+ builtin_type_int, builtin_type_long, builtin_type_signed_char,
+ builtin_type_unsigned_char, builtin_type_unsigned_short,
+ builtin_type_unsigned_int, builtin_type_unsigned_long,
+ builtin_type_float, builtin_type_double, builtin_type_long_double,
+ builtin_type_complex, builtin_type_double_complex, builtin_type_string,
+ builtin_type_bool, builtin_type_long_long,
+ builtin_type_unsigned_long_long): Remove macros.
+
+ (builtin_type_f_character, builtin_type_f_integer,
+ builtin_type_f_integer_s2, builtin_type_f_logical,
+ builtin_type_f_logical_s1, builtin_type_f_logical_s2,
+ builtin_type_f_real, builtin_type_f_real_s8, builtin_type_f_real_s16,
+ builtin_type_f_complex_s8, builtin_type_f_complex_s16,
+ builtin_type_f_complex_s32): Likewise.
+
+ (builtin_type_m2_char, builtin_type_m2_int, builtin_type_m2_card,
+ builtin_type_m2_real, builtin_type_m2_bool): Likewise.
+
+ (struct builtin_f_type, builtin_f_type): Move to f-lang.h.
+ (struct builtin_m2_type, builtin_m2_type): Move to m2-lang.h.
+
+ * f-lang.h (struct builtin_f_type, builtin_f_type): Move here.
+ * m2-lang.h (struct builtin_m2_type, builtin_m2_type): Move here.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use builtin types of
+ target_gdbarch instead of builtin_type_void_data_ptr.
+ (LM_DYNAMIC_FROM_LINK_MAP, LM_NEXT, LM_NAME,
+ IGNORE_FIRST_LINK_MAP_ENTRY, scan_dyntag, elf_locate_base,
+ solib_svr4_r_map, solib_svr4_r_brk, solib_svr4_r_ldsomap,
+ open_symbol_file_object): Likewise.
+ * nto-tdep.c (LM_ADDR): Likewise.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * bsd-uthread.c (bsd_uthread_read_memory_address): New function.
+ (bsd_uthread_fetch_registers, bsd_uthread_store_registers,
+ bsd_uthread_wait, bsd_uthread_find_new_threads): Use it.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * procfs.c (procfs_address_to_host_pointer): Use target_gdbarch
+ and its associated types to perform pointer conversion.
+ (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_auxv_parse): Remove unused variable.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * auxv.c (default_auxv_parse): Use gdbarch_ptr_bit (target_gdbarch)
+ instead of builtin_type_void_data_ptr.
+ * target.c (default_region_ok_for_hw_watchpoint): Likewise.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * expprint.c (print_subexp_standard): Compare against builtin type
+ associated with exp->gdbarch instead of builtin_type_char.
+
+ * f-valprint.c (f_val_print): Use extract_unsigned_integer to
+ extract values of arbitrary logical type. Handle arbitrary
+ complex types.
+
+ * printcmd.c (float_type_from_length): New function.
+ (print_scalar_formatted, printf_command): Use it.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * valops.c: Include "objfiles.h" and "symtab.h".
+ (find_function_in_inferior): New argument OBJF_P. Use it to return
+ objfile where function is defined. Use per-objfile arch types
+ instead of builtin_type_ to define default return type.
+
+ * linux-fork.c (checkpoint_command): Update calls. Use per-objfile
+ architecture to define inferior call argument types.
+ * gcore.c (derive_heap_segment): Likewise.
+ * objc-lang.c (value_nsstring): Likewise.
+ * scm-lang.c (scm_lookup_name): Likewise.
+ * scm-valprint.c (scm_inferior_print): Likewise.
+ * valops.c (value_allocate_space_in_inferior): Likewise.
+
+ * eval.c (evaluate_subexp_standard): Update calls.
+ * objc-lang.c (lookup_objc_class, print_object_command): Likewise.
+
+ * linux-fork.c: Include "objfiles.h".
+ * scm-lang.c: Include "objfiles.h".
+ * scm-valprint.c: Include "objfiles.h".
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdbarch.sh (name_of_malloc): Remove.
+ * gdbarch.c, gdbarch.h: Re-generate.
+ * valops.c (value_allocate_space_in_inferior): Do not call
+ gdbarch_name_of_malloc.
+
+2008-09-11 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * valarith.c (value_x_unop): Use builtin_type_int8 as type for
+ UNOP_POSTINCREMENT/UNOP_POSTDECREMENT constant 0 argument.
+ (value_bit_index): Use extract_unsigned_integer
+ instead of unpack_long to read single byte.
+