s/value_ptr/struct value */
[binutils-gdb.git] / gdb / ChangeLog
index 9eff17cf17f9239afbf137dec48a666d74524aa2..b19d3d5567acf56ab2f468cb3a52733a6d42234d 100644 (file)
@@ -1,3 +1,351 @@
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * varobj.c: Replace value_ptr with ``struct value *''.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * varobj.c: Re-indent.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
+       ``value_ptr'' with ``struct value *''.
+       * s390-tdep.c (s390_push_arguments): Ditto.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * ppc-tdep.h: Add #ifndef wrapper.  Replace value_ptr with
+       ``struct value *''.
+       (struct frame_info, struct value): Add opaque declarations.
+       
+2001-10-31  Corinna Vinschen  <vinschen@redhat.com>
+
+       * arch-utils.c (generic_in_solib_call_trampoline): New function.
+       * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.  
+       * gdbarch.c: Regenerated from gdbarch.sh.
+       * gdbarch.h: Ditto.
+       * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
+       * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       From DJ Barrow.
+       * s390-tdep.c: (s390_gdbarch_init): Don't initialize
+       find_solib_trampoline_target.
+
+2001-10-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * remote-vx.c (net_wait): Fix typo from PIDGET change.
+
+2001-10-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
+       (REGISTER_NAME): New define.
+       (i386_register_name): New prototype.
+       * i386-tdep.c (i386_register_names): New variable.
+       (i386_register_name): New function.
+       * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
+       config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
+       REGISTER_NAMES.
+
+2001-10-31  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
+       the loaded DLL matches the on-disk case since the debugging API does
+       not seem to ensure this.  Calculate max name length here.
+       (handle_load_dll): Move max name length calculation to
+       register_loaded_dll.
+
+2001-10-31  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
+
+2001-10-30  Keith Seitz  <keiths@redhat.com>
+
+       * wrapper.h (gdb_value_struct_elt): New function.
+       * wrapper.c (gdb_value_struct_elt): Ditto.
+       (do_captured_value_struct_elt): Ditto.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * README, NEWS: Update for 5.1.
+
+2001-10-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
+       -W... flags.
+       * configure: Re-generate.
+
+2001-10-30  Fred Fish  <fnf@redhat.com>
+
+       * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
+       * pa64solib.c (add_to_solist): Ditto.
+       * win32-nat.c (_initialize_inftarg): Remove unnecessary
+       initialization of auto_solib_add, it defaults to 1.
+
+2001-10-27  Fred Fish  <fnf@redhat.com>
+
+       * symfile.c (auto_solib_add): Update comment to note that
+       this variable is now just used as a boolean to control shlib
+       autoloading, and clarify when it is used.
+       * symfile.h (auto_solib_add): Ditto.
+
+       * symfile.c (auto_solib_limit): New variable that holds the
+       autoloading threshold instead of overloading auto_solib_add.
+       * symfile.h (auto_solib_limit): Ditto.
+
+       * irix5-nat.c (_initialize_solib): Change auto-solib-add
+       variable from var_zinteger to var_boolean and update help.
+       * osfsolib.c (_initialize_solib): Ditto.
+       * pa64solib.c (_initialize_pa64_solib): Ditto.
+       * solib.c (_initialize_solib): Ditto.
+       * somsolib.c (_initialize_som_solib): Ditto.
+       * xcoffsolib.c (_initialize_solib): Ditto.
+
+       * pa64solib.c (pa64_solib_total_st_size): Update comment to
+       note that the new auto_solib_limit variable is used instead
+       of overloading auto_solib_add variable.
+       (_initialize_pa64_solib): Ditto.
+       * somsolib.c (som_solib_total_st_size): Ditto.
+       (_initialize_som_solib): Ditto.
+
+       * pa64solib.c (_initialize_pa64_solib): Add new set/show
+       commands for auto-solib-limit variable.
+       * somsolib.c (_initialize_som_solib): Ditto
+
+       * pa64solib.c (add_to_solist): Check that auto_solib_add is
+       set and use auto_solib_limit as the threshold size instead
+       of auto_solib_add.
+       * somsolib.c (som_solib_add): Ditto, and also change warning
+       text about size threshold exceeded.
+
+2001-10-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386v.h: Don't include "regcache.h".
+       (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
+       FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
+       Remove macros.  The versions from "tm-i386.h" should work fine
+       (and in most cases even better).
+
+2001-10-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_extract_return_value): Use
+       convert_typed_floating to extract floating-point value from
+       register buffer.
+       (i386_store_return_value): Use convert_typed_floating to store
+       floating-point return balue in register buffer
+       (i386_register_virtual_type): Change type of floating-point
+       registers to builtin_type_i387_ext.
+       (i386_register_convert_to_virtual): Use convert_typed_floating to
+       do the conversion.
+       (i386_register_convert_to_raw): Likewise.
+
+2001-10-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.h (convert_typed_floating): New prototype.
+       * doublest.c (convert_typed_floating): New function.
+
+2001-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.c: Improve comments a bit.
+       (floatformat_from_length): New function.
+       (NAN): Define to 0.0 if not already defined.
+       (extract_floating): Rewrite to use floatformat_from_length.  Warn
+       instead of error if LEN doesn't match a known floating-point type,
+       and return NaN (or 0.0 if NaN isn't available) in that case.
+       (store_floating): Likewise, but zero out the target byte-stream if
+       LEN doesn't match a known floating-point type.
+       (extract_typed_floating): Reformat a bit.
+       (store_typed_floating): Reformat a bit.  Add comment about zeroing
+       out padding in the target buffer.
+       * doublest.h (extract_floating, store_floating): Fix comment about
+       deprecation of these functions.  Add parameter names to prototypes.
+
+2001-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-tdep.c (print_i387_value): Use extract_typed_floating to
+       convert RAW to a DOUBLEST instead of extract_floating.
+
+       * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
+       builtin_type_i387_ext to floatformat_i387_ext.
+
+2001-10-24  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
+       (fill_fpregset): Likewise.
+
+2001-10-26  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
+       struct, not just the NUM_SPECREGS first entries.
+       (bdap_prefix): Read PC before autoincrement.
+
+2001-10-24  Corinna Vinschen  <vinschen@redhat.com>
+
+       * win32-nat.c (DebugSetProcessKillOnExit): New static function
+       pointer to Windows' DebugSetProcessKillOnExit() function.
+       (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
+       (has_detach_ability): New function.
+       (child_attach): If system has detach ability, enable it.
+       (child_detach): If system has detach ability, actually  
+       detach from process.
+       Change tty output to Linux format.
+
+2001-10-23  Jim Blandy  <jimb@redhat.com>
+
+       Isolate STABS readers' use of the `textlow' and `texthigh' fields
+       of `struct partial_symtab' to only a few locations.  This change
+       is not supposed to affect the way the values are computed, only
+       where they live.
+
+       * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
+       to the reader-specific structure.
+       * mdebugread.c (struct symloc): Same.
+       * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
+       * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
+       * dbxread.c (dbx_symfile_read): After we've built all our partial
+       symbol tables, set each partial symtab's `textlow' and `texthigh'
+       fields from our reader-specific structure.
+       * mdebugread.c (mdebug_build_psymtabs): Same.
+       * dbxread.c (start_psymtab): Initialize the reader-specific
+       structure's `textlow' and `texthigh' from the new psymtab's.
+       * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
+       * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
+       the reader-specific `textlow' and `texthigh', not the generic
+       psymtab fields.
+       * mdebugread.c (parse_lines, parse_partial_symbols,
+       psymtab_to_symtab_1): Same.
+       * partial-stab.h: Same.
+
+Tue Oct 23 18:59:42 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
+       problems.
+
+Tue Oct 23 14:16:10 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
+       (som_solib_desire_dynamic_linker_symbols): Compare integers with
+       zero not NULL.
+       * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
+
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * top.c (print_gdb_version): Do not print ``(MI_OUT)''.  MI
+       interface is always enabled.
+
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in: Replace top.h with $(top_h). Replace expression.h
+       with $(expression_h).  Replace command.h with $(command_h).
+       (language_h): Define.  Replace language.h with $(language_h).
+       Replace call-cmds.h with $(call_cmds_h).  Replace varobj.h with
+       $(varobj_h).
+       (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
+       (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
+       (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
+       (bcache_h, gdb_events_h, monitor_h): Ditto.
+       (ser_unix_h, source_h): Ditto.
+       (varobj_h): Update list.
+
+       * call-cmds.h: Add CALL_CMDS_H macro wrapper.
+       * solist.h: Add SOLIST_H macro wrapper.
+       * monitor.h: Add MONITOR_H macro wrapper.
+       * typeprint.h: Add TYPEPRINT_H macro wrapper.
+       * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
+       * valprint.h: Add VALPRINT_H macro wrapper.
+       * top.h: Add TOP_H macro wrapper.
+       
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
+       * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
+       * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
+       * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
+       * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
+       (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
+       (x86-64-tdep.o): Update dependencies.
+       * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2001-10-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * infptrace.c (child_xfer_memory): Fix a few coding standards
+       violations.
+
+2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
+
+2001-10-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
+       (struct value): Add opaque declaration.  Replace value_ptr with
+       ``struct value *''.
+       * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
+       struct.
+
+       * wrapper.h (struct value): Add opaque declaration.  Replace
+       value_ptr with ``struct value *''.
+       * wrapper.c: Replace value_ptr with ``struct value *''.
+       * breakpoint.h, breakpoint.c: Ditto.
+       * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
+
+2001-10-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * alpha-nat.c: Include <alpha/coreregs.h> instead of
+       <machine/reg.h>.
+       (fetch_osf_core_registers): Define core_reg_mapping in a way that
+       works on OSF5 as well as previous OSF versions.
+
+2001-10-20  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
+       may not be able to read them in certain situations.
+
+2001-10-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
+       * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
+
+2001-10-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * README: Mention problems with HP/UX.
+
+2001-10-16  Andrew Cagney  <ac131313@redhat.com>
+
+       Based on code by John Moore <jmore@redhat.com>:
+       
+       * utils.c (core_addr_to_string): New function for conversion of
+       CORE_ADDR to string.
+       (string_to_core_addr): New function to convert from string to
+       CORE_ADDR.
+       * defs.h: Added extern statements for the above.
+
+2001-10-17  Jason Molenda  (jason-cl@molenda.com)
+
+       * symtab.c (lookup_block_symbol):  Break out of linear search
+        if we're past the range of possible matches.
+
+2001-10-16  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
+       load of already loaded DLL.
+       (register_loaded_dll): Convert loaded DLL name to "posix" format or it
+       will confuse subsequent opening of the filename due to dos paths.
+       (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
+
+2001-10-15  Elena Zannoni  <ezannoni@redhat.com>
+
+        * symtab.c (lookup_block_symbol): Update comment.
+
+2001-10-15  Andrew Cagney  <ac131313@redhat.com>
+
+       * value.h (value_as_address): Rename value_as_pointer.
+       * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
+       jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
+       values.c: Update.
+
 202001-10-15  Jim Ingham  <jingham@inghji.apple.com>
 
         * valarith.c (value_sub): Don't pass a raw type to