Commit Graph

9981 Commits

Author SHA1 Message Date
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
Andrew Cagney 93755ae6c4 * MAINTAINERS: Add Orjan Friberg as cris target maintainer. 2001-07-28 20:23:53 +00:00
Andrew Cagney 16f769f344 From 2001-07-23 Andreas Schwab <schwab@suse.de>:
* config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
(TARGET_LONG_DOUBLE_BIT): Define.
(REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
(MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
(REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
floating point registers.
(REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
(REGISTER_CONVERT_TO_RAW): Remove.
* config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
2001-07-28 20:05:15 +00:00
Andrew Cagney 5b7f31a409 Move libgdb library functions to gdb.h (new file).
Update everything related to this.
2001-07-28 19:48:15 +00:00
Stephane Carrez 8aaf581c5d * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
(SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
	(SFILES): Likewise.
	(tui-out.o): Define dependencies.
	(tui-hooks.o): Likewise.
2001-07-28 19:45:04 +00:00
Stephane Carrez 732b300251 * gdb.texinfo (TUI Configuration): Rename tui configuration variables. 2001-07-28 19:35:20 +00:00
Stephane Carrez c968487932 * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
set/show configuration variables.
	(show_tui_cmd): New function.
	(set_tui_cmd): New function.
2001-07-28 19:30:54 +00:00
Mark Kettenis a2585ce735 * 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-28 19:30:41 +00:00
Andrew Cagney f9e2d83049 * MAINTAINERS: Update e-mail address of active @cygnus.com
maintainers to @redhat.com.
2001-07-28 17:24:47 +00:00
Andrew Cagney de6ed73f14 * README (Known bugs): Delete section.
(Kernel debugging): Delete section.
(Languages other than C): Delete section.
(Host/target specific installation notes) New section.
2001-07-28 17:13:42 +00:00
Mark Kettenis 85540d8c4a * 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-28 17:03:38 +00:00
Mark Kettenis 3d2615808f * i386-tdep.c: Include "gdb_assert.h"
(i386_register_convert_to_virtual): Fix such that it can handle
conversion to any floating-point type.  Assert that we are dealing
with a floating-point first.
(i386_register_convert_to_raw): Assert that TYPE is a
floating-point type with length 12.
2001-07-28 16:48:59 +00:00
gdbadmin a2a45089d5 *** empty log message *** 2001-07-28 00:00:03 +00:00
John R. Moore 2db5ca22ef Added dependency of gdb/insight on tcl and tk libraries. 2001-07-27 16:38:32 +00:00
John R. Moore dd2504abf3 Added dependency on tcl/tk libraries. 2001-07-27 16:35:27 +00:00
Elena Zannoni 88e04cc199 2001-07-26 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
	NUM_REGS.
	(SH_DEFAULT_NUM_REGS): Define.
2001-07-27 03:29:08 +00:00
gdbadmin ceeea5f68b *** empty log message *** 2001-07-27 00:01:04 +00:00
Andrew Cagney 89437448ae * gdbint.texinfo (libgdb): Rewrite. 2001-07-26 18:38:29 +00:00
Eli Zaretskii 2033c18a5f * go32-nat.c (read_memory_region): Make sure the segment limit was
indeed set, to work around a Windows 2000 bug.
2001-07-26 14:41:16 +00:00
Eli Zaretskii 9a1c15c5b4 Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted. 2001-07-26 07:29:24 +00:00
Eli Zaretskii 45c54937db Removed. 2001-07-26 07:26:01 +00:00
Daniel Jacobowitz 9f30d7f540 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
* infttrace.c (child_xfer_memory): Likewise.
        * symm-nat.c (child_xfer_memory): Likewise.
        * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-linux.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
2001-07-26 02:23:58 +00:00
gdbadmin ad3dd7ab75 *** empty log message *** 2001-07-26 00:00:04 +00:00
Michael Snyder c2b8fa57f7 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file.  Test stepping over
	breakpoints on consecutive instructions.
	* gdb.base/consecutive.c: New file.
2001-07-25 23:16:40 +00:00
Michael Snyder c70819faea 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-rt-st.exp: Use double-backslash to quote
	curly braces in regular expressions.
2001-07-25 22:45:25 +00:00
Michael Snyder 2b1a1355c5 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
	legitimate output from stepping out of main.
2001-07-25 22:41:43 +00:00
Eli Zaretskii 966beb0fe7 Mention how to make the PDF version of the manual. 2001-07-25 14:58:38 +00:00