Commit Graph

10207 Commits

Author SHA1 Message Date
Jim Blandy e94a679a11 Remove incomplete section on overlays, committed by accident. 2001-09-12 19:49:52 +00:00
Jim Blandy 664cccaec5 * printcmd.c (print_scalar_formatted): Fix indentation. 2001-09-12 04:18:08 +00:00
gdbadmin 58712d0505 *** empty log message *** 2001-09-12 00:00:03 +00:00
gdbadmin 63da102c1d *** empty log message *** 2001-09-11 00:00:04 +00:00
Jim Blandy a5666cc9b8 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.
2001-09-10 23:54:16 +00:00
Jason Molenda 6d6b80e5eb 2001-09-10 Jason Molenda (jmolenda@apple.com)
* NEWS: "ANS/ISO C" -> "ISO C".
        * MAINTAINERS (write-after-approval):  Update my entry.
2001-09-10 18:13:17 +00:00
gdbadmin f541826b7f *** empty log message *** 2001-09-10 00:00:02 +00:00
gdbadmin 5ac3ea5891 *** empty log message *** 2001-09-09 00:00:03 +00:00
Mark Kettenis 964840f795 Fix truncated 2001-08-23 entry. 2001-09-08 23:34:53 +00:00
Mark Kettenis a9dc4918b3 * gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.
2001-09-08 10:53:45 +00:00
Mark Kettenis df5fdb3df4 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed. 2001-09-08 10:50:07 +00:00
Mark Kettenis d28379df76 * gdbint.texinfo (Host Definition): Remove description of R_OK. 2001-09-08 10:43:27 +00:00
Mark Kettenis 4ad318e604 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.
2001-09-08 10:39:54 +00:00
Mark Kettenis f277788bc6 * gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.
2001-09-08 10:28:20 +00:00
Mark Kettenis 7fc73f389d * gdbtypes.h (struct block): Add forward declaration. 2001-09-08 10:16:57 +00:00
gdbadmin 6f270dab3e *** empty log message *** 2001-09-08 00:00:02 +00:00
Andrew Cagney f9c696d277 * defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors.  Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup.  Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.
2001-09-07 21:33:08 +00:00
Jim Blandy a2e2dd8055 Correctly parse register values provided by the monitor.
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-07 21:27:36 +00:00
Mark Kettenis 93befcf3d7 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
to using setpgid if available now.
2001-09-07 15:22:11 +00:00
gdbadmin c0a1a2e89b *** empty log message *** 2001-09-07 00:00:02 +00:00
Keith Seitz b381d62d0a From Ian Roxborough <irox@redhat.com>
* configure.in: Use ITCL_LIB_FULL_PATH and
	ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
	for gdb.
	* configure: Regenerated.
2001-09-06 20:59:18 +00:00
Kevin Buettner 9a058a09a9 Don't use error result from find_stab_function_addr(). 2001-09-06 20:50:48 +00:00
Elena Zannoni 7ccaa899b1 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Add
        explanation of TARGET_PRINT_INSN macro.
2001-09-06 12:01:36 +00:00
gdbadmin a209ae8abb *** empty log message *** 2001-09-06 00:00:03 +00:00
Elena Zannoni 2bf0cb6592 2001-09-05 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier
        in gdbarch.h.
        (TARGET_PRINT_INSN): Multiarch.
        * gdbarch.h: Regenerate.
        * gdbarch.c: Regenerate.

        * arch-utils.c (legacy_print_insn): New function.
        * arch-utils.h (legacy_print_insn): Export.

        * cris-tdep.c (cris_delayed_get_disassembler): Use
        TARGET_PRINT_INSN, instead of tm_print_insn.
        * d10v-tdep.c (print_insn): Ditto.
        * d30v-tdep.c (print_insn): Ditto.
        * m32r-tdep.c (dump_insn): Ditto.
        * v850-tdep.c (v850_scan_prologue): Ditto.
        * mcore-tdep.c (mcore_dump_insn): Ditto.
        * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05 23:44:44 +00:00
Michael Snyder a4f30b31c8 Fix typo. 2001-09-05 23:26:21 +00:00
Jim Blandy 6369010f56 * gdbtypes.h (struct type): Doc fix. 2001-09-05 23:07:32 +00:00
Michael Snyder 0093d52fed 2001-08-31 Jason Molenda (jmolenda@apple.com)
* c-valprint.c (c_val_print):  Second call to check_typedef ()
	is no longer necessary.
2001-09-05 23:07:08 +00:00
Elena Zannoni d3d55eeb77 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* dbxread.c (free_header_files): Make global.
	(init_header_files): Likewise.
	* stabsread.h (free_header_files): Add prototype.
	(init_header_files): Likewise.
	* mdebugread.c (mdebug_build_psymtabs): Initialize
	properly before using the stabs debug reader.
2001-09-05 02:54:15 +00:00
Elena Zannoni ef96bde82e 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* dbxread.c (dbx_symfile_read): Only reinitialize
	the psymbol list if mainline or if both static
	and global lists are empty.
	* dwarf2read.c (dwarf2_build_psymtabs): Likewise.
	* dwarfread.c (dwarf_build_psymtabs): Likewise.
	* xcoffread.c (xcoff_initial_scan): Likewise.
	* os9kread.c (os9k_symfile_read): Likewise.
2001-09-05 02:13:11 +00:00
Elena Zannoni 16db60558d 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
	a name specially.
2001-09-05 02:02:44 +00:00
gdbadmin 9ea0568f79 *** empty log message *** 2001-09-05 00:00:04 +00:00
gdbadmin fe6f19de68 *** empty log message *** 2001-09-04 00:00:03 +00:00
Jeff Holcomb 6db765ea4b 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
* gdb.base/remote.c: Use a small buffer for targets with 16-bit
        ints.
2001-09-03 19:54:33 +00:00
gdbadmin b21baa6f95 *** empty log message *** 2001-09-03 00:00:02 +00:00
gdbadmin 7ee2df7da6 *** empty log message *** 2001-09-02 00:00:05 +00:00
Mark Kettenis f77b92bf11 Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.
2001-09-01 21:38:05 +00:00
gdbadmin 3ca047d39a *** empty log message *** 2001-09-01 00:00:02 +00:00
Kevin Buettner 902d7086d7 Don't let a branch unit nop terminate the prologue scan. 2001-08-31 19:58:41 +00:00
Jim Blandy 17d9d55883 * gdb.texinfo (`add-symbol-file'): Correct synopsis.
Explain what it means to load relocatable files.
2001-08-31 01:24:24 +00:00
Jim Blandy 9ec8e6a002 * symfile.c (sections_overlap): New function.
(map_overlay_command): Call sections_overlap, instead of using
incorrect logic to recognize overlapping sections.
2001-08-31 00:40:45 +00:00
Jim Blandy 2889e66104 * symfile.c (load_command): Invalidate the overlay cache. 2001-08-31 00:36:23 +00:00
gdbadmin 56f3b7d623 *** empty log message *** 2001-08-31 00:00:03 +00:00
Jim Blandy 72cde065d6 *** empty log message *** 2001-08-30 23:57:06 +00:00
Mark Kettenis cd903d5356 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed. 2001-08-30 21:53:47 +00:00
Keith Seitz 4c32cc04d2 * lib/gdb.exp: Move all insight-related functionality into
separate file.
	* lib/insight-support.exp: New file.
2001-08-30 16:34:04 +00:00
Andrew Cagney a116b84cf9 Cleanups. Now passes! 2001-08-30 01:45:30 +00:00
gdbadmin 3738f56667 *** empty log message *** 2001-08-30 00:00:03 +00:00
Frank Ch. Eigler 8d6e6f816b * gdb/sid connect fix, etc.
2001-08-29  Frank Ch. Eigler  <fche@redhat.com>

        * config/sid.exp (sid_start): Never set sid verbosity; disable
        expect_background {} that consumed its stdout; tolerate </dev/null.
        Attempt to set endianness override in "sid" protocol mode.  Cleanup.
2001-08-29 20:36:06 +00:00
Kevin Buettner 8ad2fcde8d Applied Daniel Jacobowitz's patch for reattaching in the presence of
remote SVR4 shared libraries.
2001-08-29 19:34:08 +00:00
Andrew Cagney e87593493c Fix comments on `struct frame_info'. 2001-08-29 00:51:14 +00:00
gdbadmin dd5039a5b9 *** empty log message *** 2001-08-29 00:00:04 +00:00
Jim Blandy 496e6bc304 * gdbint.texinfo: Bring the HTML `top' menu into sync with the
info `top' menu.
2001-08-28 22:49:55 +00:00
gdbadmin 1652590996 *** empty log message *** 2001-08-28 00:00:09 +00:00
Mark Kettenis 46711df821 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
gratuitious whitespace changes.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
* top.c: Remove redundant logic to define HAVE_SIGSETMASK.
(sigsetmask) Don't define macro.
(stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
async_stop_sig from event-top.c.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
defined.
* configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
order.  Add sigsetmask.
(AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
alphabetical order.
* config/xm-aix4.h, config/alpha/xm-alphalinux.h,
config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
(HAVE_SIGSETMASK): Remove.
* aclocal.m4, config.in, configure
2001-08-27 22:39:56 +00:00
Andrew Cagney 526eeb95b8 From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
* config/powerpc/nbsd.mh (XM_FILE): Delete.
2001-08-27 02:22:14 +00:00
gdbadmin 215bf1461e *** empty log message *** 2001-08-27 00:00:05 +00:00
Andrew Cagney c16ac28fb3 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
(HOST_DOUBLE_FORMAT): Delete macro.
2001-08-26 18:46:10 +00:00
gdbadmin b92b9cfe73 *** empty log message *** 2001-08-26 00:00:02 +00:00
gdbadmin 602ffeaf84 *** empty log message *** 2001-08-25 00:00:02 +00:00
Mark Kettenis ceacb162a1 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
inclusion of <limits.h>.
2001-08-24 12:19:59 +00:00
Andrew Cagney 275f450c27 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
that a register should be ignored, supply a value for the register
from the raw registers[] buffer.
2001-08-24 05:11:07 +00:00
Andrew Cagney 12a498f33a * go32-nat.c (go32_create_inferior): Use xfree instead of free.
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
i386bsd-nat.c.
2001-08-24 05:00:06 +00:00
Andrew Cagney 598f52dfcc * gdbtypes.h (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Declare.
* gdbtypes.c (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Define.
(_initialize_gdbtypes): Initialize builtin floatformat types.
2001-08-24 04:46:43 +00:00
gdbadmin 80376ebaec *** empty log message *** 2001-08-24 00:00:03 +00:00
Mark Kettenis 1a6fae3cf4 * tracepoint.c (read_actions): Add FIXME for code depending on
STOP_SIGNAL.
2001-08-23 20:31:36 +00:00
Martin Hunt 7829b8338e 2001-08-23 Martin M. Hunt <hunt@redhat.com>
* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
	to download loop.
	(mips_load_srec): Ditto.
2001-08-23 19:27:52 +00:00
Andrew Cagney 701c159d91 Add TYPE_FLOATFORMAT(). 2001-08-23 01:09:38 +00:00
gdbadmin dcf762a12e *** empty log message *** 2001-08-23 00:00:02 +00:00
gdbadmin 2bf63d0283 *** empty log message *** 2001-08-22 00:00:04 +00:00
Keith Seitz 99a6d8ba22 * printcmd.c (print_insn): Use the given stream for
output.
2001-08-21 19:25:40 +00:00
Andrew Cagney a37b3cc06e * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
assembler version of function.
(convert_from_extended, convert_to_extended): Rewrite. Use
floatformat_to_doublest, floatformat_from_doublest,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
(arm_push_arguments): Use extract_floating and store_floating to
perform floating point conversions.
(SWAP_TARGET_AND_HOST): Delete macro.
* arm-linux-tdep.c (arm_linux_push_arguments): Use
extract_floating and store_floating to perform floating point
conversions.
2001-08-21 04:31:32 +00:00
Andrew Cagney 1c72f9b0c4 * gdbtypes.h (struct type): Clarify meaning of field ``length''. 2001-08-21 00:24:58 +00:00
gdbadmin 7823178d24 *** empty log message *** 2001-08-21 00:00:05 +00:00
gdbadmin 415b1b1387 *** empty log message *** 2001-08-20 00:00:02 +00:00
Andrew Cagney fe766f112c * mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.
2001-08-19 01:23:43 +00:00
Andrew Cagney 6a90e1d0a6 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
2001-08-19 01:02:58 +00:00
Andrew Cagney e866d0e845 * mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.
2001-08-19 00:37:28 +00:00
gdbadmin 992ddc6b09 *** empty log message *** 2001-08-19 00:00:04 +00:00
Andrew Cagney 1759b3c3d8 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function.  Fix PR gdb/191.
2001-08-18 21:34:28 +00:00
gdbadmin ceb160c895 *** empty log message *** 2001-08-18 00:00:05 +00:00
Keith Seitz 4309c8f23f * mi-cmd-var.c (varobj_update_one): Update call to
varobj_update to reflect recent api change.
2001-08-17 19:01:22 +00:00
Keith Seitz 705da5797a * varobj.c (varobj_update): Change first parameter to
pointer to struct varobj*. This function can delete
	varobjs, so we need to give callers the new varobj
	when this happens.
	(value_of_root): Update "var", too, if "var_handle"
	changes.
	* varobj.h (varobj_update): Likewise.
2001-08-17 18:56:49 +00:00
Keith Seitz 2bf63d860a * Makefile.in (varobj_h): Define.
(mi-cmd-var.o): Depends on varobj_h.
	(gdbtk-varobj.o): Change varobj.h to $(varobj_h).
2001-08-17 17:58:25 +00:00
gdbadmin 29517f00a5 *** empty log message *** 2001-08-17 00:00:02 +00:00
Keith Seitz d1c3b63ad4 * configure.in (GDBTK_SRC_DIR): We must have autoconf
give us the absolute path to the source directory.
	* configure: Regenerated.
	* Makefile.in (GDBTK_SRC_DIR): Add variable so that
	autoconf can substitue it in for us.
	(gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
	really do need an absolute pathname.
2001-08-16 22:47:00 +00:00
Frank Ch. Eigler 61d11d8032 * obvious fix
2001-08-16  Frank Ch. Eigler  <fche@redhat.com>

	* config/sid.exp (sid_start): Don't warn if we cannot figure out
	what to force sid endianness to.
2001-08-16 14:19:54 +00:00
gdbadmin 4acbe6da32 *** empty log message *** 2001-08-16 02:23:16 +00:00
Keith Seitz 942a4df220 * lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
	now figure these out for itself.
2001-08-15 21:11:45 +00:00
Keith Seitz f0b743a914 * Makefile.in (GDBTK_VERSION): Set a version number.
(GDBTK_LIBRARY): New variable to point to location where
	gdbtk will install its tcl library. Changed all refereneces
	to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
	(SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
	(SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
	(all-gdbtk): Remove.
	(install-gdbtk): Remove.
	(gdbtk.o): Pass srcdir to file when compiling.

Also from Ian Roxborough:

	* Makefile.in: Changed all references to the install directory
	"gdbtcl" to read "insight1.0".
2001-08-15 21:09:46 +00:00
Corinna Vinschen bdcd319a1e * arch-utils.c (generic_skip_trampoline_code): New function.
* arch-utils.h (generic_skip_trampoline_code): Declare external.
        * gdbarch.c: Regeberated from gdbarch.sh.
        * gdbarch.h: Ditto.
        * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
        * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
2001-08-15 15:29:56 +00:00
Christopher Faylor 9e678452d7 * gdbint.texinfo: Add a cautionary note about macro use. 2001-08-15 14:47:53 +00:00
H.J. Lu 40b3352ba7 2001-08-14 Daniel Jacobowitz <drow@mvista.com>
H.J. Lu  (hjl@gnu.org)

	* partial-stab.h: valu should be a CORE_ADDR.

2001-08-14  H.J. Lu  (hjl@gnu.org)

	* dbxread.c (SWAP_SYMBOL): Removed.
	(INTERNALIZE_SYMBOL): Check sign extended vma.
2001-08-15 05:02:28 +00:00
gdbadmin 75ba07bf4c *** empty log message *** 2001-08-15 00:00:02 +00:00
Christopher Faylor ae9d9b9660 * top.c (SIGSETJMP): Protect env argument with parentheses.
(SIGLONGJMP): Protect env argument with parentheses.
2001-08-14 20:05:48 +00:00
gdbadmin 8e6acd47f3 *** empty log message *** 2001-08-14 00:00:05 +00:00
gdbadmin 8ce8e6c107 *** empty log message *** 2001-08-13 00:00:02 +00:00
Andrew Cagney 6ca173e32c * config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.
2001-08-12 03:39:11 +00:00
Andrew Cagney 5ea92dfe6a Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest. 2001-08-12 03:19:22 +00:00
Andrew Cagney a15525c16a * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.
2001-08-12 02:10:18 +00:00
Andrew Cagney c422e77126 * doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest.  Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
2001-08-12 01:45:49 +00:00
Andrew Cagney f096a152b3 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
2001-08-12 01:11:12 +00:00
gdbadmin 7908826a9b *** empty log message *** 2001-08-12 00:00:02 +00:00
Andrew Cagney 39d4ef0921 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.

* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.

* tracepoint.c (encode_actions): Make frame_reg an int.  Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static.  Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2001-08-11 00:59:29 +00:00
Keith Seitz 67c2c32c6b * gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
	(gdbarch_update_p): Notify UIs when architecture changes.
	* gdb-events.h: Regenerated.
	* gdb-events.c: Regenerated.
	* gdbarch.c: Regenerated.
2001-08-11 00:41:02 +00:00
gdbadmin c5745c8778 *** empty log message *** 2001-08-11 00:00:02 +00:00
Michael Snyder 1297a2f020 2001-08-10 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_write_register_gen): Don't 'optimize out'
        a write_register to a pseudo-reg.  Target_store_pseudo_register
        needs to get called, because these regs may be computed and may
        have side-effects.
2001-08-10 21:52:17 +00:00
Keith Seitz fd969be2aa * gdb-events.sh: Deal with event notifications with no
arguments.
2001-08-10 16:05:30 +00:00
Orjan Friberg fb6e5c5520 2001-08-10 Orjan Friberg <orjanf@axis.com>
* remote.c (read_frame): Correct off-by-one error in condition.
2001-08-10 09:59:33 +00:00
gdbadmin 4e4210bf78 *** empty log message *** 2001-08-10 00:00:02 +00:00
gdbadmin f45d83bbaa *** empty log message *** 2001-08-09 00:00:02 +00:00
Don Howard a1bab801d9 2001-08-08 Don Howard <dhoward@redhat.com>
* stabsread.c (read_type): Add support for const and volatile
	modifiers.
2001-08-08 16:15:38 +00:00
gdbadmin 1b4ca90e3f *** empty log message *** 2001-08-08 00:00:01 +00:00
gdbadmin 9ee7cc8691 *** empty log message *** 2001-08-07 00:00:02 +00:00
Michael Snyder 0521c418a2 2001-08-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Remove the symbol "a64l" from
	the expect string; this is target-specific, and not related
	to what is being tested.
2001-08-06 22:08:12 +00:00
gdbadmin 710bbc9572 *** empty log message *** 2001-08-06 00:00:04 +00:00
gdbadmin f59dda3d78 *** empty log message *** 2001-08-05 00:00:02 +00:00
Dave Brolley 74a9a58ab5 2001-08-02 Dave Brolley <brolley@redhat.com>
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 15:56:41 +00:00
gdbadmin af233ead9f *** empty log message *** 2001-08-04 00:00:04 +00:00
Daniel Jacobowitz 455ecc7291 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
and HAVE_FPREGSET_T checks.  Use gdb_gregset_t and gdb_fpregset_t.
2001-08-03 21:34:01 +00:00
gdbadmin 6b8772f1c7 *** empty log message *** 2001-08-03 00:00:04 +00:00
Keith Seitz a5cedf2f04 * defs.h (SLASH_STRING): If not defined, set
to "/", regardless of _WIN32, __CYGWIN__, or
	whatnot.
2001-08-02 20:57:19 +00:00
Mark Kettenis cc6dd2c071 * cli/cli-decode.h: Include "gdb_regex.h" instead of
"gnu-regex.h".
2001-08-02 20:18:29 +00:00
Mark Kettenis d72751493e * NEWS: Update. 2001-08-02 18:42:18 +00:00
Eli Zaretskii 40cd916ff9 * config/i386/xm-go32.h: Include xm-i386.h.
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
2001-08-02 15:18:15 +00:00
Eli Zaretskii b5de0fa741 The following changes avoid polluting global namespace with the
`enable' and `disable' identifiers, because some platforms define
	in their system headers symbols with global scope that go by those
	names.

	* breakpoint.h (enum enable_state): Rename from `enum enable'.
	Also rename all the enum members to have the "bp_" prefix.
	(struct breakpoint): Rename the `enable' member to `enable_state'.
	(enum bpdisp): Rename all members to have the "disp_" prefix.

	* breakpoint.c: All users of `enum enable' and `enum bpdisp'
	changed.
	(args_for_catchpoint_enable): Rename the `enable' member to
	`enable_p'.  All users changed.

	* tracepoint.h (enum enable): Remove.
	(struct tracepoint): The member `enabled' is now `int enabled_p'.

	* tracepoint.c: All users of the `enabled' member changed.

	* printcmd.c (struct display): The `status' member is now an int.

	* memattr.h (struct mem_region): Rename the `status' member to
	`enabled_p'.
	(enum enable): Remove.

	* memattr.c: Change all users of the `status' member of struct
	mem_region to use `enabled_p' instead.

	* infcmd.c (run_stack_dummy): Use disp_del instead of del.

	* go32-nat.c: Remove the kludgey work-around for conflicts between
	<dos.h> and "breakpoint.h".
	* tui/tuiSourceWin.c: Use disp_del instead of del.

	* tui/tuiSource.c: Use disp_del instead of del.

	* tui/tuiDisassem.c: Use disp_del instead of del.
2001-08-02 11:58:29 +00:00
Corinna Vinschen a2bea4c366 * gdb.texinfo: Explain omitting the hostname in the
`target remote' command.
2001-08-02 10:52:07 +00:00
Corinna Vinschen ad4571f3f3 * MAINTAINERS: Add myself to the write-after-approval list.
* ser-tcp.c (tcp_open): Use `localhost' as default host if no
        hostname is given.
2001-08-02 09:08:03 +00:00
gdbadmin 5dce30f881 *** empty log message *** 2001-08-02 00:00:02 +00:00
Andrew Cagney 64f6fcadfc * doublest.h (store_floating, floatformat_to_doublest): Make IN
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.
2001-08-01 22:11:43 +00:00
Andrew Cagney d16aafd8c8 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
(floatformat_to_doublest, floatformat_from_doublest)
(floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, store_floating)
(extract_floating): Move declaration from here.
* doublest.h: To here.  New file.
* utils.c (get_field, floatformat_to_doublest, put_field)
(ldfrexp, floatformat_from_doublest, floatformat_is_negative)
(floatformat_is_nan, floatformat_mantissa)
(FLOATFORMAT_CHAR_BIT): Move from here.
* doublest.c: To here.  New file.
* findvar.c (store_floating, extract_floating): Move from here.
* doublest.c: To here.
* Makefile.in (SFILES): Add doublest.c.
(COMMON_OBS): Add doublest.o.
(doublest.o): Specify dependencies.
(doublest_h): Define.

* config/m88k/tm-m88k.h: Include "doublest.h".
* config/i960/tm-i960.h: Ditto.
* config/i386/tm-symmetry.h: Ditto.
* rs6000-tdep.c, valarith.c: Ditto.
* valprint.c, stabsread.c, sh-tdep.c: Ditto.
* ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
* values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
* alpha-tdep.c, ax.h, expression.h: Ditto.
* sh-tdep.c, parse.c, top.c, value.h: Ditto.

* Makefile.in (arm-tdep.o): Add $(doublest_h).
(i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
(rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
(values.o, valprint.o, arm-linux-tdep.o): Ditto.
(alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
(parser_defs_h): Ditto.
(expression_h): Add $(doublest_h) and $(symtab_h).
2001-08-01 18:39:27 +00:00
Andrew Cagney 1b0cad1ced * Makefile.in: Sort header definitions.
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
Replace parser-defs.h with $(parser_defs_h).  Replace $(dis-asm_h)
and $(dis-asm.h) with $(dis_asm_h).  Replace annotate.h with
$(annotate_h).  Replace target.h with $(target_h).  Replace
gdbthread.h with $(gdb_thread_h).  Replace symfile.h with $(symfile_h).
2001-08-01 17:41:50 +00:00
Eli Zaretskii bfefb58388 Fix a typo in my entry from 2001-06-13. 2001-08-01 09:23:07 +00:00
gdbadmin 687aee93dd *** empty log message *** 2001-08-01 00:00:08 +00:00
Mark Kettenis 1ca66634bd * config/i386/xm-i386.h: New file.
* config/i386/xm-fbsd.h: Removed.
* config/i386/xm-linux.h: Removed.
* config/i386/fbsd.mh: Reorganize a bit.
(XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
* config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
xm-linux.h.
2001-07-31 19:22:57 +00:00
Stephane Carrez 799a074014 * tui.c (tui_enable): Remove call to terminal_save_ours().
(tui_disable): Likewise.
2001-07-31 19:00:50 +00:00
Daniel Jacobowitz 1129bf27e5 * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
and END-INFO-DIR-ENTRY.
2001-07-31 17:30:56 +00:00
gdbadmin 0d79b98d1e *** empty log message *** 2001-07-31 00:00:02 +00:00
Jim Blandy 9e84cbde42 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix. 2001-07-30 23:16:45 +00:00
Daniel Jacobowitz 72473524da * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
Check for SETPGRP_VOID separately if cross-compiling and ISO C
       headers are available.
2001-07-30 22:08:41 +00:00
Mark Kettenis 4b418e06b0 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
2001-07-30 21:45:26 +00:00
Mark Kettenis 8d7f6b4a80 * i386-tdep.c (i386_register_convert_to_virtual): Replace
assertion with a warning if we're asked to convert towards a
non-floating-point type.  Zero out the the buffer where the data
is supposed to be stored in that case.
2001-07-30 21:09:44 +00:00
Mark Kettenis 846a440c9c * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-30 10:17:46 +00:00
gdbadmin 5b2e4f117f *** empty log message *** 2001-07-30 00:00:02 +00:00
Eli Zaretskii f959bc4156 Unset CDPATH before doing annything else. 2001-07-29 10:12:49 +00:00
Eli Zaretskii a3b9cbb339 * go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
2001-07-29 08:06:28 +00:00
Eli Zaretskii 6c56c06965 Support for stepping through longjmp in DJGPP programs:
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
	(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
	(get_longjmp_target): Add prototype.
2001-07-29 08:03:36 +00:00
gdbadmin 6977cc6f14 *** empty log message *** 2001-07-29 00:00:02 +00:00
Andrew Cagney de6ee55865 Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.
2001-07-28 22:44:53 +00:00
Andrew Cagney 158ff1e6fb (cris): Set --enable-gdb-build-warnings flag to -w. 2001-07-28 21:21:30 +00:00