Commit graph

4964 commits

Author SHA1 Message Date
David D. Zuhn
44c8c1d565 add INFO-DIR-ENTRY 1993-03-26 03:01:46 +00:00
Per Bothner
f20c07d975 CVS botch. Add MACHTYPE_OK to mipsbsd.c; re-remove aout-mipsbsd.c. 1993-03-26 00:38:09 +00:00
Fred Fish
743b663c4b List the known things that are currently sanitized away. (Sanitize
should support a separate list of these things and report them
differently from unknown things that are sanitized away).
1993-03-25 23:22:52 +00:00
Stu Grossman
01aa2b19a1 * findvar.c (read_register, write_register): Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
	* (value_from_register):  Install H8500 specific code to return
	proper value when register is being used as a pointer.
	* h8500-tdep.c:  Remove extra defines of NUM_REGS.
	(h8500_skip_prologue):  Use correct lengths for LINK instructions.
	(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
	chain frames properly by combining frame pointer with T reg.
	(init_extra_frame_info):  Delete.  It's now a macro.
	(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
	offset by the correct amount off of the frame pointer.
	(register_byte):  Delete.  It's now a macro.
	(register_raw_size, register_virtual_size):  Delete.  Replaced by
	common routine h8500_register_size, cuz there's no difference
	between the raw & virtual sizes on this machine.
	(register_convert_to_raw, register_convert_to_virtual):  Delete,
	cuz there's no difference between the raw & virtual forms.
	Replaced by memcpy in tm file.
	(register_virtual_type):  Rename to h8500_register_virtual_type.
	Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
	(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
	emulator have same reg offsets.  This is all handled in the
	simulator code now.
	(h8500_trapped_internalvar):  New routine to detect references to
	convenience vars acting as pointer pseudo-regs.
	(h8500_value_trapped_internalvar):  Conjure up value of pointer
	pseudo-regs.
	(h8500_set_trapped_internalvar):  Convert set value in real
	register references.
	infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
	code segment register.
	infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
	by hand.
	(wait_for_inferior):  Add h8500 specific code to add stack segment
	when reading SP register.
	remote-sim.c (fetch_register):  Spacing.
	tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
	detect cruft.  Redo all register manipulation stuff.  Get rid of
	pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
	to frame pointer.  (IS_TRAPPED_INTERNALVAL,
	VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
	to create internal vars for pointer pseudo-regs.
1993-03-25 23:15:31 +00:00
Fred Fish
f747d2596a * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
	support that can't be integrated anyway due to lack of clear
	authorship.
1993-03-25 23:08:24 +00:00
Stu Grossman
ccf1e898d7 * findvar.c (read_register, write_register): Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
	* (value_from_register):  Install H8500 specific code to return
	proper value when register is being used as a pointer.
	* h8500-tdep.c:  Remove extra defines of NUM_REGS.
	(h8500_skip_prologue):  Use correct lengths for LINK instructions.
	(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
	chain frames properly by combining frame pointer with T reg.
	(init_extra_frame_info):  Delete.  It's now a macro.
	(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
	offset by the correct amount off of the frame pointer.
	(register_byte):  Delete.  It's now a macro.
	(register_raw_size, register_virtual_size):  Delete.  Replaced by
	common routine h8500_register_size, cuz there's no difference
	between the raw & virtual sizes on this machine.
	(register_convert_to_raw, register_convert_to_virtual):  Delete,
	cuz there's no difference between the raw & virtual forms.
	Replaced by memcpy in tm file.
	(register_virtual_type):  Rename to h8500_register_virtual_type.
	Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
	(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
	emulator have same reg offsets.  This is all handled in the
	simulator code now.
	(h8500_trapped_internalvar):  New routine to detect references to
	convenience vars acting as pointer pseudo-regs.
	(h8500_value_trapped_internalvar):  Conjure up value of pointer
	pseudo-regs.
	(h8500_set_trapped_internalvar):  Convert set value in real
	register references.
	infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
	code segment register.
	infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
	by hand.
	(wait_for_inferior):  Add h8500 specific code to add stack segment
	when reading SP register.
	remote-sim.c (fetch_register):  Spacing.
	tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
	detect cruft.  Redo all register manipulation stuff.  Get rid of
	pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
	to frame pointer.  (IS_TRAPPED_INTERNALVAL,
	VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
	to create internal vars for pointer pseudo-regs.
1993-03-25 22:34:26 +00:00
Ian Lance Taylor
61001d969d * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
(fixup_segment): Add a29k special case; the linker is not prepared
	to see a segment offset here.
1993-03-25 22:09:27 +00:00
Ian Lance Taylor
5f2912ccce * config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
	(gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
	* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
	Added waits for prompts after several question responses.  Added
	some more responses used by a29k-amd-udi-gdb.
	* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
	pass different arguments, restart UDI connection after program
	completion.
	* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
	gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
	* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
	gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
	gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
	after program completion.
	* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
	compiled with a SELECT_VECS setting.
	* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
	infinite recursion.

	* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
	Added checks for COFF results, and made them expected failures for
	all targets.  It would be better to make them expected failures
	for COFF targets only.
1993-03-25 20:34:44 +00:00
Fred Fish
e26140c2e1 Remove i860 directory for list of things to keep. 1993-03-25 19:49:29 +00:00
Fred Fish
2531303ccf * Makefile.in: Numerous small changes to macro definitions
and rules for building gdb distribution tree.  Many macros
	eliminated or merged, and rules simplified.
	* alldeps.mak:  Update.
	* depend:  Update.
1993-03-25 18:18:14 +00:00
Ian Lance Taylor
2c19a57c44 * app.c (do_scrub_next_char): Added new state, 10, modifying state
9 to only keep a space in between identifier characters.
1993-03-25 17:18:23 +00:00
Ken Raeburn
8aec543c55 log for configure change 1993-03-25 14:10:06 +00:00
Ken Raeburn
a4e879a1a1 Some versions of make don't like empty variable expansions on lines by
themselves (outside of dependency rules).  Fix such Chill stuff to be
comments instead.
1993-03-25 14:03:34 +00:00
David D. Zuhn
2d4bef5ef6 doc last changes 1993-03-25 08:32:55 +00:00
David D. Zuhn
62550228b6 look in srcdir for texinfo source, then in objdir 1993-03-25 08:32:08 +00:00
Rob Savoye
7996cbedc8 Doesn't need links anymore. 1993-03-25 05:07:24 +00:00
David D. Zuhn
ebc0f5821b rename deja-gnu to dejagnu 1993-03-25 01:25:09 +00:00
David D. Zuhn
21ce979a5a add dvi, fix info & install-info (no recursion) 1993-03-24 22:45:00 +00:00
David D. Zuhn
6a962504cb add dvi target 1993-03-24 22:07:34 +00:00
David D. Zuhn
b396a969dd recurse through SUBDIRS for dvi target 1993-03-24 21:53:48 +00:00
David D. Zuhn
9da5995603 add dvi target, define & use TEXI2DVI 1993-03-24 21:51:47 +00:00
David D. Zuhn
afcc637a43 add dvi target 1993-03-24 21:51:04 +00:00
Per Bothner
796dc40d63 * aout-target.h (MY(object_p)): Fail if MACHTYPE_OK is
defined, and yields false.
	* aout-mipsbsd.c, i386bsd.c:  Define MACHTYPE_OK appropriately.

	* archive.c (snarf_ar_hdr):  Add support for reading (only,
	so far) BSD-4.4-style extended headers.
	* archive.c:  Some more comments.
1993-03-24 21:47:14 +00:00
David D. Zuhn
3dec6e14a9 fix setting of target_alias when using config.guess (fixes PR config/2422) 1993-03-24 21:10:41 +00:00
Fred Fish
214aa2448f * gdb.t31/gdbme.ch: Re-enable code that previously caused
compiler to coredump.
	* gdb.t31/chillvars.exp:  Re-enable tests that depend on that
	code.
1993-03-24 17:50:44 +00:00
David D. Zuhn
8e95e016fb add installcheck & dvi 1993-03-24 10:37:27 +00:00
David D. Zuhn
f2681266a7 update dvi & info targets 1993-03-24 10:34:02 +00:00
Ken Raeburn
828e987e6b mipsbsd renaming, libbfd optimization fixes 1993-03-24 08:18:16 +00:00
Ken Raeburn
550fb7afd3 turn on file-position optimizations again 1993-03-24 08:01:07 +00:00
Ken Raeburn
a33a2b65c5 disable position-caching code for now 1993-03-24 05:10:05 +00:00
Ken Raeburn
e5b0286097 fix some (not all) bugs in previous changes 1993-03-24 05:09:18 +00:00
Roland Pesch
b0ad85e1f4 *** empty log message *** 1993-03-24 00:04:31 +00:00
Roland Pesch
8c69096bc3 Formatting updates from progressive. 1993-03-24 00:04:11 +00:00
Ken Raeburn
044c1ba9e5 aout-mipsbsd -> mipsbsd 1993-03-23 20:21:47 +00:00
Ken Raeburn
07bb4e8abc delete non-mips-related code 1993-03-23 20:19:16 +00:00
Ken Raeburn
db15c6b17a rename for <=14 chars 1993-03-23 20:14:25 +00:00
Ken Raeburn
b31d06ca14 Eek, a bug!
Position 0 means no-movement for SEEK_CUR ... not for SEEK_SET.
1993-03-23 20:11:25 +00:00
Ken Raeburn
33446e9093 oops, left some debug code in 1993-03-23 17:50:26 +00:00
Fred Fish
bfb33935d4 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
coredump.
	* gdb.t31/chillvars.exp:  Comment out tests that depend on that
	code.
1993-03-23 16:56:52 +00:00
Ian Lance Taylor
58bb1e76b4 Moved the hacked unexport line so that it is not the first target. 1993-03-23 16:08:25 +00:00
Ian Lance Taylor
7481617fbc Move the hacked unexport line so that it does not become the first
target.
1993-03-23 16:06:39 +00:00
Ken Raeburn
6c0eb6c8c9 FILE_OFFSET_IS_CHAR_INDEX changes to libbfd.c and hosts/sparc.h 1993-03-23 14:23:48 +00:00
Ken Raeburn
0d552306f8 libbfd.c: Maintain `where' field of BFD with current position while BFD is
in use.  If FILE_OFFSET_IS_CHAR_INDEX, assume arithmetic can be done on it,
and ignore SEEK_SET requests that move to the current position.

hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.
1993-03-23 13:54:41 +00:00
Ken Raeburn
30d17c7e22 updated for obj-bfd-sunos, ho-decst* changes 1993-03-23 13:37:15 +00:00
Ken Raeburn
155e7bc479 (do_relocs_for): Don't allocate storage or process relocs if there aren't any
relocs to process.  Avoids malloc/free bug on SCO too.
1993-03-23 13:34:55 +00:00
Ken Raeburn
214d840f9a rename for <=14 chars 1993-03-23 13:27:05 +00:00
Ken Raeburn
59b5f843ff unused; deleted 1993-03-23 13:25:13 +00:00
Ken Raeburn
992be253d1 since bfd vers is > 2.0, make doc say so also 1993-03-23 13:10:30 +00:00
David D. Zuhn
aac4898555 add X11 directory support 1993-03-23 08:17:50 +00:00
David D. Zuhn
f20e984286 add dvi & installcheck 1993-03-23 08:14:13 +00:00