* c-valprint.c (print_function_pointer_address): New function
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fff830820efa73008d28f573d7e3d9393389af53..064218f523b8cb18ce5dfb6b86376d36aa792522 100644 (file)
@@ -1,3 +1,880 @@
+2000-11-20  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * c-valprint.c (print_function_pointer_address):  New function
+       to automatically dereference a function pointer for printing
+       if necessary.
+       (c_val_print):  Use print_function_pointer_address when printing
+       function pointer addresses.
+
+2000-11-20  J.T. Conklin  <jtc@redback.com>
+
+       * gdbserver/low-nbsd.c: Fix typos.
+
+2000-11-20  Jeffrey A Law  (law@cygnus.com)
+
+        * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
+
+Mon Nov 20 23:21:53 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX.  Jim
+       Blandy, Kevin Buettner and Peter Schauer share shared libs.
+
+       From Nick Duffek:
+       * MAINTAINERS: Share responsibility for
+       Solaris/x86 between co-maintainers.
+
+       * MAINTAINERS: Add linespec as a separate component.
+       
+Mon Nov 20 14:29:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.h (error_no_arg): Add noreturn attribute to declaration.
+
+Fri Nov 17 16:07:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * utils.c (xvasprintf, xasprintf): New functions.
+       * defs.h (xvasprintf, xasprintf): Add declarations.
+
+       * remote.c (add_packet_config_cmd): Use function xasprintf instead
+       of asprintf.
+       * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Use
+       function xvasprintf instead of vasprintf.
+
+       * TODO (xasprintf): Update.
+
+Mon Nov 20 12:22:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Mention ``extern'' and ``STREQ'' cleanups.
+
+2000-11-19  Jim Blandy  <jimb@redhat.com>
+
+       * symtab.c (no_symtab_msg): Remove definition.
+       (sources_info): Replace use of no_symtab_msg with the string
+       itself.
+       * linespec.c (no_symtab_msg): Remove declaration.
+       (decode_line_1): Replace uses of no_symtab_msg with the string
+       itself.
+
+2000-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-tdep.c (refine_prologue_limit): New function.
+       (skip_prologue): When zero, attempt to obtain value for
+       lim_pc by calling refine_prologue_limit().  Also, fix
+       fencepost error regarding the limit in the loop.
+
+       From Peter Schauer:
+       * rs6000-tdep.c (skip_prologue):  Handle optimizer code motions into
+       the prologue by continuing the prologue search, if we have no valid
+       frame yet or if the return address is not yet saved in the frame.
+
+2000-11-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * wrapper.c (gdb_value_assign, wrap_value_assign): Protoize.
+
+2000-11-16  Christopher Faylor  <cgf@redhat.com>
+
+       * thread.c (thread_apply_all_command): Save the command before
+       executing it because it may be modified.  Restore the saved command so
+       that the same command is executed on next thread.
+       (thread_apply_command): Same correction.
+
+2000-11-16  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * regcache.c (read_register_bytes): Failing to set register_valid
+       is not necessarily an error, if the register is a pseudo-register.
+       Some pseudo-registers are never marked as valid, so that they will
+       be read anew every time.  Determining if a pseudo-register is valid
+       (or should be marked invalid) may be difficult, whereas just 
+       recomputing it may be cheap.
+
+Thu Nov 16 09:47:57 2000  David Taylor  <taylor@redhat.com>
+
+       * tracepoint.c (trace_find_tracepoint_command): Replace call to
+       parse_and_eval_address with a call to parse_and_eval_long as
+       we are evaluating an integer, not an address.
+       * top.c (show_commands): Ditto.
+
+2000-11-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize.
+
+Wed Nov 15 09:31:39 2000  David Taylor  <taylor@redhat.com>
+
+       * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
+       not TARGET_PTR_BIT, since we are dealing with addresses, not
+       pointers.
+       
+2000-11-14  Daniel Berlin  <dberlin@redhat.com>
+
+       From Kenneth Block <kenneth.block@compaq.com>
+
+        * demangle.c : Use libibery list of demanglers instead of out of
+        date local copy.
+
+Wed Nov 15 00:29:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Klaus Espenlaub <espenlaub@informatik.uni-ulm.de>
+       * remote.c (_initialize_remote): Call
+       show_memory_write_packet_size when ``show remotewritesize''
+       command.
+
+2000-11-13  Eli Zaretskii <eliz@is.elta.co.il>
+
+       * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
+        the gettext's posrcprefix correctly with drive letters.
+
+2000-11-10  Jim Blandy  <jimb@redhat.com>
+
+       * stabsread.c (read_range_type): Properly construct complex
+       type nodes.
+
+2000-11-10  Fernando Nasser  <fnasser@totem.toronto.redhat.com>
+
+       * symtab.c (decode_line_1, total_number_of_methods, find_methods,
+       build_command_line_spec, find_toplevel_char, decode_line_2):
+       Move to linespec.c.
+       * linespec.c: New file. Routines that handle linespecs, formerly
+       in symtab.c.
+       * symtab.h: Export find_line_symtab and find_function_start_sal,
+       * Makefile.in: Add linespec.c.
+
+2000-11-10  Christopher Faylor <cgf@cygnus.com>
+
+       * inferior.h (step_over_calls_kind): New enum to clarify values in
+       step_over_calls.
+       * infcmd.c (step_over_calls): Change definition.
+       (step_1): Use new enum values in relation to step_over_calls.
+       (step_once): Ditto.
+       (until_next_command): Ditto.
+       * infrun.c (clear_proceed_status): Ditto.
+       (handle_inferior_event): Ditto.
+
+2000-11-10  Stephane Carrez  <Stephane.Carrez@sun.com>
+
+       * inferior.h (step_stop_if_no_debug): New variable.
+       * infrun.c (step_stop_if_no_debug): Declare.
+       (handle_inferior_event): Stop the step command if we entered a function
+       without line info.
+       (_initialize_infrun): New command 'set step-mode' to control the step
+       command.
+       * infcmd.c (step_once): Switch to stepi mode if there is no line info
+       (and switching is enabled).
+
+2000-11-10  J.T. Conklin  <jtc@redback.com>
+
+       * target.c (do_xfer_memory): Only perform a single memory transfer
+       instead of iterating to tranfer the entire region.  Higher layers
+       are expected to call this function multiple times for partial
+       transfers.
+       (target_xfer_memory_partial): Remove unused local variables.
+
+2000-11-10  Nick Duffek  <nsd@redhat.com>
+
+       * target.c (target_xfer_memory_partial): Return bytes transferred
+       instead of 0.
+
+2000-11-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * values.c (value_being_returned, using_struct_return): Protoize.
+       * varobj.c (child_exists, cplus_class_num_children): Protoize.
+
+2000-11-09  Kevin Buettner  <kevinb@redhat.com>
+
+       Changes based on a patch from Ulrich Drepper:
+       * solib-svr4.c (svr4_relocate_main_executable): New function.
+       (svr4_solib_create_inferior_hook):  Call
+       svr4_relocate_main_executable.
+       
+2000-11-09  J.T. Conklin  <jtc@redback.com>
+
+       * config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.
+       * config/i386/nbsdelf.mh: Likewise.
+       * config/m68k/nbsd.mh: Likewise.
+       * config/ns32k/nbsd.mh: Likewise.
+       * config/powerpc/nbsd.mh: Likewise.
+       * config/sparc/nbsd.mh: Likewise.
+       * config/sparc/nbsdelf.mh: Likewise.
+       * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES.
+       * config/i386/nbsdelf.mt: Likewise.
+       * config/m68k/nbsd.mt: Likewise.
+       * config/ns32k/nbsd.mt: Likewise.
+       * config/powerpc/nbsd.mt: Likewise.
+       * config/sparc/nbsd.mt: Likewise.
+
+2000-11-09  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       Add auto-solib-add support for AIX, remove obsolete and unused
+       SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code.
+       * rs6000-nat.c (vmap_symtab):  Do not try to modify offsets
+       if symbols are not yet loaded.
+       (vmap_add_symbols):  New function to add symbols for a vmap entry.
+       (add_vmap):  Turn errors into warnings, return NULL vmap upon
+       failure. Add symbols via vmap_add_symbols only if requested.
+       (xcoff_relocate_core):  Allow debugging of core files without an
+       executable file. Handle NULL returns from add_vmap gracefully.
+       * xcoffsolib.c (solib_add):  Remove, no longer needed.
+       (solib_info):  Do not check for new shared libraries if there is no
+       inferior process.
+       (sharedlibrary_command):  Made static.
+       Do not check for new shared libraries if there is no inferior process.
+       Add symbols for requested shared libraries via vmap_add_symbols.
+       (_initialize_solib):  Add `set auto-solib-add' command.
+       * xcoffsolib.h (vmap_add_symbols):  Add prototype declaration.
+
+       * config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT):  Move from here ...
+       * config/rs6000/nm-rs6000.h:  ... to here, this is an AIX native
+       feature.
+       * config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h,
+       config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h:
+       Remove #undef PC_LOAD_SEGMENT.
+       * config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt
+       (TDEPFILES):  Move xcoffsolib.o from here ...
+       * config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh
+       (NATDEPFILES):  ... to here, xcoffsolib.o contains AIX native code
+       only.
+       * rs6000-tdep.c:  Remove #include xcoffsolib.h, no longer needed.
+       * xcoffsolib.h (xcoff_relocate_symtab_hook):  Remove declaration.
+       * rs6000-nat.c (_initialize_core_rs6000):  Remove setting of
+       xcoff_relocate_symtab_hook, no longer needed.
+       * xcoffsolib.c (solib_info, sharedlibrary_command):  Remove
+       xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab
+       directly, as xcoffsolib.c is now compiled in native AIX configurations
+       only.
+       * Makefile.in:  Update dependencies for rs6000-tdep.o, rs6000-nat.o
+       and xcoffsolib.o.
+
+Thu Nov  9 17:16:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
+       * vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h".
+       (vax_print_insn): Change ``d'' to a const char pointer.
+
+2000-11-08  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * gdbarch.sh: Spelling correction: registrary -> registry.
+       * gdbarch.c: Ditto.
+
+Wed Nov  8 23:08:48 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m68k-tdep.c (m68k_get_longjmp_target): Work around targets that
+       don't define JB_PC or JB_ELEMENT_SIZE.
+
+Wed Nov  8 22:46:43 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * m68k-tdep.c (m68k_get_longjmp_target): Rename function
+       get_longjmp_target.  Remove wrapping #ifdef GET_LONGJMP_TARGET.
+       * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Add function
+       declaration.
+
+       * config/m68k/tm-vx68.h, config/m68k/tm-sun3.h,
+       config/m68k/tm-m68kv4.h, config/m68k/tm-linux.h,
+       config/m68k/tm-es1800.h, config/m68k/tm-cisco.h: Update definition
+       of GET_LONGJMP_TARGET.  Delete get_longjmp_target function
+       declaratation.
+
+Wed Nov  8 15:32:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbserver/configure.in (files): Don't link nm-empty.h when a
+       non-native target.
+       * gdbserver/configure: Regenerate.
+
+2000-11-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * valops.c (typecmp): Protoize.
+       * valprint.c (strcat_longest): Protoize.
+
+2000-11-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-tdep.c (native_find_global_pointer):  New global variable.
+       (struct gdbarch_tdep): Add member find_global_pointer.
+       (ia64_gdbarch_init): Initialize find_global_pointer member.  Also,
+       tell the gdbarch machinery that we have floating point registers.
+       (FIND_GLOBAL_POINTER): New macro.
+       (generic_elf_find_global_pointer):  Renamed from find_global_pointer.
+       (find_func_descr, ia64_push_return_address):  Call
+       FIND_GLOBAL_POINTER instead of find_global_pointer.
+       (process_note_abi_tag_sections):  Enable code previously disabled
+       by #if 0.
+
+2000-11-07  Daniel Berlin  <dberlin@redhat.com>
+
+       * dwarf2read.c: Revert June 5th change for caching of types,
+       as per Jim Blandy's request.
+
+2000-11-06  Fernando Nasser  <fnasser@totem.toronto.redhat.com>
+
+       * wrapper.c (gdb_value_assign): New function.  Longjump-free
+       version of value_assign.
+       (wrap_value_assign): New function. Wrapper for value_assign.
+       * wrapper.h: Add declaration for the above.
+       * varobj.c (varobj_set_value): Use gdb_value_assign, not
+       value_assign which can longjump.  Do not change varobj value if
+       assign fails.
+       
+2000-11-06  Fernando Nasser  <fnasser@cygnus.com>
+
+       From  Steven Johnson  <sbjohnson@ozemail.com.au>:
+
+        This set of changes add "hookpost-" as an expansion on the original
+       hooking of commands to GDB. A Hook may now be run "AFTER" execution of
+       a command as well as before.
+
+       * command.h (struct cmd_list_element): Changed elements hook and hookee
+       to hook_pre and hookee_pre respectively. Added hook_post and hookee_post
+       for the post hook command operation. Added hook_in so that an executing
+       hook can be flagged to prevent recursion.
+       * command.c (add_cmd): Changed initilization of cmd_list_element to
+       reflect above changes.
+       (delete_cmd): Remove both pre and post hooks.
+       (help_cmd): Notify that the command has pre and/or post hooks.
+       * infrun.c (normal_stop): Change references to hook_pre from hook.
+       * top.c (execute_command): Run both pre and post hooks.
+       (define_command): Allow definition of both pre and post hooks.
+       The definition of pre-hooks is done as before, with the "hook-"
+       prefix for backward compatibility.
+
+2000-11-06  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * stack.c (return_command):  Pop dummy frame if we just returned from
+       a stop in a call dummy.
+
+2000-11-05  Kevin Buettner  <kevinb@redhat.com>
+
+       * v850-tdep.c (handle_prepare, handle_pushm): Remove extraneous
+       blank line after function declarator.
+       * v850ice.c (v850ice_xfer_memory, do_gdb): Protoize.
+
+2000-11-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * utils.c (add_continuation, add_intermediate_continuation,
+       printchar): Protoize.
+
+2000-11-03  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2read.c (new_symbol): Relocate address of symbol by the
+       base address of the section it is in rather than always using
+       the base address of the .text section.
+
+2000-11-01  J.T. Conklin  <jtc@redback.com>
+
+       * TODO: Note abstraction layer violation where "ocd reset" command
+       must invalidate the dcache, and how this might be fixed.
+
+       * monitor.c (#include "dcache.h"): Removed.
+       (remote_dcache): Removed.
+       (monitor_open): Removed code that created local dcache.
+       (flush_monitor_dcache): Removed (unused function).
+       (monitor_resume): Removed call to dcache_invd().
+       (monitor_load): Likewise.
+       (monitor_xfer_memory): Changed to call monitor_write_memory(),
+       monitor_write_memory_block(), and monitor_read_memory() instead
+       of dcache_xfer_memory().
+       * monitor.h (flush_monitor_dcache): Removed (unused function).
+       * ocd.c (#include "dcache.h"): Removed.
+       (ocd_dcache): Removed.
+       (ocd_open): Removed code that created local dcache.
+       (ocd_resume): Removed call to dcache_invd().
+       (ocd_xfer_memory): Changed to call ocd_write_bytes() and 
+       ocd_read_bytes() instead of dcache_xfer_memory().
+       (bdm_reset_command): Invalidate target dcache.
+       * remote-bug.c (bug_load): Remove call to dcache_invd().
+       (bug_resume): Likewise.
+       (bug_settings): Remove dcache, readfunc, and writefunc fields
+       from initializer.
+       (bug_xfer_memory): Changed to call bug_read_memory() and 
+       bug_write_memory() instead of dcache_xfer_memory().
+       * remote-nindy.c (#include "dcache.h"): Removed.
+       (nindy_dcache): Removed.
+       (nindy_open): Removed code that created local dcache.
+       (nindy_resume): Removed call to dcache_invd().
+       (nindy_load): Likewise.
+       (nindy_xfer_inferior_memory): Changed to call ninMemPut() and 
+       ninMemGet() instead of dcache_xfer_memory().
+       * remote-sds.c (#include "dcache.h"): Removed.
+       (sds_dcache): Removed.
+       (sds_open): Removed code that created local dcache.
+       (sds_resume): Removed call to dcache_invd().
+       (sds_xfer_memory): Changed to call sds_write_bytes() and 
+       sds_read_bytes() instead of dcache_xfer_memory().
+       * remote-utils.c (gr_open): Removed code that created local dcache.
+       * remote-utils.h (#include "dcache.h"): Removed.
+       (struct gr_settings): Removed dcache, readfunc, and writefunc fields.
+       (gr_get_dcache, gr_set_dcache): Removed macro definitions.
+       * remote.c (#include "dcache.h"): Removed.
+       (remote_dcache): Removed.
+       (remote_open_1): Removed code that created local dcache.
+       (remote_async_open_1): Likewise.
+       (remote_resume): Removed call to dcache_invd().
+       (remote_async_resume): Likewise.
+       (remote_xfer_memory): Changed to call remote_write_bytes() and
+       remote_read_bytes() instead of dcache_xfer_memory().
+       * wince.c (#include "dcache.h"): Removed.
+       (remote_dcache): Removed.
+       (child_create_inferior): Removed code that created local dcache.
+       (child_xfer_memory): Changed to call remote_write_bytes() and
+       remote_read_bytes() instead of dcache_xfer_memory().
+       (child_resume): Removed call to dcache_invd().
+       
+       * target.c (target_dcache): Added.
+       (target_load): Invalidate target_dcache.
+       (do_xfer_memory): New function.
+       (target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
+       (target_xfer_memory_partial): Likewise.
+       (initialize_targets): Create target_dcache.
+       * target.h (#include "dcache.h"): Added.
+       (target_open): Invalidate target_dcache.
+       (target_resume): Likewise.
+       (do_xfer_memory): New declaration.
+       
+       * dcache.c (dcache_init): Removed reading and writing arguments.
+       (dcache_struct): Removed read_memory and write_memory fields.
+       (dcache_write_line): Call do_xfer_memory.
+       (dcache_read_line): Likewise.
+       (dcache_xfer_memory): Likewise.
+       (dcache_invalidate): Renamed from dcache_invd.
+       (dcache_init): Updated.
+       (dcache_xfer_memory): Updated.
+       * dcache.h (memxferfunc): Removed definition.
+       (dcache_init): Removed reading and writing arguments.
+       
+2000-11-03  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * objfiles.c (objfile_relocate):  Relocate ei.entry_point with
+       its section offset, use SECT_OFF_TEXT only as a fallback.
+
+2000-11-01  Kevin Buettner  <kevinb@redhat.com>
+
+       * symm-nat.c (print_1167_regs): Remove extraneous blank line
+       after function declarator.
+       * symtab.c (search_symbols): Likewise.
+       * ultra3-nat.c (fetch_core_registers): Protoize.
+
+2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * config/sh/tm-linux.h: New file.  Include generic tm-linux.h, 
+       plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
+       the sh target function instead of the default link map offsets.
+       * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
+       Use sh/tm-linux.h instead of sh/tm-sh.h.
+       * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): 
+       New function.  Construct target-specific link map offsets.
+       * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
+       New function.  Construct target-specific link map offsets.
+       * config/i386/tm-linux.h: Use above function instead of default.
+
+2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
+       and inclusion of solib.h.  Move up into ../tm-linux.h.
+       config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
+
+2000-10-30  Kevin Buettner  <kevinb@redhat.com>
+
+       * top.c (simplified_command_loop, add_info, add_com,
+       help_command): Protoize.
+       * ui-out.c (gdb_query): Protoize.
+
+2000-10-30  Kevin Buettner  <kevinb@redhat.com>
+
+       Changes based on analysis from Peter Schauer:
+       * solist.h (struct so_list): Remove field lmend.
+       (struct target_so_ops): Remove field lm_addr.  Add field
+       relocate_section_addresses.  Add comments for all fields
+       in this structure
+       (TARGET_SO_LM_ADDR): Remove.
+       (TARGET_SO_RELOCATE_SECTION_ADDRESSES): New macro.
+       * solib-svr4.c (svr4_relocate_section_addresses): New function.
+       (_initialize_svr4_solib): Remove lm_addr initialization.  Add
+       initialization for relocate_section_addresses.
+       * solib.c (solib_map_sections): Invoke 
+       TARGET_SO_RELOCATE_SECTION_ADDRESSES instead of using now
+       defunct TARGET_SO_LM_ADDR to relocate the section addresses.
+       Also, eliminate assignment to the lmend field since this
+       field no longer exists.
+       (symbol_add_stub): Remove machinery for determining the lowest
+       section.
+       (info_sharedlibrary_command): Print the text section starting
+       and ending addresses.
+       (solib_address): Don't use TARGET_SO_LM_ADDR, nor so->lmend to
+       determine if an address is in a shared object.  Instead, scan
+       the section table and test against the starting and ending
+       addresses for each section.
+
+2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
+       * config/powerpc/linux.mh: ditto.
+       * config/ia64/linux.mh: ditto.
+       * config/i386/linux.mh: ditto.
+       * config/alpha/alpha-linux.mh: ditto.
+       * config/arm/linux.mh: ditto.
+       * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
+       * config/powerpc/linux.mt: ditto.
+       * config/ia64/linux.mt: ditto.
+       * config/i386/linux.mt: ditto.
+       * config/alpha/alpha-linux.mt: ditto.
+       * config/arm/linux.mt: ditto.
+
+2000-10-30  J.T. Conklin  <jtc@redback.com>
+
+       * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c, 
+       mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, 
+       somread.c, tracepoint.c: Fix spelling errors in comments.
+       * gdbarch.c: Regenerate.
+
+       * gnu-nat.c (S_exception_raise_request): Fix typos and spelling 
+       errors in strings.
+       * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
+       * mcore-tdep.c (mcore_analyze_prologue): Likewise.
+       * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
+       * remote-e7000.c (e7000_start_remote): Likewise.
+       * remote-rdp.c (handle_swi): Likewise.
+       * remote-vx.c (vx_load_command): Likewise.
+       * sh-tdep.c (sh_do_pseudo_register): Likewise.
+       * sol-thread.c (td_err_string): Likewise.
+       * symtab.c (decode_line_2): Likewise.
+       
+Mon Oct 30 10:19:01 2000  David Taylor  <taylor@redhat.com>
+
+       * eval.c (parse_and_eval_long): New function.
+       * value.h: Declare it.
+       
+       * breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
+       Call parse_and_eval_long, not parse_and_eval_address.
+       * command.c (do_setshow_command): Ditto.
+       * infcmd.c (step_1, signal_command, continue_command): Ditto.
+       * infrun.c (signals_info): Ditto.
+       * stack.c (set_backtrace_limit_command, backtrace_command_1,
+       up_silently_base, down_silently_base): Ditto.
+       * tracepoints.c (tracepoints_info, trace_find_command,
+       trace_find_tracepoint_command): Ditto.
+       * valprint.c (set_radix): Ditto.
+       * values.c (show_values): Ditto.
+
+2000-10-28  Kevin Buettner  <kevinb@redhat.com>
+
+       * symtab.c (decode_line_2, file_matches, search_symbols): Protoize.
+       * thread.c (iterate_over_threads): Protoize.
+
+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 in string.
+       * v850-tdep.c (v850_target_architecture_hook): Likewise.
+       * gdbarch.sh: Fix spelling errors in comments.
+       * 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  Josef Ezra <jezra@emc.com>
+
+       * ax-gdb.c (gen_struct_ref): while generating data code, cases of
+       "collect p1->p2->data" where not covered if p2 is a 'typedefed'
+       type. this simple fix should forward the type pointer to the real
+       type.
+       
+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.
This page took 0.031685 seconds and 4 git commands to generate.