X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=9defa53984236a4a34b24d8670b5be22c1a7808f;hb=14765d37095963084d95ae680159d20eb5cb7707;hp=ed98823566e2d7d11cc857326e17e600dc3c1bf8;hpb=0a415da9b78a2d0074ba0a193b196f1f600e95a8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed98823566..9defa53984 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,438 @@ +2000-06-08 Kevin Buettner + + * config/ia64/nm-linux.h (U_REGS_OFFSET): Define. + +2000-06-08 Fernando Nasser + + * configure.in: Replace misplaced CONFIG_ADD by the correct + CONFIG_CLEAN. + * configure, config.in: Regenerate. + +2000-06-08 Fernando Nasser + + * values.c (value_primitive_field): Copy VALUE_REGNO as well. + With typed registers we may have the location information in this field, + in addition to VALUE_ADDRESS (which was already being copied). + +Thu Jun 8 15:26:44 2000 Andrew Cagney + + * config/mips/tm-mips.h (GDB_MULTI_ARCH): Define as 1. + (CALL_DUMMY, TARGET_BYTE_ORDER_SELECTABLE_P, + COERCE_FLOAT_TO_DOUBLE): Delete. + * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h, + config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h, + config/mips/tm-vr4100.h, config/mips/tm-tx39l.h + config/mips/tm-tx39.h, config/mips/tm-irix5.h: Delete + GDB_MULTI_ARCH. + + * config/mips/tm-mips64.h (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, + TARGET_PTR_BIT): Delete definitions. + * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h, + config/mips/tm-tx39l.h, config/mips/tm-vr4100.h, + config/mips/tm-tx39.h: Delete definition of MIPS_EABI. + * mips-tdep.c (mips_gdbarch_init): Use the ISA to determine the + ABI. If all else fails, assume O32. + + * TODO, NEWS: Update. Mention MIPS is multi-arch. + +Thu Jun 8 14:23:12 2000 Andrew Cagney + + * config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h, + config/mips/tm-vr4100.h, config/mips/tm-tx39l.h, + config/mips/tm-tx39.h: Delete definition of + MIPS_DEFAULT_FPU_TYPE. Enable multi-arch. + * mips-tdep.c: (mips_gdbarch_init): The bfd_mach_mips3900 has no + FPU. bfd_mach_mips4650 FPU is single precision. + + * config/mips/tm-mips.h (MIPS_FPU_SINGLE_REGSIZE): + (MIPS_FPU_DOUBLE_REGSIZE): Move from here. + * mips-tdep.c: To here. Change to an enum. + +Wed Jun 7 18:27:51 2000 Andrew Cagney + + * configure.in (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Use config.bfd + to determine the default architecture / target. + * acconfig (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Add. + * configure, config.in: Regenerate. + + * arch-utils.c (set_endian): Better separate multi-arch and non- + multi-arch cases. + (set_endian_from_file): Call internal_error when multi-arch. + (initialize_current_architecture): Rewrite logic selecting a byte + order. Use DEFAULT_BFD_ARCH DEFAULT_BFD_VEC. + (version.h): Include. + + * config/mips/tm-mips.h, config/mips/tm-bigmips64.h, + config/mips/tm-bigmips.h: Delete definition of + TARGET_BYTE_ORDER_DEFAULT. + +Thu Jun 8 11:41:41 2000 Andrew Cagney + + * infrun.c (follow_inferior_fork): Bad merge from below. Compare + strings using follow_fork_mode_ask and not "ask". + +Wed Jun 7 15:13:04 2000 Andrew Cagney + + * command.h (add_set_enum_cmd): Make ``enumlist'' and ``var'' + constant char pointers. + (complete_on_enum): Change ``enumlist'' to a constant char + pointer. + (struct cmd_list_element): Ditto for member ``enums''. + * command.c (complete_on_enum, add_set_enum_cmd, + do_setshow_command): Update. + + * infrun.c (follow_fork_mode_ask, follow_fork_mode_parent, + follow_fork_mode_both, follow_fork_mode_child): New. Use to + construct the follow_fork_mode_kind_names. + (set_follow_fork_mode_command): Delete function. + (_initialize_infrun): Update. + (follow_inferior_fork): Do not strdup follow_fork_mode_string. + Use follow_fork_mode_* variables directly instead. Call + internal_error instead of error when unimplemented "ask" mode. + + * infrun.c (scheduler_enums, scheduler_mode, schedlock_off, + schedlock_on, schedlock_step): Update. + * serial.c (serial_logbase, logbase_hex, logbase_octal, + logbase_ascii, logbase_enums): Update. + * remote.c (packet_support_enums, packet_support_auto, + packet_enable, packet_disable, struct packet_config): Update. + * arch-utils.c (initialize_current_architecture, + set_architecture_string): Update. + (endian_big, endian_little, endian_auto, endian_enum, + set_endian_string): Update. + * i386-tdep.c (valid_flavors, att_flavor, intel_flavor, + disassembly_flavor): Update. + * mips-tdep.c (size_enums, size_64, size_32, size_auto, + mips_stack_argsize_string, mips_saved_regsize_string): Update. + * arm-tdep.c (disassembly_flavor, valid_flavors): Update. + (_initialize_arm_tdep): Ditto. + + * TODO: Update. + +Mon Jun 5 18:44:14 2000 Andrew Cagney + + * thread.c (make_cleanup_restore_current_thread, + do_restore_current_thread_cleanup): New functions. + (thread_apply_all_command, thread_apply_command): Use. Call + do_cleanups when finished. + + * defs.h (make_cleanup_func): Delete typedef. + * TODO: Update. + +Wed Jun 7 11:34:54 2000 Andrew Cagney + + * arch-utils.c (target_byte_order, target_byte_order_auto, + show_endian, set_endian, set_endian_big, set_endian_little, + set_endian_auto, set_endian_from_file, enum set_arch, + target_architecture_auto, set_architecture_string, + target_architecture_hook, target_architecture, arch_ok, set_arch, + set_architecture_from_arch_mach, set_architecture_from_file, + show_architecture, set_architecture, info_architecture, + set_gdbarch_from_file, initialize_current_architecture): Copy from + gdbarch.c. Rewrite ``set architecture'' and ``set endian'' + commands to use enums. + (_initialize_gdbarch_utils): Fix name. + * arch-utils.h (set_architecture_from_arch_mach, + target_architecture_hook): Copy from gdbarch.h. + * gdbarch.sh: Update. + * gdbarch.h, gdbarch.c: Re-generate. + + * TODO: Update. + + * v850-tdep.c, sh3-rom.c, sh-tdep.c, i386-tdep.c: Include + "arch-utils.h". + * Makefile.in (v850-tdep.o): Specify dependencies. + (i386-tdep.o, sh3-rom.o, sh-tdep.o): Add arch-utils.h to + dependency list. + +2000-06-06 Michael Snyder + + * configure.in: Enable autoconf to find curses.h on Solaris 2.8. + * configure: Regenerate. + +Tue Jun 6 21:14:47 2000 Andrew Cagney + + * command.c (do_setshow_command): Accept an enum option immediatly + when it is an exact match. + +Tue Jun 6 16:46:37 2000 Andrew Cagney + + * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h, + config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h, + config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h, + config/mips/tm-vr4300.h, config/mips/tm-tx39l.h, + config/mips/tm-tx39.h, config/mips/tm-embedl64.h, + config/mips/tm-embedl.h, config/mips/tm-embed64.h, + config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P. + + * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1. + +Tue Jun 6 16:21:14 2000 Andrew Cagney + + * gdbarch.sh (generic_register_convertible_not, + frame_num_args_unknown): Move from here. + * arch-utils.c (generic_register_convertible_not, + frame_num_args_unknown): To here. + * arch-utils.h (frame_num_args_unknown): Add declaration. + * gdbarch.h, gdbarch.c: Re-generate. + +Tue Jun 6 15:07:08 2000 Andrew Cagney + + * remote-mips.c (mips_open): Select the default monitor prompt + based on the target ISA. + + * config/mips/tm-vr4100.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr4300el.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr4300.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr4xxx.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr4xxxel.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr5000el.h (TARGET_MONITOR_PROMPT), + config/mips/tm-vr5000.h (TARGET_MONITOR_PROMPT), + config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Delete macro. + +2000-06-05 Daniel Berlin + + * c-exp.y (yylex): template handling fixes. + +2000-06-03 Daniel Berlin + + * symtab.h (VTBL_PREFIX_P): Add newer g++ vtbl prefix to prefix + list. + + * symtab.c (lookup_partial_symbol): Change to stop forcing linear + searches on C++ when we fail the binary search, by doing the + binary search right. + +2000-05-30 Daniel Berlin + + * buildsym.c (hashname): Change to use hash function from bcache.c/.h + + * bcache.c (hash): Change to newer hash function. + + * bcache.h (hash): Prototype for hash function + + * dwarf2read.c (TYPE_HASH_SIZE): New define for controlling size + of type hash. + (dwarf2_cached_types): New variable that is the cached types. + (tag_type_to_type): Do the actual caching of types here. + +2000-06-05 Mark Kettenis + + * acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS): + Renamed from HAVE_R_FS. + (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS. + * configure, config.in: Regenerated. + +Sun Jun 4 14:00:01 2000 Andrew Cagney + + * TODO: Update. Mention GNU/Linux/SPARC problems. + +Wed May 31 21:41:37 2000 Andrew Cagney + + * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Change buf + to a void pointer. Update initial values. + * gdbarch.h, gdbarch.c: Re-generate. + + * findvar.c (address_to_signed_pointer, + signed_pointer_to_address): New functions. + * inferior.h (signed_pointer_to_address, + signed_address_to_pointer): Declare. + + * inferior.h, findvar.c (unsigned_pointer_to_address, + address_to_unsigned_pointer): Rename generic_address_to_pointer + and generic_pointer_to_address. Update signatures to match + gdbarch changes. + + * config/mips/tm-mips.h (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): + Define. MIPS has signed pointers. + + * defs.h, utils.c (host_pointer_to_address, + address_to_host_pointer): New functions. + * irix5-nat.c (next_link_map_member, first_link_map_member), + procfs.c (proc_set_watchpoint, proc_iterate_over_mappings): Use. + + * irix5-nat.c (solib_map_sections, symbol_add_stub): Change + function signature to match catch_errors_ftype. + + * TODO: Update. GDB builds using the IRIX native compiler. + +Sat Jun 3 20:43:59 2000 Andrew Cagney + + * defs.h (strsignal, safe_strsignal): Delete declarations. + * utils.c (safe_strsignal): Delete. + * corelow.c (core_open): Replace save_strsignal with + target_signal_to_string + target_signal_from_host. + * TODO: Document problems with target_signal_from_host. + +2000-06-03 Kevin Buettner + + * annotate.c, annotate.h, breakpoint.c, command.c, command.h, + config/rs6000/tm-rs6000.h, corefile.c, d10v-tdep.c, + d30v-tdep.c, dbxread.c, dcache.c, dcache.h, dsrec.c, + dve3900-rom.c, exec.c, fork-child.c, gdbcore.h, hpux-thread.c, + language.h, linux-thread.c, mdebugread.c, monitor.h, ocd.c, + procfs.c, ptx4-nat.c, remote-sim.c, remote-utils.h, remote.c, + rs6000-tdep.c, ser-ocd.c, sol-thread.c, sparcl-tdep.c, + stabsread.h, stack.c, symfile.c, symfile.h, symtab.h, + target.c, target.h, top.c, tracepoint.c, tracepoint.h, + tui/tui.h, tui/tuiIO.c, utils.c, v850ice.c, varobj.c, + win32-nat.c, wince.c, xcoffsolib.c, xcoffsolib.h: Eliminate + PARAMS from function pointer declarations. + +2000-06-03 Christopher Faylor + + * win32-nat.c (safe_symbol_file_add_cleanup): Ensure that gdb_stderr is + flushed before deleting and restoring it. + (safe_symbol_file_add): Ensure that gdb_stderr is flushed before + reassigning it. + (handle_load_dll): Split into two functions so that WFI can handle + shared library events. + (child_solib_loaded_library_pathname): New function. + (child_clear_solibs): New function. Clears shared library list. + (child_solib_add): New function. Adds shared library symbols. + (dll_symbol_command): New function. Handles "dll-symbol" command. + (info_dll_command): New function. Handles info + "sharedlibrary" command. + (handle_exceptions): Eliminate 'ignore_trap' argument. + (get_child_debug_event): Eliminate two arguments. Return "pid" when + appropriate. Break out on most events to allow WFI to handle stuff. + (child_wait): Accomodate get_child_debug_event changes. + (child_attach): Clear thread list and list of loaded dlls. + (child_create_inferior): Clear list of loaded dlls. Use + wait_for_inferior in a loop to look for first "trap". + (child_resume): Avoid accessing a possibly-freed thread pointer. + (_initialize_inftarg): Add "dll-symbols", "sharedlibrary", and "info + sharedlibrary" commands. + * config/i386/tm-cygwin.h: Add some shared library (aka DLL) hooks. + +2000-06-02 Christopher Faylor + + * win32-nat.c: Fix up gcc warnings throughout. + (handle_load_dll): Change DLL name to lower case. + (handle_exception): Add a second argument indicating whether a + breakpoint should be ignored. Return a 0 if the breakpoint was + ignored. + (get_child_debug_event): Pass argument to handle_exception to control + whether a breakpoint should be ignored. + (child_create_inferior): Use modern cygwin API. Explicitly clear + last_sig. Pass FIRST_EXCEPTION to get_child_debug_event for detection + of first breakpoint. + +2000-06-02 Christopher Faylor + + * configure.in: Detect correct versions of dlltool and windres when + cross-compiling. + * configure: Regenerate. + +2000-06-02 J.T. Conklin + + * configure.tgt: Add pattern for i[3456]86-*-netbsdelf*. + * config/i386/nbsdelf.mt: New file. + * config/i386/tm-nbsdelf.h: New file. + + * config/i386/tm-nbsd.h: change include of tm-nbsd.h to + the more explicit config/tm-nbsd.h. + +2000-06-02 Mark Kettenis + + * alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from + register number when used as index into fpr_regs array. + +Tue May 30 13:31:57 2000 Andrew Cagney + + * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT, + TARGET_LONG_DOUBLE_FORMAT): Delete. + + * gdbarch.sh: Add support for parameterized expressions. + (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT, + TARGET_LONG_DOUBLE_FORMAT): Add. Include "floatformat.h". + * gdbarch.h, gdbarch.c: Regenerate. + + * arch-utils.c (default_single_format, default_double_format, + default_long_double_format): New functions. Include + "floatformat.h" + * arch-utils.h: Declare. + + * d10v-tdep.c (d10v_gdbarch_init): Set floating point format. + Note that long double is 64 bit, the rest are 32 bit. Include + "floatformat.h". + +2000-06-02 Mark Kettenis + + * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define. + +2000-06-01 Michael Snyder + + * sol-thread.c (rw_common): Circumstances (eg. a bug in Sun's + thread_db library) may cause this function to be called with an + illegal address, in which case procfs_to_xfer_memory will + return zero. Return an error code instead of looping forever. + +Thu Jun 1 20:05:26 2000 Andrew Cagney + + * TODO: More suggestions added. + +2000-06-01 Klee Dienes + + * MAINTAINERS: Add Klee Dienes and Jim Ingham as maintainers for + Mac OS X and Objective C components (to be contributed). + +2000-05-31 J.T. Conklin + + * configure.host: Add patterns for i[3456]86-*-netbsdaout* + and i[3456]86-*-netbsdelf*. + * config/i386/nm-nbsdelf.h: New file. + * config/i386/nbsdelf.mh: New file. + + * config/i386/nm-nbsd.h: change include of nm-nbsd.h to + the more explicit config/nm-nbsd.h. + * config/i386/tm-nbsd.h: change include of tm-i386bsd.h to + tm-i386.h. + (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Define. + +2000-06-01 Mark Kettenis + + * NEWS: Mention FreeBSD/Alpha and FreeBSD/i386 3.x and up as new + native configurations. + + * i386bsd-nat.c: Include "gregset.h". + (CANNOT_STORE_REGISTER): Define to cannot_fetch_register instead + of CANNOT_FETCH_REGISTER, if not already defined. + (supply_gregset): Call supply_register with NULL as its second + argument instead of supplying our own zeroed out buffer. + (fill_gregset): Copy contents of correct registers instead of the + contents of register REGNO. + +2000-05-31 Kevin Buettner + + * gnu-regex.c (re_match_2_internal): Revert 2000-05-27 + patch which removed use of PARAMS from declaration. This + file should not have been touched as it is supposed to track + the version in glibc. + +2000-05-31 Mark Kettenis + + Add support for FreeBSD/Alpha. + * configure.host, configure.tgt (alpha*-*-freebsd*): New entry. + * alphabsd-nat.c, config/alpha/fbsd.mh, config/alpha/fbsd.mt, + config/alpha/nm-fbsd.h, config/alpha/tm-fbsd.h, + config/alpha/xm-fbsd.h: New files. + +2000-05-31 Pierre Muller + + * MAINTAINERS: Add myself to "Write After Approval" list. + +Tue May 30 18:48:33 2000 Andrew Cagney + + * TODO: Re-organize. + +Tue May 30 11:22:28 2000 Andrew Cagney + + * gdbarch.sh: Add field ``postdefault''. Rename fields + ``startup'' and ``default'' to ``staticdefault'' and + ``predefault''. Fix initialization of valid_p. Create/compare + gdbarch.log. + Mon May 29 22:47:16 2000 Andrew Cagney * config/sparc/nm-sun4sol2.h (GDB_GREGSET_T, GDB_FPREGSET_T): @@ -116,6 +551,24 @@ Mon May 29 15:41:10 2000 Andrew Cagney xcoffsolib.c, xmodem.h, z8k-tdep.c: Remove PARAMS from function declarations. +2000-05-26 Michael Snyder + + * gregset.h: New file. Typedefs for gdb_gregset_t and + gdb_fpregset_t, prototypes for supply_gregset and friends. + * procfs.c: Include gregset.h. Delete local prototypes for + supply_gregset etc., and local typedef gdb_gregset_t etc. + * sol-thread.c: Include gregset.h, delete local prototypes, + add appropriate casts to gdb_gregset_t. + * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, + sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, + m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, + irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, + arm-linux-nat.c, alpha-nat.c: Include gregset.h. + * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. + * config/sparc/nm-sun4sol2.h: Ditto. + * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE, + GDB_FPREGSET_TYPE): Delete (replaced by GDB_GREGSET_T etc.) + Thu May 25 16:56:05 2000 Andrew Cagney * configure.in (AC_CHECK_HEADERS): Check for ncurses.h.