Commit Graph

10045 Commits

Author SHA1 Message Date
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