+
+ * defs.h, utils.c (free_current_contents): Change parameter to
+ void*.
+
+ * printcmd.c (print_address_symbolic): Call `make_cleanup' with
+ `(free_current_contents, &x)', not `(free, x)'.
+ * utils.c (free_current_contents): Do not `free (NULL)'.
+
+ * printcmd.c (print_address_symbolic): Cleanup after a failed
+ call to build_address_symbolic.
+
+
+ * wince-stub.c (FREE): New macro.
+ (mempool): Just free any buffer prior to reuse. Don't bother with
+ realloc.
+ (flag_single_step): New function.
+ (skip_message): Detect "helpful" Windows CE messages and skip sending
+ them to the host.
+ (wait_for_debug_event): Use skip_message to avoid sending debug
+ messages to the host.
+ (dispatch): Prelimary implementation of single step detection.
+ * wince.c: Rework SH single stepping code to be more consistent with
+ other wince targets.
+ (handle_output_debug_string): Allow first chance exceptions to come
+ through since they seem to be all that we get on some versions of
+ Windows CE.
+ (check_for_step): New function, conditionally compiled based on target.
+ (regptr): Delete obsolete function.
+ (handle_exception): Detect illegal instructions.
+ (get_child_debug_event): Return success only if event code matches
+ target.
+ (child_create_inferior): Reflect change to get_child_debug_event
+ arguments.
+
+
+ * win32-nat.c (thread_rec): Be more defensive about suspending already
+ suspended threads.
+ (safe_symbol_file_add_stub): New function.
+ (safe_symbole_file_add_cleanup): New function.
+ (safe_symbol_file_add): New function.
+ (handle_load_dll): Use wrapper to add DLL symbol information to avoid
+ bogus errors from non-stabs DLLs.
+ (handle_exception): Add work around for detection of first exception
+ breakpoint which does not seem to occur on W2K. Detect more "signals"
+ that can be effectively passed to the debuggee. Reorganize to eliminate
+ continue_status global.
+ (child_continue): Reorganize to eliminate continue_status global.
+ (child_wait): Ditto.
+ (child_resume): Ditto.
+ (get_child_debug_event): Ditto. Recognize when an a breakpoint
+ exception should be ignored. Change method for signalling when an
+ important event has occured to the caller.
+ (child_create_inferior): Use new method for noticing when
+ get_child_debug_event has found something interesting.
+
+
+ * rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace()
+ fails due to lack of space.
+
+
+ * command.c, command.h (help_all): Add functionality to display
+ a complete listing of available commands.
+
+
+ * arm-linux-nat.c (PIDGET, TIDGET): New.
+ (get_thread_id, GET_THREAD_ID): New.
+ (fetch_nwfpe_register, store_nwfpe_register): New.
+ (fetch_register, store_register): New.
+ (fetch_fpregister, store_fpregister): New.
+ (fill_gregset, supply_gregset): New.
+ (fill_fpregset, supply_fpregset): New.
+ (fetch_fpregs): Modified to use thread id's.
+ (store_fpregs): Modified to use thread id's and
+ fetch_nwfpe_register.
+ (fetch_regs): Modified to use thread id's.
+ (store_regs): Modified to use thread id's.
+ (fetch_inferior_registers): Modified to handle single register
+ fetches.
+ (store_inferior_registers): Modified to handle single register
+ stores.
+ (arm_linux_register_u_addr): Removed.
+
+ * configure.tgt: Added gdbserver to configdirs for arm*-*-linux*.
+
+ * config/arm/linux.mh
+ (NATDEPFILES): Removed core-aout.o. Added core-regset.o.
+ (LOADLIBES): Define.
+
+ * config/arm/nm-linux.h: Include config/nm-linux.h.
+ (ATTACH_DETACH): Removed. Defined in config/nm-linux.h.
+ (REGISTER_U_ADDR): Removed.
+ (SVR4_SHARED_LIBS): Removed. Defined in config/nm-linux.h.
+ (#include "solib.h"): Removed. Included via config/nm-linux.h.
+
+
+ * infrun.c (follow_fork_mode_kind_names): NULL terminate
+ array. Re-indent.
+ (scheduler_enums): Ditto.
+
+
+ * gdbarch.sh: Make multi-arch variable defaults, defaults for non-
+ multi-arch targets.
+ (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS,
+ SIZEOF_CALL_DUMMY_WORDS): Update.
+
+ * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default
+ provided by gdbarch.
+ (CALL_DUMMY_P): Add FIXME. gdbarch should provide default.
+
+ * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
+
+
+ Bring RETURN_VALUE_ON_STACK under gdbarch's control.
+ * gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
+ * gdbarch.c, gdbarch.h: Regenerated.
+ * arch-utils.c (default_return_value_on_stack): New function.
+ * arch-utils.h (default_return_value_on_stack): New declaration.
+ * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
+
+ * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
+ two-dimensional array, instead of faking it with explicit index
+ arithmetic.
+
+ * minsyms.c (prim_record_minimal_symbol_and_info): Doc fix.
+ (Thanks to Guy Harris.)
+
+
+ * xcoffsolib.c (solib_add): Fix call to vmap_symtab().
+
+
+ * TODO: Update.
+
+
+ * TODO: Document -Wreturn-type problem.
+
+
+ * maint.c (_initialize_maint_cmds): Add `mt i' alias for `mt info'.
+
+
+ * infcmd.c (_initialize_infcmd): Add `info r' alias for
+ `info registers'.
+
+
+ * bcache.c (free_bcache): Do not free NULL.
+
+
+ * TODO: Cleanup.
+ * NEWS: Update GDB version. Duplicate paragraph explaining
+ obsolete.
+
+
+ * Makefile.in (distclean): Delete tui/Makefile.
+ * TODO: Add deletion of tui/Makefile.in to list.
+
+
+ * symfile.h (struct section_addr_info ): Remove fields for special
+ treatment of .text, .data and .bss sections.
+
+ * solib.c (symbol_add_stub): The special field text_addr is not
+ available anymore. Search for the .text field the hard way.
+
+ * symfile.c (build_section_addr_info_from_section_table): Don't
+ fill in {text, data, bss}_addr any more.
+ (default_symfile_offsets): Don't use {text, data, bss}_addr fields
+ to fill in section_offsets for objfile.
+ (syms_from_objfile): Don't deal with {text, data, bss}_addr as a
+ special case anymore.
+ (add_symbol_file_command): Ditto.
+
+
+ symfile.c: (symbol_file_command): Remove support for rombug, to
+ simplify code.
+
+
+ * symfile.c (add_symbol_file_command): Rewrite the arguments
+ processing part. Simplify syntax of command. Remove support for
+ rombug.
+ (_initialize_symfile): Update help message for add-symbol-file
+ command.
+
+
+ * gdbarch.sh (IEEE_FLOAT): Only dump when defined.
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+
+ * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
+ (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
+ (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
+ gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
+ FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
+ REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
+ REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
+ ADDRESS_TO_POINTER): Delete default definition. Handled by
+ gdbarch.
+
+ * gdbarch.sh: Make multi-arch defaults, defaults for non-
+ multi-arch targets.
+ (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
+ REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
+ D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
+ MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
+ REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
+ Provide default/legacy implementation.
+ (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
+ * gdbarch.h, gdbarch.c: Re-generate.
+
+
+ * findvar.c (store_typed_address, extract_typed_address): Fix
+ function names in error messages.
+
+
+ * config/djgpp/config.sed: Fix the lines which edit clean: and
+ uninstall-info: targets.
+
+
+ Bring IEEE_FLOAT under gdbarch's control.
+ * gdbarch.sh (IEEE_FLOAT): New entry.
+ * gdbarch.c, gdbarch.h: Regenerated.
+ * valprint.c (IEEE_FLOAT): Provide a default #definition for this.
+ (print_floating): Use IEEE_FLOAT as if it were an expression; use
+ the code specific to IEEE-format numbers whenever the value of
+ IEEE_FLOAT is non-zero.
+ * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
+ config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
+ config/h8300/tm-h8300.h, config/i386/tm-i386.h,
+ config/i960/tm-i960.h, config/m88k/tm-m88k.h,
+ config/mips/tm-mips.h, config/pa/tm-hppa.h,
+ config/sparc/tm-sparc.h, config/delta/tm-delta.h,
+ config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
+ IEEE_FLOAT, make sure they give it the value (1).
+
+ Provide the hooks needed to support architectures on which
+ pointers are not always simple byte addresses.
+
+ * gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two new
+ functions which architectures can redefine, defaulting to
+ generic_pointer_to_address and generic_address_to_pointer.
+ * findvar.c (extract_typed_address, store_typed_address,
+ generic_pointer_to_address, generic_address_to_pointer): New
+ functions.
+ (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default
+ definitions.
+ (extract_address, store_address): Doc fixes.
+ * values.c (value_as_pointer): Doc fix.
+ (value_from_pointer): New function.
+ * defs.h (extract_typed_address, store_typed_address): New
+ declarations.
+ * inferior.h (generic_address_to_pointer,
+ generic_pointer_to_address): New declarations.
+ * value.h (value_from_pointer): New declaration.
+
+ The following changes are all of the general form "Use these
+ functions instead of these other functions." In each case, the
+ change is because the new calls provide enough information to do
+ the appropriate address / pointer conversions, where the old calls
+ did not, or because the new functions are more appropriately named
+ for the operation being performed.
+
+ * ax-gdb.c (const_var_ref): Use value_from_pointer, not
+ value_from_longest.
+ * blockframe.c (generic_push_dummy_frame): Use read_pc and
+ read_sp, not read_register.
+ * c-valprint.c (c_val_print): Use extract_typed_address instead of
+ extract_address to extract vtable entries and references.
+ * cp-valprint.c (cp_print_value_fields): Use value_from_pointer
+ instead of value_from_longest to extract the vtable's address.
+ * eval.c (evaluate_subexp_standard): Use value_from_pointer
+ instead of value_from_longest to compute `this', and for doing
+ pointer-to-member dereferencing.
+ * findvar.c (read_register): Use extract_unsigned_integer, not
+ extract_address.
+ (read_var_value): Use store_typed_address instead of store_address
+ for building label values.
+ (locate_var_value): Use value_from_pointer instead of
+ value_from_longest.
+ * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer,
+ instead of value_from_longest, to build arguments to __d_shl_get.
+ * printcmd.c (set_next_address): Use value_from_pointer, not
+ value_from_longest.
+ (x_command): Use value_from_pointer, not value_from_longest.
+ * tracepoint.c (set_traceframe_context): Use value_from_pointer,
+ not value_from_longest.
+ * valarith.c (value_add, value_sub): Use value_from_pointer, not
+ value_from_longest.
+ * valops.c (find_function_in_inferior, value_coerce_array,
+ value_coerce_function, value_addr, hand_function_call): Same.
+ * value.h (COERCE_REF): Use unpack_pointer, not unpack_long.
+ * values.c (unpack_long): Use extract_typed_address to produce
+ addresses from pointers and references, not extract_address.
+ (value_from_longest): Use store_typed_address instead of
+ store_address to produce pointer and reference values.
+
+
+ * acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T,
+ HAVE_PSADDR_T): Add them here instead of in config.in.
+
+ * acconfig.h (PRFPREGSET_T_BROKEN): New define.
+ * configure.in: Add check for broken prfpregset_t type.
+ * lin-thread.c (gdb_prfpregset): New typedef, depends on
+ definition of PRFPREGSET_T_BROKEN.
+ (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs,
+ p_td_thr_setfpregs, thread_db_fetch_registers,
+ thread_db_store_registers): Use gdb_prfpregset_t instead of
+ prfpregset_t.
+ * config.in: Regenerated.
+ * configure: Regenerated.
+
+
+ * mips-tdep.c (do_fp_register_row): copy the number of bytes
+ allocated, not the size of the pointer.
+
+
+ * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
+ * config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define.
+ * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code
+ to handle floating point registers if NUM_FREGS is not zero.
+
+
+ * sol-thread.c (init_sol_core_ops): Initialize to_thread_alive
+ and document to_find_new_threads bug.
+
+
+ * infrun.c (proceed, normal_stop): Change the error message about
+ failure to insert breakpoints/watchpoints so that it makes sense
+ even if ptrace is not used or no other processes can be active.
+
+
+ * configure.in: Add --enable-maintainer-mode.
+ * aclocal.m4, configure: Re-generate.
+
+ * Makefile.in ($(srcdir)/copying.c): Enable dependencies only when
+ on maintainer-mode. Update copying.c in source directory.
+ (copying.txt): Delete rule.
+ (copying.o): Add explict paths to $(srcdir) and explicit make
+ rule.
+
+
+ * ia64-linux-nat.c (IA64_PSR_DB, IA64_PSR_DD): Define.
+ (fetch_debug_register, fetch_debug_register_pair,
+ store_debug_register, store_debug_register_pair, is_power_of_2,
+ enable_watchpoints_in_psr, ia64_linux_insert_watchpoint,
+ ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
+ New functions.
+ * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS,
+ TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
+ STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
+ target_remove_watchpoint): Define.
+ (ia64_linux_stopped_by_watchpoint, ia64_linux_insert_watchpoint,
+ ia64_linux_remove_watchpoint): Declare.
+
+
+ * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
+ hardware breakpoint resources, return EBUSY.
+ (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
+ one of the enumerated values, return EINVAL.
+
+
+ * README: Mention special build instructions for DJGPP.
+ * NEWS: Update with FP features on x87 platforms, and
+ DJGPP-related changes.
+
+
+ * top.c (gdb_completer_file_name_break_characters): New variable.
+ (line_completion_function): When completing on file names, use
+ gdb_completer_file_name_break_characters as word break
+ characters for the readline library.
+
+
+ * i387-tdep.c (print_i387_value): Avoid call to
+ floatformat_to_doublest if long double type is the same on host
+ and target.
+
+
+ * wrapper.h: Remove definitions of internal functions.
+ * wrapper.c: Remove definitions of exported functions (which are
+ already in wrapper.h) and make static all internal wrap_* functions.
+
+
+ * acconfig.h (USE_INCLUDED_REGEX): Add.
+ * Makefile.in (REGEX_CFLAGS): Delete
+ * configure.in (REGEX_CFLAGS): Delete. Use AC_DEFINE instead.
+ * configure, config.in: Re-generate.
+
+
+ * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to
+ arm-linux-tdep.c.
+ * arm-linux-tdep.c (arm_skip_solib_resolver): New.
+
+
+ * command.h (enum command_class): Remove trailing "," to placate
+ AIX xlc.
+
+
+ * TODO, NEWS: Update. Mention MI.
+
+
+ * gdbarch-utils.h, gdbarch-utils.c: Delete.
+ * arch-utils.h, arch-utils.c: New files. Avoid 14 character file
+ name problems.
+ * Makefile.in: Update.
+ * gdbarch.c: Update.
+
+
+ * mips-tdep.c (saved_gpreg_size_enums): Define enum command for
+ new "set mips saved-gpreg-size" command
+ (MIPS_SAVED_REGSIZE): Now a function mips_saved_regsize()
+ (MIPS_DEFAULT_SAVED_REGSIZE): Define for default MIPS_SAVED_REGSIZE,
+ either from target, or gdb multi-arch
+ (show_mips_command): New. For "show mips" prefix command
+ (set_mips_command): New. For "show mips" prefix command
+ (_initialize_mips_tdep): Add top-level mips prefix command
+ Add "set mips saved-gpreg-size" command
+
+ * mips-tdep.c (struct gdbarch_tdep): Rename mips_saved_regsize to
+ mips_default_saved_regsize.
+ (mips_gdbarch_init): Update.
+ (MIPS_DEFAULT_SAVED_REGSIZE): Update.
+ (mips_gdbarch_init): Use MIPS_REGSIZE as the default value for
+ mips_default_saved_regsize.
+
+
+ * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
+ replace calls to target_xfer_memory() with target_read_memory()
+ and target_write_memory().
+
+
+ * valops.c (value_rtti_type): Compare VALUE_ADDRESS with ``0'' not
+ NULL. Macro returns a CORE_ADDR.
+
+
+ * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.
+ Don't include "bfd-elf.h".
+ (address_significant_size): Delete variable.
+ (dwarf2_build_psymtabs_hard): Don't set it, or check for
+ consistency between it and the Dwarf 2 compilation unit header
+ address size.
+ (read_address): Don't mask off bits above
+ address_significant_size.
+ * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h).
+ (elf_bfd_h): Remove variable; it's no longer used.
+
+
+ * configure.in (NEW_PROC_API): Escape square brackets when testing
+ for solaris2.[678].
+ * configure: Regenerate.
+
+
+ * ChangeLog: Correct date on last entry.
+ * arm-linux-tdep.c (arm_linux_push_arguments): New function.
+ * config/arm/tm-linux: Redefined PUSH_ARGUMENTS for Linux.
+ * config/arm/tm-embed: Fix build warning from redefinition of
+ LOWEST_PC.
+ * config/arm/tm-arm.h: Remove TARGET_BYTE_ORDER_SELECTABLE.
+ * config/arm/tm-wince.h: Remove TARGET_BYTE_ORDER_SELECTABLE and
+ TARGET_BYTE_ORDER. Add TARGET_BYTE_ORDER_SELECTABLE_P to
+ override default in tm-arm.h. Use default target byte order
+ from tm-arm.h.
+
+
+ * Makefile.in: Add dependency information for arm-linux-tdep.c.
+ * config/djgpp/fnchange.lst: Add arm-linux-tdep.c, arm-linux-nat.c.
+
+
+ * sol-thread.c (gdb_ps_addr_t): New typedef, depends on definition
+ of PROC_SERVICE_IS_OLD.
+ (ps_pglobal_lookup, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite,
+ rw_common): Change argument type from psaddr_t to gdb_ps_addr_t.
+
+
+ * Makefile.in (CFLAGS): Set using configure.
+
+ * configure.in (WARN_CFLAGS): Enable by default when GCC.
+ * configure: Re-generate.
+
+
+ * procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and
+ procfs_ops.to_has_all_memory to 1.
+
+ * TODO: Update
+
+
+ * configure.in (_MSE_INT_H): Define on Solaris 7.
+ (NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
+ * acconfig.h (_MSE_INT_H): Define on Solaris 7.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+
+ * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
+ Change to rely on PIDGET etc.
+ * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
+ TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
+ STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
+ define. Allow target to use procfs hardware watchpoints.
+ * config/sparc/nm-sun4sol2.h: ditto.
+ * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
+ definitions to use 16 bits for the pid, 15 bits for the tid, and
+ 1 bit for the flag.
+ * config/sparc/tm-sun4sol2.h: ditto.
+ (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
+ * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
+ for more than 15 thread increments.
+
+
+ * top.c (filename_completer): Set subsequent_name to 1 early on,
+ to prevent an infinite loop if the first file in the directory is
+ a backup file (whose name ends in a `~').
+
+
+ * solib.c (update_solib_list): New function.
+ (solib_add): Call update_solib_list, and then read symbols.
+ (info_sharedlibrary_command): Call update_solib_list, not
+ solib_add.
+
+
+ * arm-linux-tdep.c: Resolve implicit function declarations by
+ including target.h and value.h. Inclusion of symtab.h is
+ no longer needed.
+
+
+ * arm-linux-tdep.c: New file.
+ * arm-linux-nat.c (fetch_fpregs): Remove unused code.
+ (arm_get_longjmp_target): Moved it and all defines
+ it uses to arm-linux-tdep.c.
+ (arm_linux_extract_return_value): Moved to
+ arm-linux-tdep.c.
+ * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
+
+
+ * infrun.c (handle_inferior_event): Call target_mourn_inferior
+ instead of kill_target.
+
+
+ * TODO: Make note of various C++ things i have planned for 5.1.
+
+
+ * printcmd.c (print_scalar_formatted): Use local variable ptr_bit
+ in shift. Stop GCC thinking it has a shift overflow.
+
+
+ * TODO: Remove the regex entry.
+
+
+ * gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
+ is defined and <regex.h> otherwise.
+
+ * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
+ * monitor.c: Likewise.
+ * osfsolib.c: Likewise.
+ * solib.c: Likewise.
+ * source.c: Likewise.
+ * symtab.c: Likewise.
+
+ * Makefile.in (REGEX): Changed to @REGEX@.
+ (REGEX_CFLAGS): New.
+ (REGEX1): Removed.
+ (ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
+ (INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).
+
+ * configure.in (--with-included-regex): New switch.
+ (REGEX): New. Subsstitue @REGEX@ in Makefile.in.
+ (REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
+ * configure: Regenerated.
+
+
+ * NEWS (powerpc-*-linux*): Mention.
+
+
+ * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.
+
+
+ * Makefile.in (ALLDEPFILES): Add ia64-linux-nat.c and ia64-tdep.c.
+ (ia64-linux-nat.o, ia64-tdep.o): Add dependencies.
+
+ * ia64-linux-nat.c (fill_gregset): Implement.
+ (supply_fpregset, fill_fpregset): New functions.
+
+ * ia64-tdep.c (ia64_init_extra_frame_info): Revise manner in
+ which the CFM is fetched for certain frames.
+ (find_global_pointer, find_extant_func_descr): Don't use
+ partial symtabs for locating sections.
+
+ * config/ia64/linux.mh (LOADLIBES): Define.
+ (NATDEPFILES): Add linux-thread.o and lin-thread.o.
+ * config/ia64/nm-linux.h (nm-linux.h): Include this upper-level
+ file containing generic linux declarations/definitions.
+ (SVR4_SHARED_LIBS, ATTACH_DETACH): Remove defines; already
+ defined in generic nm-linux.h.
+ (solib.h): Remove include; already included in generic nm-linux.h.
+
+
+ * solib.c (solib_add): Move all the code for loading symbol tables
+ below the code to sort out additions and removals. That way, we
+ always catch all loaded shared libraries whose symbols we haven't
+ grabbed yet.
+
+ * solib.c (solib_add): Don't try to free a shared object's objfile
+ if it doesn't have one. Duh.
+
+ * solib.c (solib_add): If a pattern was given, but it doesn't
+ match any currently loaded shared libraries, print a message;
+ don't just be silent.
+
+
+ * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
+ two-dimensional array instead of faking it with index
+ arithmetics.
+
+
+ * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
+
+ * config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
+ definition (and use the common one in tm-i386.h).
+ (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
+ (I386_DJGPP_TARGET): Don't define, it's no longer required.
+ (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
+ i386-tdep.c defines it for all x86 targets.
+ (LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.
+
+ * config/djgpp/fnchange.lst: Add i386-linux-tdep.c.
+
+ * config/djgpp/djcheck.sh: Edit the copyright year out of the test
+ results. Fix editing of `main' arguments for non-GNU Sed.
+
+
+ * symfile.c (map_overlay_command, unmap_overlay_command): Fix
+ error message: there's no "overlay on" command.
+
+
+ * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
+ (copying.txt): New target, a link to COPYING.
+
+
+ * TODO: Update.
+
+
+ * top.c: Re-indent.
+ (set_hook, error_hook): Remove PARAMS.
+
+
+ * symtab.h (add_minsym_to_demangled_hash_table): Revert 2000-03-29
+ * minsyms.c (add_minsym_to_demangled_hash_table): Add prototype.
+
* gdb-events.h, gdb-events.c, gdb-events.sh: Re-indent.
* remote.c (remote_threads_extra_info): Replace qfThreadExtraInfo
with qThreadExtraInfo.
-
- * i386nbsd-nat.c (fetch_core_registers): Make static.
-
- * m68knbsd-nat.c (fetch_core_registers): Make static.
- (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
-
+
+ * i386nbsd-nat.c (fetch_core_registers): Make static.
+
+ * m68knbsd-nat.c (fetch_core_registers): Make static.
+ (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.
+
* TODO: Update GDB 5 status.
* procfs.c (proc_set_watchpoint): Declare addr parameter as
CORE_ADDR, to match call from procfs_set_watchpoint.
- * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
- Reselect the saved frame silently after frame selection for
+ * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
+ Reselect the saved frame silently after frame selection for
watchpoint evaluation.
(insert_breakpoints): Add missing space in `Hardware watchpoint
deleted' message. Do not reinsert hardware watchpoint if it is
* acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
* config.h: Regenerate.
-
+
* TODO: Update. Add criteria for next release of GDB.
* config/tm-cygwin.h: Eliminate special frame handling. Just use
normal i386 handling.
-
- * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
- * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
- (fetch_core_registers): Read fp registers.
- (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
-
+
+ * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
+ * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
+ (fetch_core_registers): Read fp registers.
+ (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.
+
* arm-tdep.c (thumb_skip_prologue): Take function end addr argument
`moveml to (fp + displacement)'.
* m68/tm-delta68.h (IN_SIGTRAMP): New macro.
(FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
-
+
- * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
-
+ * MAINTAINERS: Add Fernando Nasser to testsuite maintainers.
+
* solib.c (open_symbol_file_object): To sneak an int argument
deprecated, warns user if appropriate.
(add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
return values from void to struct cmd_list_element *.
- * command.c (lookup_cmd_1): Check aliases before following link
+ * command.c (lookup_cmd_1): Check aliases before following link
in case user needs to be warned about a deprecated alias.
(deprecate_cmd): new exported function for command deprecation,
sets flags and posibly a replacement string.
(deprecated_cmd_warning): New exported funciton to warn user about
- a deprecated command.
+ a deprecated command.
(lookup_cmd_composition): New exported function that determines
alias, prefix_command, and cmd based on a string. This is useful
is we want to full name of a command.
* configure.in (CONFIG_INITS): Do not append remote-nrom.c
-
- * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
- * i386nbsd-nat.c: New file.
-
- * i386/tm-nbsd.h (NUM_REGS): Removed.
- (HAVE_I387_REGS): Defined.
- * i386/nm-nbsd.h (FLOAT_INFO): Removed.
-
- * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
- SVR4_SHARED_LIBS.
+
+ * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
+ * i386nbsd-nat.c: New file.
+
+ * i386/tm-nbsd.h (NUM_REGS): Removed.
+ (HAVE_I387_REGS): Defined.
+ * i386/nm-nbsd.h (FLOAT_INFO): Removed.
+
+ * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
+ SVR4_SHARED_LIBS.
(bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
remove, or check status of hardware watchpoints for entire structs
and arrays unless the user explicitly asked to watch that struct
- or array.
+ or array.
(insert_breakpoints): Try to insert watchpoints for all the values
on the value chain, even if some of them fail to insert.
Implement the extra thread info query for "info threads".
(remote_threads_info): Clean up a bit.
(use_threadinfo_query, use_threadextra_query): New variables.
- Control whether GDB will use the new or old protocol for
+ Control whether GDB will use the new or old protocol for
thread info queries.
(remote_open_1): Initialize new variables.
(remote_async_open_1): Ditto.
* config/i386/tm-linux.h (I386_LINUX_SIGTRAMP): No need to define
this any more, since we're not enabling OS-specific code in a
OS-independent file.
-
+
* Makefile.in (go32-nat.o): Add prerequisites.
* solib.c (special_symbol_handling): Delete argument; it's not
used.
-
+
* solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
- Add support for a variable object that tries to evaluate itself in
+ Add support for a variable object that tries to evaluate itself in
the currently selected frame, rather than in a fixed frame.
-
+
* wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
gdb_parse_exp_1.
- * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
+ * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
of varobj_create.
* varobj.c (varobj_list): Return type indicates whether the
variable's type has changed (for current frame variables).
(varobj_update): Handle the case where the variable's type has
changed.
- (delete_variable_1): Allow for deletion of variables that have not
+ (delete_variable_1): Allow for deletion of variables that have not
been installed yet.
(new_root_variable): Initialize use_selected_frame variable.
- (value_of_root): This is where most of the work to handle "current
+ (value_of_root): This is where most of the work to handle "current
frame" variables was added. Most of the complexity involves
handling the case where the type of the variable has changed.
(varobj_create): Add a "type" argument, to tell if the
variable is one of these "current frame" variables. Also protect
call to parse_exp_1 from long jumping.
-
+
* go32-nat.c (struct env387): Remove declaration.
* gdbtypes.c (rank_one_type): Add comment on how to eliminate the
#ifdef DEBUG_OLOAD.
-
+
* gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
other function typedefs. Document as not be used out side of
make_cleanup code. Use in make_cleanup declarations.
(null_cleanup): Replace PTR with void*.
-
+
* utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
null_cleanup): Change K&R definition to ISO-C using void* and
(all-gdbtk, clean-gdbtk): New targets.
(all): Add CONFIG_ALL as dependency.
(clean): Add CONFIG_CLEAN as dependency.
-
+
* configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
(LN_S): Define. Delete GDBtk's link code.
- * MAINTAINERS: Daniel Berlin is C++ maintainer.
+ * MAINTAINERS: Daniel Berlin is C++ maintainer.
Solaris/x86.
-
+
* remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
- * remote-rdi.c (arm_rdi_close): Ditto.
+ * remote-rdi.c (arm_rdi_close): Ditto.
as in the Linux kernel. Modified prototype to get rid of
unused parameters.
(store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
- naming convention as in the Linux kernel. Fixed calls to
+ naming convention as in the Linux kernel. Fixed calls to
fetch_nwfpe_*.
(store_fpregs): Fixed calls to store_nwfpe_*. Removed
- unused variable.
+ unused variable.
* configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
$(SUBDIR_*_INSTALL) when so configured.
* configure: Regenerate.
-
+
* Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
configure.
(install-only): Add dependency on $(CONFIG_INSTALL). Delete code
* configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
* configure: Regenerate.
-
+
* configure.tgt: Add arm, mips, sh wince targets.
interface.
* configure: Regenerate.
-
+
* Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
(CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
Kingdon.
* MAINTAINERS: Add Nick Clifton to write after approval list.
-
+
* MAINTAINERS: Add note on multiple maintainers.
code to also handle the PowerOpen ABI.
(ppc_push_return_address): Enable for all ports.
* config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
- PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
+ PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
provided by generic RS6000 definitions so that call dummies
-
+
* rs6000-tdep.c (skip_prologue): skip copying of argument
registers to local variable registers.
* configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
configdirs.
* gdbserver/low-nbsd.c: New file.
-
+
* gdbserver/Makefile.in: convert to autoconf.
* gdbserver/configure.in: likewise.
* gdbserver/configure: generate.
* ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
``struct gdb_file'' to ``struct ui_file''. Delete typedef
GDB_FILE.
-
+
* Makefile.in: Update.
* ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
fputs_unfiltered_hook):
Moved to tui/tui-file.c and tui/tui-file.h.
-
+
* Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
(tui-file.o, gdb-file.o): Add dependencies.
(corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
* infrun.c (normal_stop): Use enum values rather than integers for the
source_flag to be passed to show_and_print_stack_frame().
Update copyright.
-
+
* frame.h (print_what): New enum for 'source' argument to
print_frame_info_base(). Use this instead of obscure numbers.
Update copyright.
-
+
* event-top.c (stdin_event_handler): call quit_command rather than
(proc_flags): combine flags that UnixWare splits into two locations.
(proc_modify_flag): add support for PR_KLC (kill on last close).
(proc_[un]set_kill_on_last_close): new functions.
-
+
* infrun.c (normal_stop): Print out thread id when we stop.