X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=a571e1b2803bfc322e02988f622426ae4bda68a1;hb=3fb1c838041ad54d9182dc91b0304bfbd55968cb;hp=745438fbebe28e183adf5ec3a39156d6c05c0570;hpb=83413c558cdca7744ef4dcdff82678a5ea3e31c0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 745438fbeb..a571e1b280 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,434 @@ +2001-11-04 Mark Kettenis + + * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset, + fill_gregset): Add support for "orig_eax" register. + + Add support for "orig_eax" pseudo register on Linux/x86. + * i386-linux-tdep.c: Include "inferior.h". + (i386_linux_register_name, i386_linux_register_byte, + i386_linux_register_raw_size): New functions. + (i386_linux_write_pc): New function. + * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define. + (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, + REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional + register. + (i386_linux_register_name, i386_linux_register_byte, + i386_linux_register_raw_size): New prototypes. + (TARGET_WRITE_PC): New define. + (i386_linux_write_pc): New prototype. + + * i386-tdep.c (i386_register_offset): Renamed from + i386_register_byte. Made static. + (i386_register_size): Renamed from i386_register_raw_size. Made + static. + (i386_register_virtual_size): Removed. + (i386_register_byte, i386_register_raw_size, + i386_register_virtual_size): New functions. + (_initialize_i386_tdep): Initialize i386_register_offset instead + of i386_register_byte. Remove code to initialize + i386_register_virtual_size. + * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use + i386_register_byte function. + (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size + function. + (REGISTER_VIRTUAL_SIZE): Redefine to use + i386_register_virtual_size function. + (i386_register_byte, i386_register_raw_size, + i386_register_virtual_size): New functions. + + * Makefile.in (ALLDEPFILES): Add i387-nat.c. + (i387-nat.o): Add dependencies. + +2001-11-02 Andrew Cagney + + * README: Mention problem with alpha-dec-osf5.1. + +2001-11-02 Andrew Cagney + + * utils.c (internal_verror): Restore calls to abort(). + Fix PR gdb/219. + +2001-11-02 Michael Chastain + + * MAINTAINERS: Update my entry. + +2001-11-01 Fred Fish + + * coff-solib.c (coff_solib_add): Add new readsyms arg. + * irix5-nat.c (solib_add): Ditto. + * osfsolib.c (solib_add): Ditto. + * pa64solib.c (pa64_solib_add): Ditto. + * pa64solib.c (add_to_solist): Ditto. + * pa64solib.c (read_dld_descriptor): Ditto. + * solib.c (solib_add): Ditto. + * somsolib.c (som_solib_add): Ditto. + * win32-nat.c (child_solib_add): Ditto. + * xcoffsolib.c (solib_add): Ditto. + + * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype. + * pa64solib.c (add_to_solist): Ditto. + * pa64solib.c (read_dld_descriptor): Ditto. + * pa64solib.h (pa64_solib_add): Ditto. + * solib.h (solib_add): Ditto. + * somsolib.h (som_solib_add): Ditto. + * config/i386/tm-cygwin.h (child_solib_add): Ditto. + + * coff-solib.c (coff_solib_add): If readsyms is zero don't read + symbols but do any other needed work for shared libs. + * irix5-nat.c: Ditto. + * osfsolib.c (solib_add): Ditto. + * solib.c (solib_add): Ditto. + * win32-nat.c (child_solib_add): Ditto. + * xcoffsolib.c (solib_add): Ditto. + + * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to + solib_add to force reading of shared library symbols. + * osfsolib.c (sharedlibrary_command;): Ditto. + * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto. + * solib.c (sharedlibrary_command): Ditto. + * somsolib.c (som_solib_sharedlibrary_command): Ditto. + * xcoffsolib.c (sharedlibrary_command): Ditto. + + * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add + unconditionally with auto_solib_add. + * irix5-nat.c (solib_create_inferior_hook): Ditto. + * osfsolib.c (solib_create_inferior_hook): Ditto. + * solib.c (solib_create_inferior_hook): Ditto. + * solib-osf.c (osf_solib_create_inferior_hook): Ditto. + * solib-svr4.c (enable_break): Ditto. + * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. + + * corelow.c (solib_add_stub): Add auto_solib_add to args passed + via SOLIB_ADD. + * sol-thread.c (sol_thread_attach): Ditto. + * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto. + + * infcmd.c (attach_command): Remove auto_solib_add decl. + Call SOLIB_ADD directly with auto_solib_add. + * infrun.c (handle_inferior_event): Ditto. + + * coff-solib.h (SOLIB_ADD): Add readsyms arg. + * pa64solib.h (SOLIB_ADD): Ditto. + * solib.h (SOLIB_ADD): Ditto. + * somsolib.h (SOLIB_ADD): Ditto. + * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto. + + * fork-child.c (clone_and_follow_inferior): Remove unused + auto_solib_add decl. + + * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms. + (read_dld_descriptor): Ditto. + (pa64_solib_add): Call read_dld_descriptor with readsyms. + (pa64_solib_in_dynamic_linker): Ditto. + + * corelow.c (symfile.h): Need this for auto_solib_add declaration. + * sol-thread.c (symfile.h): Ditto. + +2001-10-31 Andrew Cagney + + * s390-nat.c (s390_remove_watchpoint): Use xfree. + (s390_insert_watchpoint): Use xmalloc. + +2001-10-31 Andrew Cagney + + * varobj.c: Replace value_ptr with ``struct value *''. + +2001-10-31 Andrew Cagney + + * varobj.c: Re-indent. + +2001-10-31 Andrew Cagney + + * 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 + + * 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 + + * 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 + + From DJ Barrow. + * s390-tdep.c: (s390_gdbarch_init): Don't initialize + find_solib_trampoline_target. + +2001-10-31 Andrew Cagney + + * remote-vx.c (net_wait): Fix typo from PIDGET change. + +2001-10-31 Mark Kettenis + + * 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 + + * 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 + + * arm-linux-nat.c: Include explicitly. + +2001-10-30 Keith Seitz + + * 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 + + * README, NEWS: Update for 5.1. + +2001-10-30 Andrew Cagney + + * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the + -W... flags. + * configure: Re-generate. + +2001-10-30 Fred Fish + + * 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 + + * 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 + + * 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 + + * 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 + + * doublest.h (convert_typed_floating): New prototype. + * doublest.c (convert_typed_floating): New function. + +2001-10-28 Mark Kettenis + + * 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 + + * 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 + + * arm-linux-nat.c (fill_gregset): Do not check register_valid[]. + (fill_fpregset): Likewise. + +2001-10-26 Orjan Friberg + + * 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 + + * 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 + + 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 + + * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat + problems. + +Tue Oct 23 14:16:10 2001 Andrew Cagney + + * 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 + + * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI + interface is always enabled. + +2001-10-21 Andrew Cagney + + * 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 + + * 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 + + * infptrace.c (child_xfer_memory): Fix a few coding standards + violations. + +2001-10-21 Eli Zaretskii + + * config/djgpp/README: Fix a typo and tweak for GDB 5.1. + +2001-10-20 Andrew Cagney + + * 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 + + * alpha-nat.c: Include instead of + . + (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 * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin