* c-valprint.c (print_function_pointer_address): New function
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 264e74410865716dd4b9f73b3adefa85a14b6e5d..064218f523b8cb18ce5dfb6b86376d36aa792522 100644 (file)
@@ -1,3 +1,337 @@
+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
This page took 0.027144 seconds and 4 git commands to generate.