+
+ * 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.
+
+
+ * gdbtypes.c (safe_parse_type): New wrapper function to ignore
+ error() during parse_and_eval_type().
+ (check_stub_method): Call safe_parse_type instead of
+ parse_and_eval_type().
+ * wrapper.c (gdb_parse_and_eval_type): New wrapper function.
+ (wrap_parse_and_eval_type): New support function.
+ * wrapper.h (gdb_parse_and_eval_type): Prototype.
+ (wrap_parse_and_eval_type): Prototype.
+
+
+ * MAINTAINERS: Eli Zaretskii is a doco maintainer.
+
+
+ * gdbarch-utils.h, gdbarch-utils.c: New files.
+ * Makefile.in (SFILES, COMMON_OBS): Update.
+ (gdbarch_utils_h) Define.
+ (gdbarch-utils.o): Add dependencies.
+
+ * gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
+ handling default method values.
+ (startup_gdbarch): Rename default_gdbarch, name misleading.
+ (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
+ (register_name): Default to legacy_register_name.
+ (call_dummy_words): Default to legacy_call_dummy_words.
+ (sizeof_call_dummy_words): Default to
+ legacy_sizeof_call_dummy_words.
+ (register_convertible): Default to
+ generic_register_convertible_not.
+ (breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
+ (remote_translate_xfer_address): Default to
+ generic_remote_translate_xfer_address.
+ (frameless_function_invocation): Default to
+ generic_frameless_function_invocation_not.
+
+
+ * i386-linux-nat.c: Add copyright notice.
+
+ * config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
+ &floatformat_i387_ext.
+ * config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.
+
+
+ * findvar.c (extract_floating): Remove reference to
+ TARGET_EXTRACT_FLOATING.
+ (store_floating): Remove reference to TARGET_STORE_FLOATING.
+
+
+ * wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
+ Safe version of value_subscript.
+ * varobj.c (): Use gdb_value_subscript() to get an array element value.
+
+
+ * ui-file.c: Include "gdb_string.h"
+ * cli-out.c: Include gdb_string.h to avoid compiler warnings.
+ * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
+ unions, since they are all used to hold both pointers and ints
+ at various times. Casting pointer to int and vice versa gives
+ warnings (and is not safe) if they are not the same size.
+
+
+ * defs.h (struct continuation_arg): Make 'data' a union, to avoid
+ casting problems when int and pointer are not the same size.
+ * event-top.c (command_handler): Use data as a union.
+ (command_line_handler_continuation): Ditto.
+ * infcmd.c (step_1_continuation): Use data as a union. Re-indent.
+ (step_once): ditto. (finish_command_continuation): Ditto.
+ (finish_command): Ditto.
+ * breakpoint.c (until_break_command): Use data as a union.
+ (until_break_command_continuation): Ditto.
+ * utils.c (add_intermediate_continuation): Fix typo in comment.
+
+
+ * gdbarch.h, gdbarch.c: Re-indent. Remove FIXMEs.
+ * gdbarch.sh: Re-sync with gdbarch.[hc].
+
+
+ * minsyms.c (add_minsym_to_demangled_hash_table): New function.
+ (install_minimal_symbols): Fix demangled symbol problems caused by
+ using add_minsym_to_hash_table for the demangled names, which is
+ wrong. Now we use add_minsym_to_demangled_hash_table.
+ (lookup_minimal_symbol): Fix problems with demangled symbol lookup
+ caused by weird control flow.
+ * symtab.h: Add add_minsym_to_demangled_hash_table prototype here.
+
+
+ * configure.in: -linux-gnu*, not -linux-gnu.
+
+
+ * 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.
+
+
+ * TODO: Update GDB 5 status.
+
+
+ * breakpoint.h (remove_hw_watchpoints): Add declaration.
+ * breakpoints.c (remove_hw_watchpoints): Update.
+ * maint.c (maintenance_do_deprecate): Avoid assignment within IF
+ condition.
+
+
+ breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function.
+ infrun.c (resume): Remove hardware watchpoints before stepping
+ when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
+
+
+ * Makefile.in: Anchor tui-file.h dependency to $srcdir.
+
+
+ * 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
+ watchpoint evaluation.
+ (insert_breakpoints): Add missing space in `Hardware watchpoint
+ deleted' message. Do not reinsert hardware watchpoint if it is
+ already marked for deletion at next stop.
+
+
+ * partial-stab.h: Add one more check against corrupted or irregular
+ stabs entry.
+
+
+ * gnu-regex.c (regerror): Function renamed from `__regerror'.
+ (Change also approved in the mainline glibc sources)
+
+
+ * ser-unix.c (do_unix_readchar): Reorganise to be more robust,
+ particularly ensuring it can't return SERIAL_TIMEOUT when told
+ not to time out.
+
+
+ * gdbtypes.c (_initialize_gdbtypes): Add "set debug overload",
+ which never existed before, and thus, has no deprecated old command.
+
+ * gdbarch.c (_initialize_gdbarch): Add "set debug arch", deprecate
+ "set archdebug" (same goes for the show commands).
+ * gdb-events.c (_initialize_gdb_events): Add "set debug event",
+ deprecate "set eventdebug" (same goes for the show commands).
+ * gdbcmd.h: Add the setdebuglist and showdebuglist externs.
+ * top.c (init_main): Deprecate remotedebug, use "set/show debug remote"
+ instead.
+ x(init_main): Add the "set debug" and "show debug" commands.
+ Add setdebuglist and showdebuglist.
+
+
+ * maint.c (maintenance_do_deprecate): Fix crash if you call with no arguments, and fixed the warning.
+ Added prototype for the deprecate command so it doesn't complain.
+
+
+ * top.c (print_gdb_version): Bump copyright year to 2000.
+
+
+ * MAINTAINERS: Add Glen McCready to write after approval list.
+
+
+ * acconfig.h: Fix typo in comment describing HAVE_PTRACE_GETREGS.
+ * config.h: Regenerate.
+
+
+ * TODO: Update. Add criteria for next release of GDB.
+
+
+ * acconfig.h: Provide default for HAVE_PTRACE_GETREGS.
+ * config.h: Regenerate.
+
+
+ * Makefile.in (install-only): Create $(bindir) and $(man1dir)
+ before installing GDB.
+
+
+ * Makefile.in (all-gdbtk): Check for an existing link/directory.
+ Re-format warning message. Document that post 5.0 this can be
+ deleted.
+
+
+ * ChangeLog: Revert whitespace changes.
+
* MAINTAINERS: Update folks who need accounts.
- * solib.c (open_symbol_file_object): to sneak an int argument
+ * solib.c (open_symbol_file_object): To sneak an int argument
past catch_errors, instead of casting it to a pointer, simply
pass it by address.
paddr_t to psaddr_t. This mistake appears to date from an
erroneous man page in Solaris 2.5 -- the correct type from the
system headers has always been psaddr_t.
- (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto.
- (rw_common): ditto.
+ (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Ditto.
+ (rw_common): Ditto.
* 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.
- * remote.c (remote_threads_extra_info): new function.
+ * remote.c (remote_threads_extra_info): New function.
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
+ (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
thread info queries.
- (remote_open_1): initialize new variables.
- (remote_async_open_1): ditto.
- (remote_cisco_open): ditto.
+ (remote_open_1): Initialize new variables.
+ (remote_async_open_1): Ditto.
+ (remote_cisco_open): 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.