* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2b23a155182d694b82894e5c6c0e3eba277aa57c..c9f3623527cee781b49e58a8571d4d35a1b9c0cc 100644 (file)
@@ -1,3 +1,328 @@
+2000-10-27  J.T. Conklin  <jtc@redback.com>
+
+       * arch-utils.c (set_architecture, set_architecture_from_arch_mach,
+       set_gdbarch_from_file): Fix spelling error.
+       * v850-tdep.c (v850_target_architecture_hook): Likewise.
+       * gdbarch.sh: Fix spelling errors in comment.
+       * gdbarch.c, gdbarch.h: Regenerate.
+
+       * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
+       store_inferior_registers): Support older NetBSD/powerpc systems
+       from before fp reg support was added.  Adapt to register number
+       changes caused when powerpc target was multi-arched.
+
+2000-10-26  David B. Anderson <davea@sgi.com>
+
+       * breakpoint.c breakpoint.h hppab-nat.c infrun.c
+       language.h mcore-tdep.c mips-tdep.c symfile.c symtab.c
+       symtab.h target.c tm-mips.h xm-sun4sol2.h: Corrected
+       spelling errors in comments.
+       * gdbarch.c gdbarch.sh: Removed word from comment.
+
+2000-10-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * sun3-nat.c (fetch_core_registers): Protoize.
+       * symm-nat.c (print_1167_regs, child_xfer_memory): Protoize.
+
+2000-10-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * stabsread.c (define_symbol): Update comment.
+
+2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>
+
+       * stabsread.c (define_symbol): Set the type_name of the type
+       of the new symbol to the symbol name for type symbol, if the
+       language is Pascal.
+       
+2000-10-26  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
+       New function.
+       * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
+       * gdbarch.c, gdbarch.h:  Regenerate.
+       * valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
+       unconditionally.
+
+       * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
+       definition.
+       * config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
+       undef.
+       * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
+       (rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
+       if not ELFOSABI_LINUX.
+
+2000-10-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/rs6000/rs6000lynx.mt (TDEPFILES): Revert 2000-10-24
+       change in which solib-svr4.o was inadvertently added to this
+       list.
+
+2000-10-25  Fred Fish  <fnf@cygnus.com>
+
+       * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
+       the current arch or use zero.
+
+2000-10-25  Fernando Nasser  <fnasser@cygnus.com>
+
+       * ser-unix.c (do_unix_readchar): Coding style improvement only.
+
+2000-10-25  Fernando Nasser  <fnasser@cygnus.com>
+
+        * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
+        by calling detach_hook, if defined.
+
+2000-10-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * coffread.c (coff_end_symtab): When calling end_symtab(),
+       use SECT_OFF_TEXT() instead of 0 to represent the .text
+       section.
+       * hp-symtab-read.c (hpread_expand_symtab): Likewise.
+       * hpread.c (hpread_expand_symtab, hpread_process_one_debug_symbol):
+       Likewise.
+
+2000-10-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib-svr4.c: New file created out of much of solib.c...
+       * solib.c (_SYSCALL32, BKPT_AT_SYMBOL): Move these defines to
+       solib-svr4.c.
+       (sys/types.h, signal.h, sys/param.h, fcntl.h, a.out.h,
+       elf/external.h, link.h): Move these includes to solib-svr4.c.
+       (bkpt_names, debug_base_symbols, main_name_list,
+       solib_extract_address, SOLIB_EXTRACT_ADDRESS, dynamic_copy,
+       ld_2_copy, debug_addr, flag_addr, LM_ADDR, LM_NEXT, LM_NAME,
+       IGNORE_FIRST_LINK_MAP_ENTRY, breakpoint_addr,
+       allocate_rt_common_objfile, solib_add_common_symbols,
+       bfd_lookup_symbol, look_for_base, elf_locate_base, locate_base,
+       first_link_map_member, open_symbol_file_object, match_main,
+       current_sos, interp_text_sect_low, interp_text_sect_high,
+       interp_plt_sect_low, interp_plt_sect_high,
+       in_svr4_dynsym_resolve_code, disable_break, enable_break,
+       special_symbol_handling): Moved to solib-svr4.c.
+       (debug32_copy, shadow_contents, fdmatch)
+       Removed entirely.
+       (struct so_list): Moved to solist.h
+       (MAX_PATH_SIZE): Moved to solist.h and renamed to
+       SO_NAME_MAX_PATH_SIZE.
+
+       * solist.h: New file created from struct so_list in solib.c.
+       (struct lm_info): Add forward declaration.
+       (struct so_list): Remove fields lm, lm32, lmaddr.  Replace with a
+       single field, lm_info, which will be a pointer to target specific
+       data.
+       (struct target_so_ops): New struct.
+       (free_so): Add extern declaration.
+       (current_target_so_ops): Declare new global variable.
+       (solib_map_sections): 
+       (TARGET_SO_LM_ADDR, TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB,
+       TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK,
+       TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS,
+       TARGET_SO_OPEN_SYMBOL_FILE_OBJECT):  New macros.
+       * solib.c (solib_map_sections, free_so, symbol_add_stub,
+       update_solib_list, solib_add, info_shared_library_command,
+       solib_address, clear_solib, solib_create_inferior_hook):  Use
+       new TARGET_SO_* macros to call function on target specific
+       side indirectly.
+       (current_target_so_ops): Define new global variable.
+       (_initialize_solib): Eliminate HAVE_LINK_H ifdef.
+       * solib-svr4.h: New file; defines struct link_map_offsets and
+       SVR4_FETCH_LINK_MAP_OFFSETS.
+       * solib-svr4.c (_initialize_svr4_solib, svr4_clear_solib,
+       svr4_free_so): New functions.
+       (special_symbol_handling, solib_create_inferior_function_hook,
+       current_sos): Rename by adding a svr4_ prefix.
+       (default_svr4_fetch_link_map_offsets): New function.
+       (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
+       first_link_map_member, open_symbol_file_object, svr4_current_sos):
+       Remove dependence on existence of link.h by calling
+       SVR4_FETCH_LINK_MAP_OFFSETS to obtain the offsets of shared library
+       data.  As a result, SVR4 and non-SVR4 versions of many of these
+       functions coalesce into a single function and HAVE_STRUCT_LINK_MAP32
+       ugliness is moved into default_svr4_fetch_link_map_offsets where it
+       is relatively contained.
+       (SOLIB_EXTRACT_ADDRESS): Revert 2000-08-29 change in which
+       solib_extract_address() is called instead of extract_address().
+       (solib_extract_address): Removed.
+
+       * Makefile.in (solib.o): Add solist.h as a dependency.
+       (solib-svr4.o): Add dependencies.
+       * config/alpha/alpha-linux.mh, config/alpha/fbsd.mh,
+       config/arm/linux.mh, config/i386/fbsd.mh,
+       config/i386/i386dgux.mh, config/i386/i386gnu.mh,
+       config/i386/i386sco5.mh, config/i386/i386sol2.mt,
+       config/i386/i386v4.mh, config/i386/i386v42mp.mh,
+       config/i386/linux.mh, config/i386/nbsd.mh,
+       config/i386/nbsdelf.mh, config/i386/ncr3000.mt,
+       config/i386/ptx4.mh, config/i386/sun386.mt,
+       config/ia64/linux.mh, config/m68k/linux.mh,
+       config/m68k/m68kv4.mh, config/m68k/nbsd.mh,
+       config/m68k/sun2os4.mt, config/m68k/sun3os4.mt,
+       config/m88k/delta88v4.mh, config/mips/mipsv4.mh,
+       config/ns32k/nbsd.mh, config/powerpc/linux.mh,
+       config/powerpc/nbsd.mh, config/powerpc/solaris.mh,
+       config/rs6000/rs6000lynx.mt, config/sparc/linux.mt,
+       config/sparc/nbsd.mh, config/sparc/nbsdelf.mh,
+       config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh
+       (NATDEPFILES):  Add solib-svr4.o to list.
+
+       * sparc-tdep.c (gregset.h): Don't include unless USE_PROC_FS is
+       defined.
+
+2000-10-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * stabsread.c (dbx_lookup_type, dbx_alloc_type,
+       read_sun_builtin_type, read_sun_floating_type,
+       read_range_type): Protoize.
+
+Wed Oct 25 01:19:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * solib.c (open_symbol_file_object): Update function signature to
+       match catch_errors function argument.
+
+Wed Oct 25 00:08:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
+       * infttrace.c (get_dictionary_entry_of_page): Function
+       require_memory_page_dictionary takes no args.
+
+Tue Oct 24 16:12:00 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdba.el: Delete file.
+       * NEWS: Mention.
+
+2000-10-23 David B Anderson <davea@sgi.com>
+
+       * TODO: Correct spelling errors
+       * command.c (_initialize_command) corelow.c (core_open)
+       main.c (captured_command_loop) mips-tdep.c (mips32_next_pc)
+       remote.c serial.h top.c utils.c config/nm-lynx.h:
+       Correct spelling errors in comments
+
+2000-10-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * sparc-nat.c (fetch_core_registers): Protoize.
+       * sparcl-tdep.c (download): Protoize.
+
+Fri Oct 20 19:08:47 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Add Fred Fish to Blanket Write Privs list.
+
+2000-10-19  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib.c (LM_ADDR, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY,
+       open_symbol_file_object): Protoize.
+
+2000-10-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-vx29k.c (vx29k_frame_chain_valid): Protoize.
+       * remote.c (remote_xfer_memory, remote_search): Protoize.
+       * sol-thread.c (sol_thread_xfer_memory): Protoize.
+
+2000-10-16  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * sparc-tdep.c (sparc_fix_call_dummy):  Improve comments.
+       Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
+       in a call dummy works.
+       (sparc_gdbarch_init):  Fix setting of pc_in_call_dummy, it depends
+       on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.
+
+2000-10-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-st.c (st2000_xfer_inferior_memory): Protoize.
+       * remote-utils.c (gr_multi_scan): Protoize.
+       * remote-vx.c (vx_xfer_memory, net_get_symbols): Protoize.
+
+2000-10-13  Fernando Nasser  <fnasser@cygnus.com>
+
+       * remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
+       (read_frame): Do not call error() on communication error when
+       reading checksum, but return failure instead and log message.
+
+2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>
+
+       * varobj.c (type_changeable): Arrays are not changeable.
+       Trying to check for updates was causing an error if the array lived
+       in a register as gdb value_equal() cannot handle that case yet.
+
+2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>
+
+       * varobj.c (varobj_update): Prevent uninitialized error code to be
+       returned on type_changed.  Also, prevent value_equal() to be called
+       for the types we do not want to test for updates.
+
+2000-10-11  Fernando Nasser  <fnasser@totem.to.cygnus.com>
+
+       From Grant Edwards <grante@visi.com>
+       This keeps the GUI alive while running an RDI target and lets the
+       STOP button be used to stop the target.
+       * remote-rdi.c (arm_rdi_stop): New function.  Implements target_stop.
+       (init_rdi_ops): Set to_stop target vector entry to the above.
+       * rdi-share/ardi.c (stop_request): New variable.  Tells when a stop
+       has been requested.
+       (angel_RDI_stop_request): New function. Registers that a stop has
+       been requested.
+       (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
+       waits while target is executing.  Initialize and reset stop_request.
+       * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().
+
+2000-10-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-rdp.c (remote_rdp_xfer_inferior_memory): Protoize.
+       * remote-sds.c (sds_xfer_memory): Protoize.
+       * remote-sim.c (gdbsim_xfer_inferior_memory): Protoize.
+
+2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       From Daniel Berlin <dberlin@redhat.com> :
+
+       * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
+       language to auto instead of unknown, so it will try to demangle
+       the symbol.
+       * symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
+       * symtab.c (gdb_mangle_name): Properly handle C++ operators.
+       
+2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       From Daniel Berlin <dberlin@redhat.com> :
+
+       * symtab.c (lookup_symbol_aux): New function. Renamed from
+       lookup_symbol. Move code to do demangling/case sensitivity to
+       lookup_symbol().
+       (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
+       perform case sensitivity/demangling without leaking memory.  Move
+       code to do demangling/case sensitivity from old_lookup_symbol to
+       here.
+       (lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
+       SYMBOL_NAME.
+       (lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
+       SYMBOL_NAME. Don't do linear search in case of C++.
+
+       * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
+       SYMBOL_NAME.
+       (compare_psymbols): Same here.
+
+2000-10-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-nindy.c (non_dle, nindy_xfer_inferior_memory): Protoize.
+       * remote-os9k.c (rombug_xfer_inferior_memory): Protoize.
+       * remote-rdi.c (arm_rdi_xfer_memory): Protoize.
+
+2000-10-09  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * config/i386/i386sol2.mh:  Add XM_CLIBS definition to resolve
+       reference to gethostbyname.
+
+2000-10-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-eb.c (eb_xfer_inferior_memory): Protoize.
+       * remote-es.c (es1800_xfer_inferior_memory, es1800_files_info):
+       Protoize.
+       * remote-mm.c (expect_msg): Protoize.
+
+2000-10-04  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-tdep.c (skip_prologue): Add new parameter lim_pc.
+       Update all callers.
+
 2000-10-03  Kevin Buettner  <kevinb@redhat.com>
 
        * remote-bug.c (bug_xfer_memory, bug_insert_breakpoint,
This page took 0.027041 seconds and 4 git commands to generate.