-2000-03-10 Daniel Berlin <dan@cgsoftware.com>
- Fix C++ overloading, add support for seeing through references.
+2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
- * defs.h (STREQ_IW): add STREQ_IW, like STREQ, except it's
- whitespace insensitive
+ From Philippe De Muyter <phdm@macqel.be>
+ * event-loop.c (sys/types.h): File now included unconditionally.
+ (use_poll): New variable..
+ (gdb_notifier): poll- and select-versions merged.
+ (add_file_handler): If HAVE_POLL, check whether poll is usable,
+ and reset `use_poll' if not.
+ (create_file_handler): Select poll- or select-version according to
+ `use_poll'.
+ (delete_file_handler, handle_file_event): Likewise.
+ (gdb_wait_for_event, poll_timers): Likewise.
+
+2000-03-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
+
+ * printcmd.c (print_scalar_formatted): Truncate addresses to the
+ size of a target pointer before passing them to print_address.
+
+2000-03-22 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
+ * config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
+ Remove
+ * i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
+ (i386_extract_return_value): Rewritten. Correctly support all
+ floating-point types and large integer types on targets that use
+ the standard i386 GDB register layout and return floating-point
+ values in the FPU.
+
+Wed Mar 22 15:09:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (CONFIG_INITS): Do not append remote-nrom.c
+
+2000-03-21 J.T. Conklin <jtc@redback.com>
+
+ * 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.
+
+Wed Mar 22 11:18:59 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * MAINTAINERS: Add Jim Blandy to breakpoint maintainers. David
+ taylor is the Solaris/SPARC maintainer. Add Jonathan Larmour to
+ the write after approval list.
+
+2000-03-21 Kevin Buettner <kevinb@redhat.com>
+
+ * symtab.h (MAX_SECTIONS, struct section_addr_info,
+ symbol_file_add): Move declarations from here...
+ * symfile.h: ...to here.
+
+ * solib.c (symbol_add_stub): Make symbol_file_add () aware of
+ all section addresses, not just .text.
+ * symfile.h, symfile.c (free_section_addr_info,
+ build_section_addr_info_from_section_table): New functions.
+
+ * symfile.h (MAX_SECTIONS): Increase value to 40.
+ * symfile.c (syms_from_objfile): Add bounds check prior to
+ accessing ``other'' array in a section_addr_info_struct.
+ Remove unused variable section_offsets.
+ (add_symbol_file_command): Remove unused variable text_addr.
+
+2000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * breakpoint.c (bpstat_stop_status): Don't stop if a read
+ watchpoint appears to break, but the watched value changed.
+
+2000-03-21 Jim Blandy <jimb@redhat.com>
+
+ * gdbarch.sh: Emit a definition and declaration for gdbarch_free,
+ a companion to gdbarch_alloc, which allows a gdbarch init function
+ to free partially-built gdbarch structures.
+ * gdbarch.c, gdbarch.h: Regenerated.
+
+2000-03-20 Kevin Buettner <kevinb@redhat.com>
+
+ * configure.host, configure.tgt (ia64-*-linux*): New entry.
+
+ * gdbserver/low-linux.c (u_offsets, ia64_register_u_addr,
+ initialize_arch): Define for IA-64.
+ (initialize_arch): Add declaration.
+
+2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * breakpoint.c (insert_breakpoints, remove_breakpoint)
+ (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.
+ (insert_breakpoints): Try to insert watchpoints for all the values
+ on the value chain, even if some of them fail to insert.
+
+ * values.c (value_primitive_field): Set the offset in struct value
+ we return when the field is a packed bitfield.
+
+2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ * 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
+ thread info queries.
+ (remote_open_1): initialize new variables.
+ (remote_async_open_1): ditto.
+ (remote_cisco_open): ditto.
+
+2000-03-20 Kevin Buettner <kevinb@redhat.com>
+
+ * ia64-linux-nat.c, ia64-tdep.c, config/ia64/linux.mh,
+ config/ia64/linux.mt, config/ia64/nm-linux.h, config/ia64/tm-ia64.h,
+ config/ia64/tm-linux.h, config/ia64/xm-linux.h: New files.
+
+2000-03-20 Kevin Buettner <kevinb@redhat.com>
+
+ * utils.c (floatformat_from_doublest): Don't assume that a long
+ will be exactly 32 bits in length. Also... make sure space
+ that we're writing the float to is completely initialized to
+ zeroes, even when the number of bits in the float is not
+ evenly divisible by FLOATFORMAT_CHAR_BIT.
+
+2000-03-20 Jim Blandy <jimb@redhat.com>
+
+ * i386-linux-nat.c: No need to #include "frame.h" any more.
+ (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
+ LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
+ LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
+ LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
+ LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
+ LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
+ linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
+ i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
+ i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
+ i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
+ i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
+ out that these are target-dependent, and useful in non-native
+ configurations. Moved to...
+ * i386-linux-tdep.c: ... Here, a new file.
+ * Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
+ (i386-linux-tdep.o): New rule.
+ (i386-linux-nat.o): We no longer depend on frame.h.
+ * config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
+
+2000-03-04 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * event-loop.c (top-level) [NO_FD_SET]: Deprecate this branch.
+ Print an error at compile time if we are to use select, but FD_SET
+ is not available.
+ (SELECT_MASK, NBBY, FD_SETSIZE, NFDBITS, MASK_SIZE): Define only
+ if HAVE_POLL is not defined and NO_FD_SET *is* defined.
+ (create_file_handler) [!HAVE_POLL]: Use FD_SET and FD_CLR.
+ (delete_file_handler) [!HAVE_POLL]: Use FD_CLR and FD_ISSET.
+ (gdb_wait_for_event) [!HAVE_POLL]: Copy fd_set sets directly
+ instead of using memcpy and memset. Use FD_ISSET.
+
+ * config/i386/xm-go32.h (fd_mask): Remove typedef.
+
+Mon Mar 20 19:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * command.c (_initialize_command): Document requirements for ``!''
+ command.
+
+Mon Mar 20 18:12:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From Fri 10 Mar 2000 Robert
+ <robert.melchers@drives.eurotherm.co.uk>:
+ * sh-tdep.c (sh_processor_type_table): Add entry for sh2.
+
+Mon Mar 20 17:33:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From Thu Mar 16 16:49:27 EST 2000 John David Anglin
+ <dave@hiauly1.hia.nrc.ca>:
+ * configure.in (CONFIG_INITS): Don't include hpux-thread.c. Stops
+ _initialize_hpux_thread being called twice.
+ * configure: Regenerated.
+
+2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * event-top.c (_initialize_event_loop): If instream is not
+ connected to a terminal device, turn editing off.
+
+2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
+
+ Support for building GDB with DJGPP, and running the test suite on
+ it:
+ * config/djgpp/djconfig.sh: New file.
+ * config/djgpp/config.sed: New file.
+ * config/djgpp/README: New file.
+ * config/djgpp/fnchange.lst: New file.
+ * config/djgpp/djcheck.sh: New file.
+
+2000-03-19 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * ser-go32.c (ports): Make the initializers complete, to pacify
+ GCC 2.9X.
+
+2000-03-17 Jim Blandy <jimb@redhat.com>
+
+ * i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a
+ two-dimensional array, instead of faking it with explicit index
+ arithmetic.
+
+ * linux-thread.c (linuxthreads_attach, linuxthreads_detach,
+ linuxthreads_create_inferior): Fix typo in variable name: it's
+ linuxthreads_exit_status, not linux_exit_status.
+
+ * gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
+ to W_STOPCODE.
+
+ * solib.c (solib_add): Delete debugging code.
+
+2000-03-17 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
+ * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.
+
+Fri Mar 17 11:06:59 2000 Philippe De Muyter <phdm@macqel.be>
+
+ * language.c (set_lang_str): Do not call `free' for a null pointer.
+ (set_type_str, set_range_str): Ditto.
+
+2000-03-16 Jim Blandy <jimb@redhat.com>
+
+ * i386-linux-nat.c (i386_linux_saved_pc_after_call): Lost in the
+ merge; reinstated.
+
+ * solib.c (current_sos): Be more careful about freeing the new
+ so_list node if an error occurs.
+
+ * i386-tdep.c (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
+ LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
+ LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
+ LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
+ LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
+ LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
+ linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
+ i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
+ i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
+ i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
+ i386_linux_sigtramp_saved_sp): Deleted. These all implement
+ Linux-specific signal trampoline detection, and should be moved
+ to...
+ * i386-linux-nat.c: ... here.
+ * 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.
+
+2000-03-16 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.in (go32-nat.o): Add prerequisites.
+ (ALLDEPFILES): Add go32-nat.c.
+
+2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
+ * symfile.c (reread_symbols): Clear msymbol hash table.
+
+2000-03-15 Jim Blandy <jimb@redhat.com>
+
+ Deal with the inferior unloading shared objects.
+ * solib.c (current_sos): New function, replacing find_solib.
+ (find_solib): Deleted.
+ (free_so): New function.
+ (clear_solib): Call free_so, instead of writing it out.
+ (solib_add): Rewritten: compare the inferior's current list of
+ shared objects with GDB's list, and do the required loads and
+ unloads.
+ (info_sharedlibrary_command, solib_address): Don't use find_solib
+ to walk the list of shared libraries: call solib_add, and then
+ walk the list at so_list_head normally.
+ * objfiles.c (free_objfile): Don't call CLEAR_SOLIB, and don't
+ detach the core target. These tasks are taken care of elsewhere.
+ * target.c (remove_target_sections): New function.
+ * target.h (remove_target_sections): New declaration.
+
+ * solib.c (symbol_add_stub): Check whether we've already created
+ an objfile for this shared object first, before doing all that
+ work to compute section addresses, etc.
+
+ * objfiles.c (unlink_objfile): Report an internal error if objfile
+ doesn't occur in the object_files list.
+
+ * solib.c (special_symbol_handling): Delete argument; it's not
+ used.
+
+ Changes from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
+
+ * solib.c (SOLIB_EXTRACT_ADDRESS): New macro to extract addresses
+ from solib structures. Use it throughout solib.c, get rid of all
+ CORE_ADDR casts.
+ (struct so_list): Change type of lmaddr to CORE_ADDR.
+ (first_link_map_member): Change return value type to CORE_ADDR,
+ update callers.
+ (solib_add_common_symbols): Change parameter type to CORE_ADDR,
+ update callers.
+ (open_symbol_file_object, find_solib): Change type of lm variable
+ to CORE_ADDR.
+
+2000-03-15 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * ser-go32.c (dos_noop, dos_raw, dos_noflush_set_tty_state)
+ (dos_print_tty_state, dos_info, _initialize_ser_dos): Convert
+ to ISO C. Use ATTRIBUTE_UNUSED to avoid compiler warnings.
+ (dos_info): Avoid compiler warning when printing a ptrdiff_t.
+
+ * ser-go32.c (dos_get_tty_state): Fail if the (fake) handle was
+ not opened by dos_open, but let the 3 standard handles go through
+ unharmed.
+
+2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * eval.c (evaluate_subexp_with_coercion): Add call to
+ check_typedef, to handle typedeffed vars correctly.
+
+Mon Mar 13 21:21:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * defs.h (STREQ, STRCMP, STREQN): Document that these macros are
+ somewhat redundant.
+ (QUIT): Note that this can probably be replaced by a function.
+
+2000-03-13 James Ingham <jingham@leda.cygnus.com>
+
+ 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
+ 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
+ been installed yet.
+ (new_root_variable): Initialize use_selected_frame variable.
+ (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.
+
+2000-03-13 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * go32-nat.c (struct env387): Remove declaration.
+ (print_387_status, i386_go32_float_info): Remove redundant
+ functions.
+ (regno_mapping, sig_map, excepn_map): Add braces around inner
+ initializers.
+ (many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
+ fix code which mixed signed with unsigned.
+ (go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
+ (go32_wait): Initialize INT3_addr.
+ (go32_fetch_registers): Extend all FP registers that are shorter
+ than 4 bytes to 32 bits. Support 32 standard FP registers defined
+ on config/i386/tm-i386.h.
+ (store_register): Support 32 FP registers.
+ (go32_create_inferior): Don't crash if handed a NULL pointer
+ instead of exec file name.
+ (ignore): Remove unused function.
+ (go32_insert_hw_breakpoint): Remove unused variables.
+ (init_go32_ops): Set value of processing_gcc_compilation to 2.
+
+Mon Mar 13 18:54:42 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ From 2000-03-10 Daniel Berlin <dan@cgsoftware.com> Fix C++
+ overloading, add support for seeing through references:
* valops.c (find_overload_match): Handle STABS overloading for
C++.
(find_overload_match): Look in right place for function arguments
perfect match, just choose one, especially since the
recommendation GDB gives ("disambiguate it by specifying function
signature"), is basically impossible.
- (check_field_in): STREQ->STREQ_IW
- (search_struct_field): STREQ->STREQ_IW
- (find_method_list): STREQ->STREQ_IW
-
+ (check_field_in): STREQ->strcmp_iw
+ (search_struct_field): STREQ->strcmp_iw
+ (find_method_list): STREQ->strcmp_iw
* gdbtypes.c (rank_one_type): Add ability to see through
references.
(rank_one_type): strcmp->strcmp_iw, because the whitespace could
(rank_function): Rank function properly (was doing it wrong
before, comparing the wrong parts of the arrays)
(rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
-
* gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
associated with converting a non-reference to a reference.
+ * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
+ #ifdef DEBUG_OLOAD.
+
+2000-03-11 Mark Kettenis <kettenis@gnu.org>
+
+ * gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
+ a binary operator.
+ (gnu_attach): Change error message for missing
+ argument to be identical to the corresponding message in
+ `inftarg.c'. This makes the testsuite happy.
+
+2000-03-11 Mark Kettenis <kettenis@gnu.org>
+
+ * i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
+ %eflags isn't modified. This fixes a bug where every call to a
+ function in the program beyond the first call would fail.
Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS (Core): Anthony Green is the Java - including
- testsuite - maintainer. Reformat testsuite and language support
- sections
+ testsuite - maintainer. Reformat testsuite and language support
+ sections
2000-03-08 Mark Kettenis <kettenis@gnu.org>
2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
- From Eli Zaretskii <eliz@is.elta.co.il>:
+ From Eli Zaretskii <eliz@is.elta.co.il>:
* event-loop.c (poll_timers): Don't compare delta.tv_sec with
zero, since time_t might be unsigned.
(i386_linux_sigcontext_addr): New function. Recognize the names
of the signal tranmpolines used by recent versions of the GNU C
library, and add support for RT signals.
- (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
+ (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
defines. Moved here from config/i386/tm-linux.h.
(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
Reimplement in terms of i386_linux_sigcontext_addr.
* config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
- (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
- Moved to i386-tdep.c.
+ (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
+ Moved to i386-tdep.c.
(IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
- sim directory.
+ sim directory.
Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
- ``Blanket Write Privs'' maintainers.
+ ``Blanket Write Privs'' maintainers.
Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
* language.c (longest_local_hex_string_custom): Don't compile
- 'long long' section if host doesn't have 'long long'.
+ 'long long' section if host doesn't have 'long long'.
Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
* language.c (longest_raw_hex_string): Comment out. Appears
- unused.
+ unused.
Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
* utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
- "mmalloc.h" which means using PTRs.
+ "mmalloc.h" which means using PTRs.
(init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
* defs.h (store_address, store_unsigned_integer, store_address):
- Replace PTR with void* in delcaration.
+ Replace PTR with void* in delcaration.
* findvar.c (extract_signed_integer, extract_unsigned_integer,
- extract_long_unsigned_integer, extract_address,
- store_signed_integer, store_unsigned_integer, store_address):
- Convert definition to ISO-C. Replace PTR with void*.
+ extract_long_unsigned_integer, extract_address,
+ store_signed_integer, store_unsigned_integer, store_address):
+ Convert definition to ISO-C. Replace PTR with void*.
Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
* defs.h (make_cleanup_func): Document as deprecated.
(make_cleanup_ftype): New typedef. Make signature consistent with
- other function typedefs. Document as not be used out side of
- make_cleanup code. Use in make_cleanup declarations.
+ 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
- make_cleanup_fytpe.
+ make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
+ null_cleanup): Change K&R definition to ISO-C using void* and
+ make_cleanup_fytpe.
(discard_my_cleanups): Don't cast argument to free.
2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* defs.h (struct continuation_arg): Change type of field 'data'
- from PTR to void *.
+ from PTR to void *.
* event-loop.h: Eliminate uses of PTR, use 'void *' instead.
Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
- configure.
+ configure.
(SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
- SUBDIR_GDBTK_ALL): Define.
+ SUBDIR_GDBTK_ALL): Define.
(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.
2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/alpha/alpha-linux.mh: Remove core-regset.o fron the
- NATDEPFILES list.
+ NATDEPFILES list.
2000-03-02 Mark Kettenis <kettenis@gnu.org>
Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
- * MAINTAINERS: Daniel Berlin is C++ maintainer.
+ * MAINTAINERS: Daniel Berlin is C++ maintainer.
Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
- a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
- share SCO/Unixware. Nick Duffek and Peter Schauer share
- Solaris/x86.
+ a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
+ share SCO/Unixware. Nick Duffek and Peter Schauer share
+ Solaris/x86.
Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
-
+
From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
* remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
- * remote-rdi.c (arm_rdi_close): Ditto.
+ * remote-rdi.c (arm_rdi_close): Ditto.
Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
* CONTRIBUTE (configure.in): Note that patches to configure are
- not needed.
+ not needed.
2000-03-01 Mark Kettenis <kettenis@gnu.org>
From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
Make NEW_PROC_ABI interface functional on Solaris x86.
* sol-thread.c (ps_lgetLDT): Rewrite to use new
- procfs_find_LDT_entry function from procfs.c, mostly copied from
- lin-thread.c.
+ procfs_find_LDT_entry function from procfs.c, mostly copied from
+ lin-thread.c.
* inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
- needed.
+ needed.
Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 1999-08-13 J.T. Conklin <jtc@redback.com>:
- * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
- FRAME_FIND_SAVED_REGS.
- (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
- * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
- Update.
+ * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
+ FRAME_FIND_SAVED_REGS.
+ (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
+ * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
+ Update.
Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
to the list of targets which return FP values in FP registers.
* i386-tdep.c (i386_extract_return_value): Add FIXME recommending
- that this function be re-implemented using multi-arch.
+ that this function be re-implemented using multi-arch.
Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
* stack.c (backtrace_command_1), infrun.c (normal_stop): Check
- that the target's stack was valid.
+ that the target's stack was valid.
Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
- * dwarf2read.c (read_address): Read 16-bits addresses.
+ * dwarf2read.c (read_address): Read 16-bits addresses.
2000-02-28 Scott Bambrough <scottb@netwinder.org>
* arm-linux-nat.c (fetch_nw_fpe_*):
- Renamed to fetch_nwfpe_* to use the same naming convention
+ Renamed to fetch_nwfpe_* to use the same naming convention
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.
Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Mention mmalloc. Expand Host/Native and
- Target/Architecture maintainers descriptions.
+ Target/Architecture maintainers descriptions.
2000-02-26 Mark Kettenis <kettenis@gnu.org>
Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Chris Faylor is responsible for all MS Windows
- systems. Note that Jim Blandy as maintainer for ``tracing
- bytecode stuff''
+ systems. Note that Jim Blandy as maintainer for ``tracing
+ bytecode stuff''
2000-02-25 Fernando Nasser <fnasser@cygnus.com>
Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
- $(SUBDIR_*_INSTALL) when so configured.
+ $(SUBDIR_*_INSTALL) when so configured.
* configure: Regenerate.
-
+
* Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
- configure.
+ configure.
(install-only): Add dependency on $(CONFIG_INSTALL). Delete code
- installing GDBtk.
+ installing GDBtk.
(uninstall): Add dependency on $(CONFIG_UNINSTALL).
(SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
- SUBDIR_GDBTK_INSTALL): Define.
+ SUBDIR_GDBTK_INSTALL): Define.
(install-gdbtk): New target.
Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
* configure: Regenerate.
-
+
2000-02-24 Christopher Faylor <cgf@cygnus.com>
* configure.tgt: Add arm, mips, sh wince targets.
Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
- Match ../include/dis-asm.h change.
+ Match ../include/dis-asm.h change.
* gdbarch.h: Regenerate.
* corefile.c (dis_asm_read_memory): Update.
* configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
(ENABLE_CFLAGS): Move initialization to start of file.
(enable-gdbmi): Add new configure option --enable-gdbmi. When
- selected and an ${srcdir}/mi directory is present enable MI
- interface.
+ selected and an ${srcdir}/mi directory is present enable MI
+ 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.
+ SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
(CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
- CONFIG_LDFLAGS): New macros. Initialized by autoconf via
- @CONFIG...@.
+ CONFIG_LDFLAGS): New macros. Initialized by autoconf via
+ @CONFIG...@.
(INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
- INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
+ INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
* mi: New directory. MI interface to GDB.
* defs.h (interpreter_p): Declare when UI_OUT.
* top.c (gdb_init): When interpreter_p, check that the interpreter
- was recognized by one of the linked in interpreters.
+ was recognized by one of the linked in interpreters.
* main.c (interpreter_p): Define.
(captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
* event-top.c (display_gdb_prompt): When interpreter_p, assume
- interpreter displays prompt.
+ interpreter displays prompt.
* breakpoint.c (print_it_typical, watchpoint_check,
- print_one_breakpoint, mention): When MI include additional
+ print_one_breakpoint, mention): When MI include additional
target status information.
* infrun.c (print_stop_reason, normal_stop): Ditto.
2000-02-22 Jim Blandy <jimb@redhat.com>
* gdbarch.sh: Make the `default' field really default to zero, as
- documented.
+ documented.
Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
- tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
- definitions.
+ tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
+ definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
From Philippe De Muyter <phdm@macqel.be>
* event-loop.c (handle_file_event): In case of poll, enable
- printing of informational message if an error/exception is
- detected on the file descriptor.
+ printing of informational message if an error/exception is
+ detected on the file descriptor.
2000-02-21 Jim Kingdon <kingdon@redhat.com>
Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
* buildsym.c: Include "language.h" and "expression.h" for
- longest_local_hex_string_custom.
+ longest_local_hex_string_custom.
Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
* gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
- Cagney <cagney@b1.cygnus.com>.
+ Cagney <cagney@b1.cygnus.com>.
Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
- nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
- Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
- to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
- Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
- Kingdon.
+ nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
+ Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
+ to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
+ Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
+ Kingdon.
* MAINTAINERS: Add Nick Clifton to write after approval list.
-
+
Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Add note on multiple maintainers.
2000-02-19 Philippe De Muyter <phdm@macqel.be>
- * cli-out.c (cli_table_header): Type of parameter `alignment' is
- `enum ui_align', not `int'.
- (cli_field_string, cli_field_skip): Likewise.
+ * cli-out.c (cli_table_header): Type of parameter `alignment' is
+ `enum ui_align', not `int'.
+ (cli_field_string, cli_field_skip): Likewise.
2000-02-18 Jim Blandy <jimb@redhat.com>
2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c (remote_async_detach): Use target_mourn_inferior(), to
- make sure that all is cleaned up after we disconnect from the
- target.
+ make sure that all is cleaned up after we disconnect from the
+ target.
(remote_detach): Ditto.
2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
- * procfs.c: Define MERGEPID if not defined. For osf4.0e.
+ * procfs.c: Define MERGEPID if not defined. For osf4.0e.
2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
to correct value for generic dummy frames. When using
generic dummy frames, don't attempt to write TOC value or
function to call into the call dummy.
- (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
+ (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
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
2000-02-15 Jesper Skov <jskov@cygnus.co.uk>
Patch applied by Kevin Buettner <kevinb@redhat.com>
-
+
* rs6000-tdep.c (skip_prologue): skip copying of argument
registers to local variable registers.
* config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
* configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
- configdirs.
+ configdirs.
* gdbserver/low-nbsd.c: New file.
-
+
* gdbserver/Makefile.in: convert to autoconf.
* gdbserver/configure.in: likewise.
* gdbserver/configure: generate.
Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
* MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
- Buettner to powerpc maintainers. Make Kevin Buettner the
- GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
- and Jason Molenda to write after aproval list.
+ Buettner to powerpc maintainers. Make Kevin Buettner the
+ GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
+ and Jason Molenda to write after aproval list.
Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
2000-02-09 Mark Kettenis <kettenis@gnu.org>
- * linux-thread.c: Include defs.h before gdb_wait.h.
+ * linux-thread.c: Include defs.h before gdb_wait.h.
Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (wait_h): Delete macro. Update all dependencies
- specifying gdb_wait.h instead.
+ specifying gdb_wait.h instead.
* ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
- remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
- remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
- convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
- remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
- remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
- remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
- ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
- infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
- fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
- or <sys/wait.h>.
+ remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
+ remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
+ convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
+ remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
+ remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
+ remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
+ ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
+ infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
+ fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
+ or <sys/wait.h>.
* nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
* gdb_wait.h: New file. Based on ../include/wait.h. Include
- <sys/wait.h> or <wait.h> and then define any missing WIF macros.
+ <sys/wait.h> or <wait.h> and then define any missing WIF macros.
Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
1999-08-23 J.T. Conklin <jtc@redback.com>
- * top.c (remote_timeout): Change default to 2. Add comment
- explaining history of changes to the default value.
- * remote.c (_initialize_remote): Remove code that adds set/
- show remotetimeout, as that's also done in top.c
+ * top.c (remote_timeout): Change default to 2. Add comment
+ explaining history of changes to the default value.
+ * remote.c (_initialize_remote): Remove code that adds set/
+ show remotetimeout, as that's also done in top.c
1999-10-18 J.T. Conklin <jtc@redback.com>
- * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
- Return E01 instead of P01 when 'P' command fails.
+ * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
+ Return E01 instead of P01 when 'P' command fails.
2000-02-05 J.T. Conklin <jtc@redback.com>
2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* infrun.c (resume): Make just one call to target_resume(), instead
- of four: set up correct parameters in all the cases ahead of time,
- and do call at the end.
+ of four: set up correct parameters in all the cases ahead of time,
+ and do call at the end.
2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* config/powerpc/tm-ppc-eabi.h: Define
- SOFUN_ADDRESS_MAYBE_MISSING.
+ SOFUN_ADDRESS_MAYBE_MISSING.
2000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
(links): Link srcdir/gdbtk/library to gdbtcl2.
* gdbtcl2: Moved to gdbtk/library.
ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
- gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
- gdbtk.h: Moved to gdbtk/generic.
+ gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
+ gdbtk.h: Moved to gdbtk/generic.
2000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* printcmd.c (build_address_symbolic): New function. Returns all
- the parts that are necessary to print an address in a symbolic
- form.
+ the parts that are necessary to print an address in a symbolic
+ form.
(print_address_symbolic): Split into a printing part and an
- information building part, build_address_symbolic().
+ information building part, build_address_symbolic().
* defs.h (build_address_symbolic): Export.
2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote.c (getpkt_sane): New function. It is the old getpkt(),
- which now returns a timeout indication.
+ which now returns a timeout indication.
(getpkt): New function. Wrapper for getpkt_sane(), so that return
- value can still be ignored.
+ value can still be ignored.
Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
* top.c (print_gdb_version): Print ``UI_OUT'' when configured with
- UI_OUT.
+ UI_OUT.
Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
* 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.
-
+ ``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,
- c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
- ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
- cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
- expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
- frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
- gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
- jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
- m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
- printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
- remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
- ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
- serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
- target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
- utils.c, v850ice.c, valprint.c, valprint.h, value.h,
- config/pa/tm-hppa.h: Update.
+ c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
+ ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
+ cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
+ expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
+ frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
+ gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
+ jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
+ m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
+ printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
+ remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
+ ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
+ serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
+ target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
+ utils.c, v850ice.c, valprint.c, valprint.h, value.h,
+ config/pa/tm-hppa.h: Update.
* cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
2000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
* top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
* main.c (captured_main): Only use the legacy tui_file code when
- linking in older code such as the TUI.
+ linking in older code such as the TUI.
* gdb-file.h, gdb-file.c: New files.
* utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
- null_file_isatty, null_file_rewind, null_file_put,
- null_file_flush, null_file_write, null_file_fputs,
- null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
- gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
- set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
- set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
- set_gdb_file_data, struct accumulated_gdb_file,
- do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
- mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
- mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
- stdio_file_delete, stdio_file_flush, stdio_file_write,
- stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
- Moved to gdb-file.h and gdb-file.c.
+ null_file_isatty, null_file_rewind, null_file_put,
+ null_file_flush, null_file_write, null_file_fputs,
+ null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
+ gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
+ set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
+ set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
+ set_gdb_file_data, struct accumulated_gdb_file,
+ do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
+ mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
+ mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
+ stdio_file_delete, stdio_file_flush, stdio_file_write,
+ stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
+ Moved to gdb-file.h and gdb-file.c.
* utils.c (enum streamtype, struct tui_stream, tui_file_new,
- tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
- tui_file_rewind, tui_file_put, tui_file_fputs,
- tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
+ tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
+ tui_file_rewind, tui_file_put, tui_file_fputs,
+ 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.
-
+ 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.
2000-01-27 Jim Blandy <jimb@cygnus.com>
* symtab.c (decode_line_1): Don't let commas that are within
- quotes or parenthesis terminate the line spec. Don't use pp when
- removing the final double quote of a double-quoted string. Don't
- forget to skip the opening double quote. I have no clue whether
- this change is correct; probably we've just moved this function
- from one buggy place to another buggy place, and never came within
- an outhouse whiff of correctness.
+ quotes or parenthesis terminate the line spec. Don't use pp when
+ removing the final double quote of a double-quoted string. Don't
+ forget to skip the opening double quote. I have no clue whether
+ this change is correct; probably we've just moved this function
+ from one buggy place to another buggy place, and never came within
+ an outhouse whiff of correctness.
(find_toplevel_char): New function.
2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
* arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
- passing the pointer to a thumb function as an argument.
+ passing the pointer to a thumb function as an argument.
2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
* proc-why.c: New file. Add include of proc-utils.h.
* procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
- ctype.h, proc-utils.h.
+ ctype.h, proc-utils.h.
(find_procinfo_or_die): Add braces to avoid ambiguous else clause.
(open_procinfo_files): Conditionalize local variable tmp, to avoid
- compiler warnings.
+ compiler warnings.
(proc_iterate_over_mappings): Conditionalize local vars mapfd and
- pathname.
+ pathname.
(procfs_wait): Adjust format in some printf_filetered calls to
- avoid compiler warnings.
+ avoid compiler warnings.
(make_signal_thread_runnable): Ifdef 0. The calls to this function
- are also ifdef'd 0 .
+ are also ifdef'd 0 .
(procfs_resume): Add parentheses around '&&' operation.
(procfs_set_exec_trap): Remove unused variable.
(info_proc_cmd): Add braces to avoid ambiguous else clause.
* Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
- proc-why.o): Update dependencies.
+ proc-why.o): Update dependencies.
* config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
proc-*.o.
2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* stack.c (print_frame_info_base): Break up into the frame info
- (location) printing part and the rest (source line printing).
+ (location) printing part and the rest (source line printing).
(print_frame): New function. Take care of printing the location
- information.
+ information.
Update copyright.
* 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.
-
+ Update copyright.
+
* frame.h (print_what): New enum for 'source' argument to
- print_frame_info_base(). Use this instead of obscure numbers.
+ print_frame_info_base(). Use this instead of obscure numbers.
Update copyright.
-
+
Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
* event-top.c (stdin_event_handler): call quit_command rather than
- exit -- run cleanups, give target code a chance to say goodbye to
- the target. Fixes bug where the inferior processes were left
- around on Solaris (and probably elsewhere) by the testsuite.
+ exit -- run cleanups, give target code a chance to say goodbye to
+ the target. Fixes bug where the inferior processes were left
+ around on Solaris (and probably elsewhere) by the testsuite.
2000-01-14 Mark Salter <msalter@cygnus.com>
* v850-tdep.c (v850_target_architecture_hook): Setup correct
- machine id for disassembly.
+ machine id for disassembly.
2000-01-13 Jim Blandy <jimb@cygnus.com>
2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* thread.c (do_captured_thread_select): New function. Switch
- current thread, safely from within catch_errors().
+ current thread, safely from within catch_errors().
(gdb_thread_select): New function. Switch threads safely.
(thread_command): Use gdb_thread_select().
Include ui-out.h.
(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.
-
+
2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* infrun.c (normal_stop): Print out thread id when we stop.
2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* breakpoint.c (until_break_command): Add an argument for the
- continuation, the beginning of the cleanups set up by this
- command.
+ continuation, the beginning of the cleanups set up by this
+ command.
(until_break_command_continuation): Do cleanups until the one
- passed in as argument instead of doing all of them.
+ passed in as argument instead of doing all of them.
* infcmd.c (finish_command_continuation): Expect a new argument,
- which indicates up to where to do cleanups. Update calls to
- do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
+ which indicates up to where to do cleanups. Update calls to
+ do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
(finish_command): Add another argument for the continuation: the
starting cleanup for this command.