+
+ * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete.
+ * configure.tgt: Mark d30v-*-* as obsolete.
+ * d30v-tdep.c: Mark file as obsolete.
+ * config/d30v/d30v.mt: Ditto.
+ * config/d30v/tm-d30v.h: Ditto.
+
+
+ * ada-tasks.c (add_task_entry): replace calls to
+ malloc() with xmalloc
+ * ada-tasks.c (init_task_list): replace calls to free with xfree()
+
+ * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
+ ada_finish_decode_line_1, all_sals_for_line
+ ada_breakpoint_rewrite): replace calls to free() with xfree()
+
+
+ From Nicholas Duffek (with minor changes by Martin Hunt,
+ Louis Hamilton, and Kevin Buettner):
+ * aix-thread.c: New file.
+
+
+ * dwarf2read.c (dwarf2_invalid_attrib_class): New
+ complaint for invalid attribute class or form.
+ (read_func_scope): DW_AT_frame_base
+ better handling of DW_AT_block*.
+ (dwarf2_add_member_fn): DW_AT_vtable_elem_location
+ better handling of DW_AT_block*.
+ (read_common_block): DW_AT_location
+ better handling of DW_AT_block*.
+ (read_partial_die): DW_AT_location better handling
+ of DW_AT_block*.
+ (new_symbol): DW_AT_external better handling of
+ DW_AT_block*. Proper initialization of variable
+ "addr".
+ (attr_form_is_block): New function that returns true
+ if the attribute's form is of DW_FORM_block*.
+
+
+ * valops.c (find_method_list): Remove comment about
+ removed STATIC_MEMFUNCP argument.
+ (value_find_oload_method_list): Likewise.
+
+
+ From Nicholas Duffek:
+ * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
+ target_new_objfile_hook.
+
+
+ From Nicholas Duffek:
+ * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
+ csect.
+
+
+ * MAINTAINERS: Mention --enable-sim-build-warnings.
+ (m68hc11-elf): Disable sim build warnings.
+ (m32r-elf): Mark as broken obsolete candidate.
+ (x86_64-linux-gnu): Mark as buildable with -Werror.
+ (arm-elf): Change -w to ``,'' which enables warnings but not
+ -Werror.
+
+
+ * bcache.h: Update copyright.
+ (struct bstring, struct bcache): Move definition to "bcache.c".
+ Replaced by opaque declaration.
+ (bcache_xfree): Replace free_bcache.
+ (bcache_xmalloc, bcache_memory_used): Declare.
+
+ * bcache.c: Update copyright.
+ (struct bstring, struct bcache): Moved to here from "bcache.h".
+ Update comments.
+ (bcache_xmalloc, bcache_memory_used): New functions.
+ (bcache_xfree): Replace function free_bcache.
+
+ * Makefile.in (objfiles.o): Add $(bcache_h).
+ (objfiles_h): Remove $(bcache_h).
+ (symfile.o): Add $(bcache_h).
+
+ * symmisc.c: Update copyright.
+ (print_symbol_bcache_statistics): Pass psymbol_cache by value.
+ (print_objfile_statistics): Use bcache_memory_used.
+
+ * symfile.c: Include "bcache.h".
+ (reread_symbols): Use bcache_xfree.
+ (reread_symbols): Use bcache_xmalloc and bcache_xfree.
+ (add_psymbol_to_list): Pass psymbol_cache by value.
+ (add_psymbol_with_dem_name_to_list): Ditto.
+
+ * objfiles.h: Update copyright.
+ (struct bcache): Declare opaque. Do not include "bcache.h".
+ (struct objfile): Change psymbol_cache and macro_cache to ``struct
+ bcache'' pointers.
+ * dwarf2read.c (macro_start_file): Pass macro_cache by value.
+
+ * objfiles.c: Include "bcache.h". Update copyright.
+ (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
+ macro_cache.
+ (free_objfile): Use bcache_xfree.
+
+
+ * monitor.c (monitor_fetch_register): Make name a constant.
+ (monitor_store_register): Same.
+
+
+ * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
+ (finish_block) For non-function blocks, hash the symbol table. For
+ function blocks, mark the symbol table as unhashed.
+ * minsyms.c (msymbol_hash): Return hash value without taking modulus.
+ (msymbol_hash_iw): Likewise.
+ (add_minsym_to_hash_table): Take modulus of msymbol_hash's return
+ value.
+ (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
+ (lookup_minimal_symbol): Likewise for both.
+ * symtab.h (struct block): Add `hashtable' flag. Comment the
+ hashtable.
+ (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
+ (ALL_BLOCK_SYMBOLS): Update.
+ (BLOCK_SHOULD_SORT): Do not sort hashed blocks.
+ (struct symbol): Add `hash_next' pointer.
+ * symtab.c (lookup_block_symbol): Search using the hash table when
+ possible.
+ (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
+ (search_symbols, find_addr_symbol): Likewise.
+
+ * dstread.c (process_dst_block): Clear hashtable bit for new block.
+ (read_dst_symtab): Likewise.
+ * jv-lang.c (get_java_class_symtab): Likewise.
+ * mdebugread.c: Include "gdb_assert.h".
+ (shrink_block): Assert that the block being modified is not hashed.
+ * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
+ * symmisc.c (free_symtab_block): Walk the hash table when freeing
+ symbols.
+ (dump_symtab): Recognize hashed blocks.
+ * printcmd.c (print_frame_args): Assert that function blocks do not
+ have hashed symbol tables.
+ * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
+ (fill_in_ada_prototype, debug_print_block): Likewise.
+ (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables.
+
+
+ * stack.c (print_frame): Use result of frame_address_in_block()
+ instead of fi->pc when evaluating symbols.
+ (backtrace_command_1): Ditto.
+
+
+ * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
+ Make static.
+
+ * arm-tdep.c (arm_register_name): Make return type constant.
+
+
+ * win32-nat.c (has_detach_ability): Convert to strict ISO C
+ prototype.
+ * top.c (gdb_rl_operate_and_get_next_completion): Ditto.
+ * s390-tdep.c (s390_fp_regnum): Ditto.
+ (s390_read_fp): Ditto.
+ (s390_pop_frame): Ditto.
+ (_initialize_s390_tdep): Ditto.
+ * remote.c (get_remote_state): Ditto.
+ * procfs.c (mappingflags): Ditto.
+ * memattr.c (_initialize_mem): Ditto.
+ * mcore-tdep.c (mcore_pop_frame): Ditto.
+ * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto.
+ * m68k-tdep.c (m68k_register_bytes_ok): Ditto.
+ * language.c (set_case_str): Ditto.
+ * gnu-v3-abi.c (vtable_address_point_offset): Ditto.
+ * frv-tdep.c (new_variant): Ditto.
+ (frv_stopped_data_address): Ditto.
+ * dwarf2cfi.c (fde_chunks_need_space): Ditto.
+ (context_alloc): Ditto.
+ (frame_state_alloc): Ditto.
+ (unwind_tmp_obstack_init): Ditto.
+ (unwind_tmp_obstack_free): Ditto.
+ (cfi_read_fp): Ditto.
+ * cris-tdep.c (cris_saved_pc_after_call): Ditto.
+ (cris_pop_frame): Ditto.
+ * c-lang.c (scanning_macro_expansion): Ditto.
+ (finished_macro_expansion): Ditto.
+ (c_preprocess_and_parse): Ditto.
+ * gdbarch.sh: Ditto.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * config/mn10200/tm-mn10200.h: Adjust indentation.
+ * target.c: Adjust indentation.
+ * symtab.h: Adjust indentation.
+ * stabsread.h: Adjust indentation.
+ * remote-es.c: Adjust indentation.
+ * os9kread.c: Adjust indentation.
+
+
+ * wince.c (_initialize_wince): Rename _initialize_inftarg.
+ * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
+
+
+ * NEWS: Mention m68k, mcore multi-arching.
+ * MAINTAINERS: Change status of m68k, mcore to reflect
+ multi-arching.
+
+
+ * valops.c (find_overload_match): Free oload_syms.
+
+
+ Define HAVE_SYS_PROC_H if sys/proc.h exists
+ * configure.in: Add check for sys/proc.h
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+
+ * config/m68k/tm-m68k.h: Remove macros wrapped in
+ #if !GDB_MULTI_ARCH.
+
+
+ * gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
+ (perror_with_name, remote_close, remote_open, expect, play): Static.
+
+
+ * config.in, configure: Regenerate.
+
+
+ * dwarf2cfi.c: Include "gcore.h".
+ (execute_stack_op): Fix implementation of the
+ DW_OP_deref and DW_OP_deref_size operators by letting do their
+ lookup in the target.
+
+
+ * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
+ tdep->sc_sp_offset.
+
+
+ Fix PR gdb/595, gdb/602
+ * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
+ Don't call value_cast, just read the vtable pointer; update comments
+ to match.
+
+
+ * config/mcore/tm-mcore.h: Remove file.
+ * config/mcore/mcore.mt: Remove definition of TM_FILE
+ * configure.tgt: Set gdb_multi_arch to yes for the mcore target.
+
+
+ * i386bsd-tdep.c: Include "gdb_string.h".
+
+
+ * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
+ (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
+ mcore-tdep.
+ (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
+ (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
+ * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
+ (RETVAL_REGNUM): Move macros from tm-mcore.h
+ (mcore_reg_struct_has_addr): New function.
+ (mcore_gdbarch_init): Added initializations for the macros removed
+ from tm-mcore.h.
+
+
+ * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
+ traditonal string branding within the ELF header.
+
+
+ * symtab.c (remove_params): New function.
+ (make_symbol_overload_list): Use it instead of cplus_demangle.
+ (overload_list_add_symbol): Likewise. Reorder. Fix memory leak.
+
+
+ * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.
+
+ * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
+ New variables.
+ (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
+ and tdep->sigtramp_end.
+ * i386obsd-nat.c: New file.
+ * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.
+
+ * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
+ Don't call get_current_frame().
+
+
+ * i386-nat.c (child_post_startup_inferior): New function
+ calling i386_cleanup_dregs if
+ I386_USE_GENERIC_WATCHPOINTS is defined.
+ * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR
+ conditional to acknowledge that i386-nat.c has its
+ own child_post_startup_inferior function.
+
+
+ * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define.
+ * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE
+ instead of MAX_REGISTER_RAW_SIZE.
+ (i386_extract_return_value, i386_extract_struct_value_address):
+ Convert to use regcache.
+ (i386_gdbarch_init): Set max_register_raw_size and
+ max_register_virtual_size to I386_MAX_REGISTER_SIZE.
+ Set extract_return_value and extract_struct_value_address instead
+ of their deprecated variants.
+
+ Convert i386 target to generic dummy frames.
+ * i386-tdep.c: Include "symfile.h".
+ (i386_frameless_signal_p): Consider a function to be frameless if
+ the pc points at the first instruction of the function.
+ (i386_frame_chain): Handle (generic) call dummies.
+ (i386_frame_saved_pc): Likewise.
+ (i386_frame_init_saved_regs): Remove code dealing with call
+ dummies on the stack.
+ (i386_push_dummy_frame): Removed.
+ (i386_call_dummy_words): Removed.
+ (i386_fix_call_dummy): Removed.
+ (i386_push_return_address): New function.
+ (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME
+ parameter, and don't call get_current_frame.
+ (i386_pop_frame): New function.
+ (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set
+ call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to
+ entry_point_address, set call_dummy_breakpoint_offset to 0, set
+ call_dummy_length to 0, set call_dummy_words to NULL, set
+ sizeof_call_dummy_words to 0, set fix_call_dummy to
+ generic_fix_call_dummy, set pc_in_call_dummy to
+ pc_in_call_dummy_at_entry_point, set push_dummy_frame to
+ generic_push_dummy_frame, set push_return_address to
+ i386_push_return_address and set frame_chain_valid to
+ generic_file_frame_chain_valid.
+
+
+ * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of
+ byte offsets instead of an array of indexes.
+ (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const.
+
+
+ * gdbarch.sh (struct regcache): Add opaque declaration.
+ (EXTRACT_RETURN_VALUE): New architecture method.
+ (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto.
+ * gdbarch.h, gdbarch.c: Regenerate.
+ * arch-utils.c (legacy_extract_return_value): New function.
+ * arch-utils.h (legacy_extract_return_value): Declare.
+ * values.c (value_being_returned): Re-enable code handling
+ EXTRACT_STRUCT_VALUE_ADDRESS. Move
+ deprecated_grub_regcache_for_registers call to block handling
+ DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
+ (EXTRACT_RETURN_VALUE): Do not define.
+
+
+ * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM)
+ (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK)
+ (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL)
+ (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC)
+ (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC)
+ (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE)
+ (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
+ (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS)
+ (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME)
+ (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove.
+ * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf
+ argument so the function fits the prototype in the architecture
+ vector.
+ (mcore_pop_frame): Remove argument so the function fits the
+ prototype. Use get_current_frame instead of the argument.
+ (mcore_push_arguments): Change type of struct_return so the
+ function can be used in the architecture vector.
+ (mcore_store_struct_return): Add.
+ (mcore_frame_init_saved_regs): Add.
+ (mcore_gdbarch_init): Add function calls to replace the macros
+ removed from tm-mcore.h
+
+
+ * infcmd.c (print_return_value): Remove compatibility code calling
+ deprecated_grub_regcache_for_registers.
+
+ * values.c: Include "regcache.h".
+ (value_being_returned): Update. Use
+ deprecated_grub_regcache_for_registers to extract the register
+ buffer address.
+ * value.h (value_being_returned): Change ``retbuf'' parameter to a
+ ``struct regcache''.
+ * Makefile.in (values.o): Add dependency on $(regcache_h).
+
+ * inferior.h (run_stack_dummy): Change type of second parameter to
+ a ``struct regcache''.
+ * valops.c (hand_function_call): Change type of retbuf to ``struct
+ regcache''. Allocate using regcache_xmalloc, clean using
+ make_cleanup_regcache_xfree.
+ * infcmd.c (run_stack_dummy): Update. Use
+ regcache_cpu_no_passthrough instead of memcpy to copy the buffer.
+
+ * regcache.c (do_regcache_xfree): New function.
+ (make_cleanup_regcache_xfree): New function.
+ * regcache.h (make_cleanup_regcache_xfree): Declare.
+
+
+ * event-top.c (command_line_handler): Don't read past
+ beginning of buffer.
+
+
+ * varobj.c (struct varobj_root): Change frame from CORE_ADDR to
+ struct frame_id.
+ (varobj_create): Store frame_id for root.
+ (varobj_gen_name): Use xasprintf.
+ (varobj_update): Save and restore frame using get_frame_id() and
+ frame_find_by_id().
+ (create_child): Use xasprintf.
+ (new_root_variable): Initialize frame_id.
+ (c_name_of_child): Use xasprintf. Call find_frame_by_id().
+ (c_value_of_variable): Use xasprintf. Move mem_fileopen call
+ to prevent memory leak.
+
+
+ * valops.c (hand_function_call): Move declaration of retbuf to
+ start of function, allocate using malloc, add a cleanup but before
+ the inf_status cleanup, cleanup the buffer. Rename local variable
+ old_chain to inf_status_cleanup.
+
+
+ * top.c (execute_command): Use cmd_func() and cmd_func_p().
+
+ * cli/cli-decode.c (cmd_func_p): New function.
+ (cmd_func): New function.
+
+ * command.h: Add cmd_func() and cmd_func_p().
+
+
+ * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0.
+ (REGISTER_SIZE): Remove.
+ (MAX_REGISTER_RAW_SIZE): Remove.
+ (REGISTER_VIRTUAL_TYPE): Remove.
+ (MAX_REGISTER_VIRTUAL_SIZE): Remove.
+ (REGISTER_NAME): Remove.
+ (USE_GENERIC_DUMMY_FRAMES): Remove.
+ (CALL_DUMMY): Remove.
+ (CALL_DUMMY_START_OFFSET): Remove.
+ (CALL_DUMMY_BREAKPOINT_OFFSET): Remove.
+ (CALL_DUMMY_LOCATION): Remove.
+ (FIX_CALL_DUMMY): Remove.
+ (CALL_DUMMY_ADDRESS): Remove.
+ (SIZEOF_CALL_DUMMY_WORDS): Remove.
+ (SAVE_DUMMY_FRAME_TOS): Remove.
+ * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros.
+ (mcore_register_virtual_type): New function.
+ (mcore_register_byte): New function.
+ (mcore_register_size): New function.
+ (mcore_register_name): New function.
+ (mcore_gdbarch_init): New function. Add set_gdbarch calls for
+ macros removed from tm-mcore.h.
+ (mcore_dump_tdep): Add.
+ (_initialize_mcore_tdep): Add gdbarch_register call.
+
+
+ * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to
+ frameless_look_for_prologue, such that we actually call this
+ function.
+
+
+ * frame.h (frame_address_in_block): New function.
+
+ * blockframe.c (frame_address_in_block): New function extracted
+ from get_frame_block().
+ (get_frame_block): Use frame_address_in_block().
+ (block_innermost_frame): Use frame_address_in_block() to match
+ the frame pc address against the block boundaries rather than
+ the frame pc directly. This prevents a failure when a frame pc
+ is actually a return-address pointing immediately after the end
+ of the given block.
+
+
+ * MAINTAINERS: Add self under write after approval.
+
+
+ * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
+ used in architecture vector. The default is
+ m68k_local_breakpoint_from_pc.
+ (m68k_local_breakpoint_from_pc): Add.
+ (enum): Add register numbers from tm-m68k.h.
+ (m68k_gdbarch_init): Add breakpoint_from_pc to architecture
+ vector.
+ * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to
+ GDB_MULTI_ARCH_PARTIAL.
+ (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP)
+ (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to
+ m68k-tdep.c.
+ (BREAKPOINT, REMOTE_BREAKPOINT): Remove.
+ (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move
+ to enum in m68k-tdep.c
+
+
+ * solib-osf.c (open_map): Compute the list of shared libraries
+ loaded by the inferior, rather than the list of libraries loaded
+ by GDB itself. Otherwise, GDB ends up reading the symbols from
+ the wrong shared libraries...
+
+
+ * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
+ (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove
+ macros.
+ (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
+ Remove functions.
+ (FRAMELESS_SIGNAL): Remove function.
+ (i386_linux_frame_chain, i386_linux_frame_saved_pc,
+ i386_linux_saved_pc_after_call): Removed.
+ (i386_linux_init_abi): Initialize tdep->sigcontext_addr,
+ tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override
+ frame_chain, frame_saved_pc and saved_pc_after_call any longer.
+
+ * i386-tdep.c (i386_frameless_signal_p): New function.
+ (i386_frame_chain): Deal with frameless signals.
+ (i386_sigtramp_saved_sp): New function.
+ (i386_frame_saved_pc): Deal with frameless signals.
+ (i386_saved_pc_after_call): Make sure the correct value is
+ returned just after entry into a sigtramp.
+ * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset,
+ i386fbsd4_sc_sp_offset): New variables.
+ (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use
+ these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c
+ (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset
+ similiar to what we already did for sc_pc_offset.
+ * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize
+ tdep->sc_sp_offset.
+
+ * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
+
+
+ * config/i386/tm-x86-64linux.h: New.
+ * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE
+ definitions.
+ * config/i386/nm-x86-64.h: Rename to ...
+ * config/i386/nm-x86-64linux.h: ... this one.
+ * config/i386/x86-64linux.mh: Reflect the above change.
+
+
+ * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc
+ with sigcontext_addr. Add sc_sp_offset.
+ (i386bsd_sigtramp_saved_pc): Remove prototype.
+ (i386bsd_sicontext_addr): Add prototype.
+ * i386-tdep.c (i386_sigtramp_saved_pc): New function.
+ (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc.
+ (i386_svr4_sigtramp_saved_pc): Removed.
+ (i386_svr4_sigcontext_addr): New function.
+ (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc.
+ Initialize tdep->sigcontext_addr instead. Initialize
+ tdep->sc_pc_offset and tdep->sc_sp_offset.
+ (i386_gdbarch_init): Likewise.
+ * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static
+ any more.
+ (i386bsd_sigtramp_saved_pc): Remove function.
+ (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc.
+ Initialize tdep->sigcontext_addr instead. Initialize
+ tdep->sc_pc_offset.
+ * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization
+ of tdep->sigtramp_saved_pc.
+ * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize
+ tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr
+ instead.
+
+ * i386-tdep.c (i386_frameless_function_invocation,
+ i386_frame_num_args, i386_frame_init_saved_regs,
+ i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy,
+ i386_pop_frame, i386_push_arguments, i386_store_struct_return,
+ i386_extract_return_value, i386_store_return_value,
+ i386_extract_struct_value_address, i386_register_virtual_type,
+ i386_register_convertible, i386_register_convert_to_virtual,
+ i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc,
+ i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make
+ static.
+
+
+ * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
+
+ * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
+ * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
+ this macro. Include "value.h".
+
+
+ * ada-exp.tab.c: remove as it's a generated file
+ * ada-lex.c: remove as it's a generated file
+
+
+ * config/i386/tm-i386.h (struct frame_info, struct
+ frame_saved_regs, struct value, struct type): Remove forward
+ declarations.
+
+ * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
+ (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
+ * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
+ (FILL_FPXREGSET): Define.
+
+ * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
+
+ * configure.tgt (i[3456]86-*-openbsd*): Fold into
+ i[3456]86-*-netbsd* case.
+ * config/i386/tm-obsd.h: Removed.
+ * config/i386/obsd.mt: Removed.
+ * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
+ core-aout.o.
+ (MH_CFLAGS): Add -DYYDEBUG=0.
+
+ * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
+ i386nbsd_sc_pc_offset on OpenBSD too.
+
+ * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
+ (IN_SOLIB_CALL_TRAMPOLINE): Remove define.
+ * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
+ define.
+ * i386bsd-tdep.c: Include "arch-utils.h".
+ (i386bsd_aout_in_solib_call_trampoline): New function.
+ (i386bsd_init_abi): Set in_solib_call_trampoline to
+ i386bsd_aout_in_solib_call_trampoline.
+ (i386nbsdelf_init_abi, i386fbsd_init_abi): Set
+ in_solib_call_trampoline to generic_in_solib_call_trampoline.
+
+
+ * macrotab.h: Do not include "obstack.h" or "bcache.h".
+ (struct obstack, struct bcache): Add opaque declarations.
+ * Makefile.in (macrotab_h): Update
+
+
+ * blockframe.c (generic_find_dummy_frame): Change return type to
+ ``struct regcache''.
+ (struct dummy_frame): Replace field ``registers'' with regcache, a
+ struct regcache object.
+ (generic_find_dummy_frame): Update.
+ (generic_push_dummy_frame): Update. Use regcache_xfree,
+ regcache_xmalloc and regcache_cpy.
+ (generic_pop_dummy_frame): Update. Use regcache_cpy and
+ regcache_xfree.
+ (deprecated_generic_find_dummy_frame): Update.
+ (generic_read_register_dummy): Update. Use
+ regcache_read_as_address.
+ (generic_call_dummy_register_unwind): Update. Use regcache_read.
+ (generic_get_saved_register): Update. Use regcache_read.
+
+
+ * Makefile.in (objfiles_h): Add $(bcache_h).
+ * objfiles.h: Include "bcache.h".
+
+ * Makefile.in (symtab_h): Remove $(bcache_h).
+ * symtab.h: Do not include "bcache.h".
+
+
+ * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
+ generic_func_frame_chain_valid.
+
+
+ * config/i386/nm-fbsd.h: Include <sys/param.h>.
+ * config/i386/tm-fbsd.h: Likewise.
+
+
+ * rs6000-tdep.c (rs6000_gdbarch_init): Use
+ generic_unwind_get_saved_register.
+
+
+ * regcache.c (supply_register): Add missing argument to
+ register_buffer call.
+
+
+ * Makefile.in (init.c): Drop -e option to grep. Not necessary and
+ Solaris /bin/grep does not not like it. From Peter Schauer.
+
+
+ * command.h (add_setshow_cmd): Declare.
+ (add_setshow_cmd_full): Declare.
+ * cli/cli-decode.c (add_setshow_cmd): No longer static. Now
+ returns void. Use add_setshow_cmd_full.
+ (add_setshow_cmd_full): New function.
+ (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
+ (add_setshow_boolean_cmd): Likewise.
+
+
+ * config/vax/tm-vax.h: Protect from multiple inclusion.
+ (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
+ (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
+ * config/vax/tm-vaxbsd.h: ...here. New file.
+ * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.
+
+
+ * config/vax/tm-vax.h (BREAKPOINT): Remove.
+ (BELIEVE_PCC_PROMOTION): Remove.
+ (AP_REGNUM): Move to...
+ * config/vax/nm-vax.h: ...here.
+ * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
+ (vax_breakpoint_from_pc): New function.
+ (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
+ and gdbarch_believe_pcc_promotion.
+
* Makefile.in (vax_tdep_h): Define.
2002-04-24 Pierre Muller <ics.u-strasbg.fr>
* hpread.c (hpread_psymtab_to_symtab_1,
- hpread_psymtab_to_symtab): Replace fprintf (stderr,...)
+ hpread_psymtab_to_symtab): Replace fprintf tab_to_s...)
with fprintf_unfiltered (gdb_stderr,...).
2002-04-24 Pierre Muller <ics.u-strasbg.fr>