Commit Graph

1858 Commits

Author SHA1 Message Date
Jim Kingdon bc447a3931 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0. 1993-06-13 18:47:22 +00:00
Jim Kingdon 9748446f53 * defs.h, main.c (catch_errors): Add return_mask arg.
stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
	other callers: Pass RETURN_MASK_ALL.
	(return_to_top_level), callers: Add return_reason arg.
	* utils.c (quit):
	Use return_to_top_level (RETURN_QUIT) instead of error ().
	* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
	Use SET_TOP_LEVEL not setjmp (to_top_level).
	* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
1993-06-13 18:16:42 +00:00
Jim Kingdon 8357834fbe * dbxread.c (process_one_symbol): Set n_opt_found based on whether
a non-gcc N_OPT symbol is found.  Make SUN_FIXED_LBRAC_BUG a macro
	which returns 0 or 1 to say whether to do it.
	* config/sparc/sun4{sol2,os4}.h
	(SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
	the right thing happens for both acc and SunOS4 /bin/cc.
1993-06-13 02:26:18 +00:00
Jim Kingdon 7c86bda2a1 * mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
probably contained byte-order sins too.
	config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
	The IEEE_FLOAT code in print_floating takes care of it.
1993-06-12 22:12:45 +00:00
Jim Kingdon 574dac8e6d * dbxread.c (process_one_symbol): Rather than having
BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
	is true if we are doing stabs-in-elf, false otherwise.
	config/sparc/tm-sun4sol2.h: Don't define it.
1993-06-11 21:53:49 +00:00
Jim Kingdon 91c87211d6 * Rename remote-es1800.c to remote-es.c
and remote-st2000.c to remote-st.c for 14-char filenames.
	config/m68k/{es1800,st2000}: Use the new names.
1993-06-11 18:29:50 +00:00
Steve Chamberlain 36e73225e6 Checkpoint for dje. 1993-06-10 21:20:25 +00:00
K. Richard Pixley 0b3556feb1 drop minimon support 1993-06-09 20:00:52 +00:00
K. Richard Pixley fa48972a7d removed -lresolv 1993-06-09 19:58:38 +00:00
Jim Kingdon e7ac0161ce * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
m68k-tdep.c (m68k_find_saved_regs).  Don't duplicate code between
	68881 and non-68881 cases.  Check for a pair of movel instructions.
1993-06-08 23:35:00 +00:00
K. Richard Pixley 54d44c8c3d First cut at sparc-vxworks targetting. 1993-06-08 23:05:20 +00:00
Jim Kingdon 683bf9b55d * config/m68k/xm-news.h: add "extern int errno". 1993-06-08 21:44:14 +00:00
K. Richard Pixley 357992027a * remove-vx.c (vx_read_register, vx_write_register): collapse
ifdef I80960 else (assumes) m68k into parameterizable macros
	  VX_NUM_REGS and VX_SIZE_FPREGS.
	* config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
	  VX_SIZE_FPREGS): new definitions.
1993-06-08 20:56:23 +00:00
Stu Grossman 13d4405574 Remove # from XDEPFILES. This causes `make alldeps.mak' to produce a bad
ALLDEPFILES definition.
1993-06-05 01:38:08 +00:00
David D. Zuhn 649aee3f85 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED 1993-06-04 21:19:51 +00:00
Ian Lance Taylor 761d5a4bad * configure.in (mips-idt-ecoffl*): New target; use idtl.
(mips-idt-ecoff*): Added trailing '*'.
	* config/mips/idtl.mt: New file; like idt.mt, but little endian.
1993-06-04 19:47:49 +00:00
Stu Grossman bd91ddd176 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
* alldeps.mak, depend:  Rebuild to account for ser-tcp.
	* config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
1993-06-03 10:54:58 +00:00
Rob Savoye d7df19a6c3 These got lost somehow. 1993-06-01 05:22:50 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Stu Grossman c0ab114cd6 Add lynx files. 1993-05-24 21:05:43 +00:00
Stu Grossman 8e481e13e2 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
xm-i386lynx.h}:  New configuration for Lynx.
1993-05-24 20:58:41 +00:00
Peter Schauer b5ec0a8e8a * config/mips/tm-irix3.h: Add sigcontext offsets for Irix. 1993-05-22 10:35:55 +00:00
Peter Schauer ac8cf67dca * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
the necessary bits.
	* findvar.c (value_from_register): Fix uninitialized first_addr
	which caused problems with assignment of doubles to register variables
	on some targets.
	* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
	missing mips definitions if necessary.

	Fix handling of double register variables for mips targets and big
	endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
	* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
	  8 bytes for doubles.
	* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
	  conversion of type held in multiple registers to host format.
	* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
	  companion to REGISTER_CONVERT_TO_TYPE.
	* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
	  Convert to function calls.
	* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
	  mips targets.
	* mips-tdep.c (mips_print_register): Raw buffer now needs just
	  MAX_REGISTER_RAW_SIZE bytes.
	* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
	  (if defined) for doubles.
	* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
	  New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
	* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
	* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
1993-05-22 07:26:25 +00:00
Sean Eric Fagan d0e1e015dc Slight changes for the 29k-udi target. 1993-05-21 18:32:01 +00:00
Sean Eric Fagan f2e349a242 Change the configuration, for target 29k-udi, a little bit. 1993-05-21 18:07:23 +00:00
Sean Eric Fagan 31589e1ec0 Change the configuration a little bit. 1993-05-21 18:06:53 +00:00
K. Richard Pixley 80ddbedc45 fix typo 1993-05-19 22:44:08 +00:00
Stu Grossman f3fe87c79e * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE. 1993-05-19 22:43:06 +00:00
Jim Kingdon cdaa790509 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
* config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
1993-05-19 02:01:05 +00:00
Jim Kingdon 993583e53b * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
signal_handler_caller.
	* tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
	* tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
	* inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
	Use SIGTRAMP_START if defined.
	* infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
	* infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
1993-05-19 00:57:48 +00:00
Jim Kingdon 865e574b06 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
Comment out corelow.c because core dumps are broken on these machines.
1993-05-18 23:16:00 +00:00
Jim Kingdon d2712f0267 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
redefined warnings.
1993-05-11 05:17:40 +00:00
Jim Kingdon 4a2383c1f8 Patch from Jeffrey Law:
* gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1993-05-10 23:10:46 +00:00
Fred Fish 64c5ac4f6d * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
include declarations for malloc/realloc/free.  Both malloc and
	realloc return 'void *' for non-ANSI compilations.
1993-05-08 19:42:07 +00:00
Stu Grossman e22a9870fd * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c: Declare frame_saved_pc.
	(frameless_function_invocation): New function.
	(frame_saved_pc, init_extra_frame_info): Use
	frameless_function_invocation.
	* gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
	call instead of just grabbing the value currently in %r2.
	(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
	* gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
	definition and use the common one in tm-hppa.h.
1993-05-05 23:53:50 +00:00
Stu Grossman d83a671068 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
which nullifies the following instruction.  (From law@cs.utah.edu).
1993-05-05 22:19:00 +00:00
Peter Schauer 0142214462 * config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
definition.
	* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
1993-05-01 09:56:13 +00:00
Stu Grossman 55bee667d8 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
* config/pa/hppabsd.mh:  Add more files to NATDEPFILES.
	* config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
	* hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
	ptrace needs 5 arguments, #define ptrace to always
	pass zero as the 5th argument.
1993-05-01 01:39:20 +00:00
Steve Chamberlain 24725cfeeb Lint. 1993-05-01 00:51:36 +00:00
K. Richard Pixley 13b464b2cf * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
required target ports which use sockets (like a29k-udi).
1993-05-01 00:15:19 +00:00
Jim Kingdon 0626f40d92 * hp300ux-nat.c: Cast second arg to supply_register calls.
(_initialize_kernel_u_addr, getpagesize): New functions.
	(store_inferior_register_1): Change arg name from value to val.
	(fetch_core_registers): Make arg core_reg_size unsigned.
	Pass 5 args to ptrace.
	* config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
	Remove KERNEL_U_ADDR stuff.
	* infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
	* config/m68k/hp300hpux.m{t,h}:
	Move exec.o from NATDEPFILES to TDEPFILES
	* config/m68k/hp300hpux.mt: Mention GAS requirement.  Remove
	hp-include stuff.  Add m68k-tdep.o to TDEPFILES.
1993-04-28 21:20:40 +00:00
Jim Kingdon 08bb261766 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE. 1993-04-28 19:17:50 +00:00
Ian Lance Taylor c0f2f39c1c * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl. 1993-04-28 16:29:35 +00:00
Jim Kingdon e82980e4ec * config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
1993-04-28 13:51:26 +00:00
Jim Kingdon 609e1c577b * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
that ansidecl.h assumes ANSI on AIX.
1993-04-28 13:42:43 +00:00
Steve Chamberlain 9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Stu Grossman 66a1aa071e * Merge in HPPA/BSD patches from Utah:
* defs.h:  Add const to 2nd arg of psignal prototype.
	* hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
	BSD now.
	* hppab-core.c:  Deleted.  No longer useful.
	* hppab-nat.c:  #include more files.  Use PT_WUREGS, not
	PT_WRITE_U.
	* hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
	* config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
	* config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
1993-04-23 23:43:18 +00:00
Jim Kingdon 5afa2040f4 Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
* symtab.h: Fix LOC_REF_ARG comment.

Wed Apr 22 20:21:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
			  and Jim Kingdon (kingdon@cygnus.com)

	* stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
	LOC_REGPARM symbol.
	* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
	symfile.c (compare_symbols): Don't check first character; STRCMP
	does that.

	* stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
	structures that are passed by address in a register.
	* symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
	* findvar.c (read_var_value),
	printcmd.c (address_info, print_frame_args),
	stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
	* symtab.c (lookup_block_symbol): Deal with it.
1993-04-22 22:27:25 +00:00
Fred Fish 33c01d94ca Remove CVS directory from list of things to keep. 1993-04-20 16:49:33 +00:00
Stu Grossman 9583b29548 * irix4-nat.c (fetch_core_registers): Special version of this for
Irix 4.x, which stores regs a bit differently from other /proc
	based systems.
	* procfs.c, core-svr4.c:  Move fetch_core_registers from procfs.c
	to new file core-svr4.c.
	* config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
	config/i386/ncr3000.mh, config/sparc/sun4sol2.mh:  Add core-svr4.o
	to NATDEPFILES.
	* config/mips/irix4.mh:  Add corelow.o to NATDEPFILES.
1993-04-20 06:01:56 +00:00
K. Richard Pixley 73d0fc7820 Add section table to objfile struct. Use it for find_pc_section.
* objfiles.c (add_to_objfile_sections,
  build_objfile_section_table, find_pc_section): new functions.
  (allocate_objfile): build section table.
* objfiles.h (struct obj_section): new structure.
  (struct objfile): add section table.
  (find_pc_section): new prototype.
* solib.[ch] (find_pc_section_from_so_list): removed.
* sparc-tdep.c: include objfiles.h for find_pc_section.  include
  symfile.h for objfiles.h.
  (in_solib_trampoline): adjusted for new find_pc_section
  prototype.  Removed BAD_RICH_HACK ifdefs.
* symfile.c (syms_from_objfile): offset objfile sections.
  (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
* symfile.h (find_pc_section): prototype removed.  Also fixed
  comment typo NUL -> NULL.
* target.[ch] (find_pc_section_from_targets): removed.
* config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
1993-04-07 07:04:26 +00:00
Stu Grossman e8a5f0ed39 *** empty log message *** 1993-04-06 23:48:29 +00:00
Fred Fish 7788e8221f (Changes and new files to make "none" a full fledged configuration)
* config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
	Currently only tm-none.h has any meaningful contents.
	* config/none/none.mh (NAT_FILE):  Use nm-none.h
	* config/none/none.mh (XM_FILE):  Use xm-none.h
	* config/none/none.mt (TM_FILE):  Use tm-none.h
1993-04-06 22:09:33 +00:00
Stu Grossman 0c101d4920 * configure.in: Sparclite uses sparc config dir. Also has it's
own tm- & .mt files now.  Also add sparclite to configdirs.
	* go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
	* config/i386/go32.mh:  Nullify def of TERMCAP.
	* config/i386/xm-go32.h:  Get rid of redef of EIO.
	* config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
	specific configs.  Very similar to sun4os4, but without solib.
	* sparclite/{Makefile.in configure.in}:  First cut at making this
	dir configgable.
1993-04-06 17:40:55 +00:00
Stu Grossman 4e772f4426 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote
	targets.
	* configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
	EXCEPT go32, which gets ser-go32.c.
	* remote.c:  Use new serial interface.  More remote-xxx's to be
	converted later.
	* ser-bsd.c, ser-termios.c:  Removed.
	* serial.c:  New.  Implements common operations for all serial
	types.
	* ser-unix.c:  New.  Unix specific serial operations for various
	flavors of Unix (Posix, SysV, BSD).
	* serial.h:  Generic serial interface defs.
	* config/i386/go32.mh, config/i386/i386bsd.h,
	config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
	ser-bsd.o from XDEPFILES.  All the magic is now handled in
	configure.in.
1993-04-06 05:50:54 +00:00
Stu Grossman 9acdb2dc82 * config/h8500/tm-h8500.h: Clean up brain damage found by GCC. 1993-04-06 03:52:31 +00:00
Fred Fish ccad2ffc38 tm-68k* -> tm-m68k* 1993-04-06 02:26:41 +00:00
K. Richard Pixley 0e18483336 * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
ifdef protect using BAD_RICH_HACK.  This should be removed soon.
	* config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.
1993-04-02 00:50:30 +00:00
K. Richard Pixley 2093fe6840 Teach sparc solaris to next over shared library functions.
* solib.[hc] (find_pc_section_from_so_list): new function and
  prototype.
* sparc-tdep.c (in_solib_trampoline): new function.
* symfile.[hc] (find_pc_section): new function and prototypes.
* target.[hc] (find_pc_section_from_targets): new function and
  prototypes.
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
  in_solib_trampoline.
1993-03-31 00:29:22 +00:00
Jim Kingdon 359a097f9f Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
* command.c (do_setshow_command): Use %u with var_{u,z}integer.

	* command.{c,h}: New var_type var_integer.
	main.c: Use it for history_size.

	* rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
	Lint and byte-order fixups.
1993-03-30 23:06:29 +00:00
Fred Fish 2225eb851e * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
	tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
	tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
	instead of tm-68k.h.
	* Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
	* README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
	m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
	nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
	* a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
	tm-68k.h to tm-m68k.h.
	* m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
	* m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
	tm-m68k-nofp.h.
1993-03-30 00:33:44 +00:00
Fred Fish d7d35f004c * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
* a29k-pinsn.c:  Renamed from am29k-pinsn.c.
	* a29k-tdep.c:  Renamed from am29k-tdep.c.
	* remote-eb.c, config/a29k/tm-ultra3.h:  Include renamed tm-a29k.h.
	* remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
	tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
	testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
	Map '29k' to 'a29k'.
	* config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
	(TDEPFILES):  Use renamed a29k-pinsn.o and a29k-tdep.o.
	* config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE):  Use renamed
	tm-a29k.h.
	* config/a29k/a29k-udi.mt (MT_CFLAGS):  Remove TARGET_AM29K
	define that does not appear anywhere else in the gdb source tree.
	* doc/gdbinit.texinfo:  Document renaming of tm-29k.h to tm-a29k.h.
1993-03-29 23:38:30 +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 e26140c2e1 Remove i860 directory for list of things to keep. 1993-03-25 19:49:29 +00:00
Fred Fish b0cb2d9154 Add .Sanitize files for new directories. 1993-03-23 03:58:44 +00:00
Fred Fish 034ac992d7 Update to match new config directory structure. 1993-03-23 03:32:59 +00:00
Fred Fish 5076de826c * config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
	* nm-*, xm-*, tm-*:  All native, host, and target files, which
	get linked to nm.h, xm.h, and tm.h respectively by configure,
	moved to appropriate config/<cpu> subdirectory.
1993-03-23 01:19:58 +00:00
Fred Fish 8256379df2 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
	z8k}:  New directories to hold cpu specific configuration files.
	Naming follows gcc convention.
	* config/{*.mt, *.mh}:  All target and host makefile fragment
	config files moved to an appropriate config/<cpu> subdirectory.
1993-03-23 01:07:36 +00:00
Steve Chamberlain 8c100ad074 New file 1993-03-19 23:26:13 +00:00
Stu Grossman e829d98374 * config/rs6000.mh: Get rid of -Dfd_set=int crock.
This is defined in defs.h if necessary.
	* vx-share/vxWorks.h:  Remove #defs of min and max.
	* vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
	vx-share/xdr_rdb.c:  include defs.h.
1993-03-16 18:15:25 +00:00
John Gilmore 48a522d968 * configure.in (m68k-adobe-*): New config.
* tm-68k-nofp.h:  New file, lacks 68881 support.
* config/m68k-nofp.mt:  New file.
1993-03-14 10:58:48 +00:00
John Gilmore 84a05e5253 Remove a few remaining underscore/no-underscore remnants from config files.
* config/{m68k-un.mt, sparc-un.mt}:  Remove.
* config/m68k-noun.mt: Rename to m68k-fp.mt.
* config/sparc-noun.mt: Rename to sparc-em.mt.
* tm-68k-noun.h, tm-spc-noun.h:  Remove.
* tm-68k-un.h:  Rename to tm-68k-fp.h.
* tm-spc-un.h:  Rename to tm-spc-em.h.
* tm-sun4sol2.h: Cleanup.
* configure.in (m68k-*, sparc-* targets):  Corresponding changes.
1993-03-14 10:49:01 +00:00
Steve Chamberlain 350e711979 Always keep simulators 1993-03-03 23:10:48 +00:00
Fred Fish 6985bc542e * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
reported by mycroft@gnu.ai.mit.edu.

	(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
	* configure.in (vax-*-ultrix2*):  New triplet.
	* config/vaxult2.mh:  New file.
	* xm-vaxult2.h:  New file.
1993-03-03 06:04:26 +00:00
Ian Lance Taylor c2a0f1cb8e * remote-mips.c: New file; implements MIPS remote debugging
protocol.
	* config/idt.mt: New file; uses remote-mips.c
	* configure.in (mips-idt-ecoff): New target; uses idt.mt.

	* mips-tdep.c (mips_fpu): New variable; controls use of MIPS
	floating point coprocessor.
	(mips_push_dummy_frame): If not mips_fpu, don't save floating
	point registers.
	(mips_pop_frame): If not mips_fpu, don't restore floating point
	registers.
	(_initialize_mips_tdep): New function; let the user reset mips_fpu
	variable.
	* tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
	mips_fpu, don't use fp0 as floating point return register.
	(FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
	registers.

Also added remote-mips.c to .Sanitize file.
1993-02-22 23:43:03 +00:00
John Gilmore 470f9cbd7b Define REGEX, REGEX1. 1993-02-18 10:02:35 +00:00
John Gilmore f48dd41c6a Sanitize away simulators unless asked to keep-sim.
This is to remove them from the GDB net release til ready for prime time.
1993-02-18 08:10:17 +00:00
John Gilmore ef956fecd2 Remove h8/300 and z8k since not ready yet. 1993-02-16 05:30:08 +00:00
John Gilmore 4434a92c5c * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only. 1993-02-11 07:59:07 +00:00
Ian Lance Taylor 18a85a791b Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
* Based on patch from Martin Walker <maw@netcom.com>:
	* nm-i386sco4.h: New file.  Like nm-i386sco.h, but define
	ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
	* config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
1993-02-10 23:38:11 +00:00
Ian Lance Taylor 2368ffb6c3 Tue Feb 9 08:18:07 1993 Ian Lance Taylor (ian@cygnus.com)
* config/i386sco4.mh (MUNCH_DEFINE): Pass -p to nm to avoid bug in
	cc debugging output.
1993-02-09 16:22:35 +00:00
Steve Chamberlain 6d2f03fea5 Now builds in subdirs 1993-02-04 18:05:30 +00:00
John Gilmore 591f5cb710 Remove "Done in" printout 1993-02-03 08:49:32 +00:00
Steve Chamberlain 4d18e78392 Don't delete z8ksim.mt 1993-02-01 23:00:46 +00:00
John Gilmore 92063c3e60 * config/hp300hpux.mh: No cross-host file needed, just native. 1993-01-29 05:53:31 +00:00
John Gilmore 71e60679bd Remove nonexistent GO32 "native" support. 1993-01-29 05:49:03 +00:00
Steve Chamberlain 62b66d6df1 checkpoint 1993-01-18 20:24:47 +00:00
Steve Chamberlain 2aedd91ee1 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002. 1993-01-15 20:07:26 +00:00
Stu Grossman 92de157bde Add a29k-udi.mt. 1993-01-15 00:09:20 +00:00
Stu Grossman 78205fb620 * Makefile.in: Add info for paread.o.
* config/hppahpux.mh:  Add paread.o to NATDEPFILES.
1993-01-10 05:38:55 +00:00
Steve Chamberlain 0607cf6058 * remote-sim.c: first attempt at general simulator interface
* remote-hms.c: whitespace
	* h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
	understand new stack layout. (print_register_hook): print ccr
	register in a fancy way.
include simulator target too.
1993-01-03 22:37:07 +00:00
Ian Lance Taylor b243fc7e59 Add i386sco4.mh (this time for sure). 1992-12-15 18:43:00 +00:00
Ian Lance Taylor 117f631e54 Tue Dec 15 10:05:56 1992 Ian Lance Taylor (ian@cygnus.com)
* coffread.c (decode_type): catch negative tagndx fields generated
	by SCO 3.2v4 cc.
	* exec.c: comment out string following #endif.
	* configure.in (i[34]86-*-sco3.2v4*): use host i386sco4.
	* xm-i386sco.h: include <sys/types.h> and <sys/dir.h>, required by
	<sys/user.h>.
	* config/i386sco4.mh: new file; like i386sco.mh, but don't require
	gcc, and define const to empty to avoid SCO 3.2v4 cc bug.
1992-12-15 18:12:37 +00:00
Stu Grossman 47bc42e606 * hppahpux.mt (TDEPFILES): Add exec.o.
* hppahpux.mh (NATDEPFILES):  Remove exec.o, add inftarg.o, and fork-child.o.
1992-12-15 01:49:05 +00:00
John Gilmore 491a12058f * config/{vxworks68,vxworks960}: Don't include xdr_regs.o. 1992-12-10 09:56:01 +00:00
Fred Fish 160be0ded9 Changes for Amiga Unix from rhealey@ub.d.umn.edu.
* config/amix.mh (NAT_FILE):  Add, set to nm-sysv4.h.
	* config/amix.mh (NATDEPFILES):  Add.
	* config/amix.mh (XDEPFILES):  Move procfs.o and fork-child.o
	to NATDEPFILES.

	* dwarfread.c (decode_subscr_data):  Remove spurious test that
	accepted only integer subscript types.  We don't do anything
	with the type at the moment anyway.
1992-12-08 21:47:49 +00:00
K. Richard Pixley 43bbd567f2 recording file death 1992-12-08 04:59:31 +00:00
Mark Eichin 238f5383d0 put exec.o back; it deals with exec files, not fork/exec, and thus is still
relevant for remote targets.
1992-11-13 18:26:21 +00:00
Stu Grossman b6113cc408 * Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and
29k-share/dfe/mini2udi.o.
* config/a29k-udi.mt:  Remove yank.o and mini2udi.o.
* alldeps.mak, depend:  Update to deal with removal of
aforementioned files.
* remote-udi.c:  Major cleanups.  Clean up udi_open and drop
requirement for useless 'program' argument.  Clean up
udi_create_inferior, and udi_load to call common download()
routine.  Create download routine to load remote hosts directly
(with the help of BFD) so that we don't need yank.c and
mini2udi.c.
Fix udi_detach to call UDIDisconnect with
the right arguments.  Clean up udi_resume, don't assign tip_error
twice.  Clean up udi_wait, straighten out status codes.  Make
udi_kill really work.
1992-11-12 01:15:06 +00:00
K. Richard Pixley b1de302a44 hp300 native support 1992-10-28 07:08:52 +00:00
K. Richard Pixley 7aae0974c2 vax native support 1992-10-28 05:31:14 +00:00
K. Richard Pixley 5c9bbfe62c apollo native support 1992-10-28 02:58:11 +00:00
Stu Grossman 451df68019 * config/hppahpux.mh (NATDEPFILES): Add hppah-nat.o. 1992-10-23 11:50:37 +00:00
John Gilmore d9beb4fde4 * config/rs6000.mh (NATDEPFILES): Add corelow.o. 1992-10-22 11:24:25 +00:00
Stu Grossman 603900c746 * Makefile.in (HFILES): Add nm-i386sco.h.
* dwarfread.c:  include <sys/types.h> for SCO.
* infptrace.c:  Don't include ptrace.h under SCO.
* config/i386sco.mh:  Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt:  Add exec.o to TDEPFILES.
1992-10-22 08:07:12 +00:00
K. Richard Pixley 99ef5653ef sun4sol2 native stuff 1992-10-22 02:00:07 +00:00
K. Richard Pixley 3fcb902156 umax native support 1992-10-21 05:12:16 +00:00
K. Richard Pixley ca0487229b hppa native support 1992-10-21 04:57:35 +00:00
Stu Grossman 56fc16c70b * mips-nat.c (fetch_core_registers, register_addr): Copy from
coredep.c, but zero out FP_REGNUM & ZERO_REGNUM so that stack
	backtraces from core files work.
	* config/decstation.mh, config/irix3.mh:  Remove coredep.o.
	Functions are now defined in mips-nat.c.
1992-10-20 05:47:47 +00:00
John Gilmore 4c7be680e9 Remove news1000.mt (same as news.mt) from .Sanitize. 1992-10-19 07:56:42 +00:00
Fred Fish 4d0eabff25 Native support cleanup and corefile fixes for i386 SVR4 systems.
* i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
	  fill_fpregset): Moved to i386v4-nat.c
	* i386v4-nat.c, nm-i386v4.h, :  New files.
	* i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE):  Use nm-i386v4.h.
	* i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES):  Add corelow.o,
	  change i386v-nat.o to i386v4-nat.o.
1992-10-17 08:07:14 +00:00
K. Richard Pixley c36989aa95 misc 386 configs updated 1992-10-17 00:07:04 +00:00
K. Richard Pixley f1a353db99 i386bsd cleanup 1992-10-16 23:49:43 +00:00
K. Richard Pixley c7c9407366 i386v host/target/native separation 1992-10-16 23:39:34 +00:00
K. Richard Pixley e24cb83d47 linux host/target/native separation 1992-10-16 23:11:13 +00:00
K. Richard Pixley 61bbb1c2cf sun386 host/target/native separation 1992-10-16 23:03:27 +00:00
K. Richard Pixley a113beac21 i386mach host/target/native separation 1992-10-16 22:57:36 +00:00
K. Richard Pixley d9548d448c go32 host/target/native separation 1992-10-16 22:49:35 +00:00
K. Richard Pixley 173a4f1bda m88k native support 1992-10-16 20:53:46 +00:00
John Gilmore ab29288c1f * nm-i386bsd.h, xm-i386bsd.h: Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.
1992-10-16 11:38:38 +00:00
John Gilmore 5a56198d68 Make core files work again on most hosts, by adding corelow.o. 1992-10-16 10:15:32 +00:00
John Gilmore 62aa17e322 * config/decstation.mh, news.mh (NATDEPFILES): Add corelow.o.
* config/delta88.mt, m88k.mt (TDEPFILES):  Remove coredep.o, it's
native dependent.
1992-10-16 10:04:46 +00:00
K. Richard Pixley 6bf98ac01d ultra3 split 1992-10-16 06:05:36 +00:00
K. Richard Pixley 7536558918 sony news native support 1992-10-15 06:47:31 +00:00
K. Richard Pixley 601f15702e remove duplicate inftarg.o 1992-10-10 01:58:10 +00:00
Stu Grossman 3032863605 * config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o. 1992-10-09 23:11:25 +00:00
Stu Grossman 703bdc5b22 * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o. 1992-10-09 21:36:35 +00:00
John Gilmore 534c231e2c First cut at support for all BSD variants on 386. 1992-10-09 11:48:37 +00:00
K. Richard Pixley 56e8942230 Sun2 native support (untested).
* xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS,
  REGISTER_U_ADDR): removed to nm-sun2.h.
* nm-sun2.h: new file.
* config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o
  fork-child.o sun3-xdep.o removed.
  (NAT_FILE, NATDEPFILES): new macros.
1992-10-09 08:20:47 +00:00
K. Richard Pixley a70dc8981b Mips native support. Decstation and iris4 have been tested.
Iris3 has not.

* mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
  fill_fpregset): removed to irix4-nat.c
* mips-xdep.c: removed.
* irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new
  files.
* procfs.c: include nm.h.
* xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed.
* xm-irix4.h: bump copyright.
(U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS,
PROC_NAME_FMT): removed.
* xm-mips.h (FETCH_INFERIOR_REGISTERS): removed.
* config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
(CC): supply default compiler switches.
* config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support.  Note that
irix3 is untested.
* config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o
  fork-child.o mips-xdep.o coredep.o.
  (NAT_FILE, NATDEPFILES): new macros for native support.
1992-10-09 07:59:37 +00:00
K. Richard Pixley 55ec69fb42 * config/rs6000.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os3.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os4.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
1992-10-09 07:22:15 +00:00
Stu Grossman 4fe3e3753a Remove stratus.mt and stratus.mh until we can get copyright assignment from the
real author of the i860 stuff.
1992-10-09 00:53:44 +00:00
Stu Grossman 1e587b7085 Remove a29k-udi.c till we straighten out AMD copyright stuff. 1992-10-09 00:48:59 +00:00
K. Richard Pixley dd6f869584 * config/sun4os4.mh (XDEPFILES): fork-child.o removed.
(NATDEPFILES): added fork-child.o.
1992-10-09 00:06:15 +00:00
Sean Eric Fagan 17cb669f38 Going back to old remote method for now. 1992-10-08 02:58:25 +00:00
Sean Eric Fagan 0fca5a8c5e Set REMOTE to remote-ser.o. 1992-10-06 23:04:08 +00:00
John Gilmore 5c820c1937 * configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf. 1992-10-06 09:27:57 +00:00
Ian Lance Taylor e661aaae1d Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
* config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions
	needed for vxworks targets.
1992-10-05 16:49:13 +00:00
K. Richard Pixley ef6f3a8b1f Rs6000 native support.
* infptrace.c: remove #ifdef USG from around include ptrace.h.
  machines without this header should not be compiling this file.
* nm-rs6000.h, rs6000-nat.c: new files for native support.
* rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h.
* rs6000-xdep.c: removed.  all code now in rs6000-nat.c.
* xm-rs6000.h: do not include ptrace.h.
  (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h.
* config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o.
  infptrace.o and inftarg.o move to NATDEPFIES.
  (NAT_FILE, NATDEPFILES): new macro for native support.
1992-10-02 05:50:17 +00:00
K. Richard Pixley 93282e6139 Sun3 native support.
* config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES):
  new macros for native support.
  (XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES,
  removed sun3-xdep.o.
* xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
  nm-sun3.h.
* sun3-xdep.c: removed.  All code is now in sun3-nat.c.
* sun3-nat.c, nm-sun3.h: new files for native support.
1992-10-01 22:44:25 +00:00
John Gilmore fe6745b544 Remove dup inftarg.o from NATDEPFILES. 1992-10-01 09:59:33 +00:00
K. Richard Pixley dfc8261766 Native file renaming.
* nat-sparc.c -> sparc-nat.c
* nat-sun4os4.h -> nm-sun4os4.h
* nat-trash.h -> nm-trash.h
* configure.in: link to nm.h rather than nat.h.
* infptrace.c: include nm.h rather than nat.h.
1992-09-30 22:39:02 +00:00
K. Richard Pixley ed4188273c Host/target/native split for sun4.
* Makefile.in (TSOBS): removed corelow.o.
* infptrace.c: included nat.h.
* nat-trash.h: temporary header file.  This should be removed once
  all hosts have the native/host/target split.
* configure.in: add a symlink from nat-trash.h to nat.h if no
  other nat file exists for this configuration.
* sparc-tdep.c: no longer include sys/ptrace.h.
* sparc-xdep.c: removed.  contents have been moved to nat-sparc.c.
* xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
  nat-sun4os4.h.
* nat-sparc.c, nat-sun4os4.h: new files for sun4 native support.
* config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o
  to NATDEPFILES.  removed sparc-xdep.o.
  (NATDEPFILES, NAT_FILE): new macros for native support.
1992-09-30 02:25:31 +00:00
Ian Lance Taylor be891e75a3 Tue Sep 29 10:19:00 1992 Ian Lance Taylor (ian@cygnus.com)
* xm-hp300hpux.h: define MEM_FNS_DECLARED; include <sys/ptrace.h>
	for infptrace.c.
	config/hp300hpux.mh: ALLOCA1 was not defined.
1992-09-29 17:43:35 +00:00
John Gilmore 084c7d4369 * config/hppabsd.mh, config/hppahpux.mh: Use standard coredep.o.
Rename all HPPA files to fit into unique DOS filenames:
* *hppabsd*  => *hppab*
* *hppahpux* => *hppah*
1992-09-26 10:29:01 +00:00
John Gilmore 165410d11f Add inftarg.o and fork-child.o to all *.mh that reference infptrace.o.
Add fork-child.o to all *.mh that reference procfs.o.
1992-09-26 08:08:42 +00:00
John Gilmore 2e384b3b50 * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE
overrides, to avoid problem in xdr_bytes with malloc(0) => 0.
1992-09-19 10:21:04 +00:00
Stu Grossman 9f566a28a1 Switch to ser-bsd.c. 1992-09-08 23:06:06 +00:00
Stu Grossman 3c64303a4e Add apollo68b.mh. 1992-09-03 16:26:59 +00:00
John Gilmore 82eabd43a8 * config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug,
for files in vx-share/*.c.
* xm-rs6000.h (fd_set):  Circumvent the rs6000.mh circumvention,
for normal GDB source files.
1992-09-03 00:55:04 +00:00
John Gilmore 30fd86193e Update .sanitize files 1992-09-02 09:24:34 +00:00
John Gilmore ea25a59aac * config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
should include a ser-XXX.o module.
* configure.in:  Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}:  Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}:  Remove (use identical sun4os4.*).
1992-09-02 08:52:53 +00:00
John Gilmore e1313d24bc * config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt,
config/sparc-noun.mt:  New target configs for embedded.
* config/sun4os3.{mh,mt}:  Remove, never existed in production.
1992-09-02 08:04:32 +00:00
John Gilmore d26c07d124 RS/6000 portability changes (for hosting cross-debuggers).
* config/rs6000.mh (XDEPFILES):  Move xcoffexec.o to target side.
(XM_CLIBS):  Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES):  Adopt xcoffexec.o.
1992-08-29 00:33:47 +00:00
John Gilmore 500516d3cb * tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.
1992-08-28 04:59:03 +00:00
Fred Fish cd46ffad4e * dwarfread.c (struct dieinfo): Remove obsolete at_visibility,
at_import, at_frame_base.
	* dwarfread.c (completedieinfo):  Remove cases for obsolete
	AT_visibility, AT_import, and AT_frame_base attributes.
	* breakpoint.h (BREAKPOINT_MAX):  Increase from 10 to 16 for
	i860, which can keep up to 4 shadow breakpoints.
	* tm-stratus.h (USG):  Define.
	* tm-stratus.h (TARGET_BYTE_ORDER):  Define to BIG_ENDIAN.
	* xm-stratus.h (HOST_BYTE_ORDER):  Define to BIG_ENDIAN.
	* xm-stratus.h (xm-sysv4.h):  Include, name changed from xm-svr4.h.
	* xm-stratus.h (NO_JOB_CONTROL):  Remove define.
	* config/stratus.mt (TDEPFILES):  Include files available from
	stratus that are not yet in release pending receipt of paperwork
	at FSF.
	* buildsym.c (finish_block):  Minor code format change.
	* gdbtypes.h (struct field):  Add to comments.
	* gdbtypes.h (virtual_field_bits):  Add to comments.
	* objfiles.c (allocate_objfile):  Change obstack interface to
	match FSF merging efforts.
1992-08-01 20:40:59 +00:00
David Henkel-Wallace ddce75e075 Support OSE. 1992-07-23 18:57:29 +00:00
Stu Grossman 15da025b50 Remove -bnodelcsect from MH_CFLAGS to prevent gcc confusion. 1992-07-14 07:43:34 +00:00
Fred Fish 45bf7246c8 * config/ncr3000.mt (DEMANGLE_OPTS): Remove. 1992-07-14 02:13:37 +00:00
John Gilmore 49f3be18e1 * config/sun4sol2.mh: Remove -xs flag, default INSTALL to cp. 1992-07-13 10:36:39 +00:00
Fred Fish 498f1df044 * configure.in: Add m68k-ericsson-*.
* remote-es1800.c, tm-es1800.h, config/es1800.mt:  New files.
1992-07-07 07:22:56 +00:00
Per Bothner 71da9fdc59 Add linux.mh and linux.mt. 1992-06-23 06:24:22 +00:00
Per Bothner defb51a722 New port to Linux (a free Unix clone for 386 machines). 1992-06-23 00:23:22 +00:00
Stu Grossman 76b731f9ae HPPA BS 1992-06-20 01:00:46 +00:00
Stu Grossman 39140ed22b HPPA merge. 1992-06-19 22:48:09 +00:00
Stu Grossman fa33785d13 Keep sun4sol2.m{th}. 1992-06-16 22:47:40 +00:00
Stu Grossman 933e7c9c8d More 29k crap to remove! 1992-06-16 22:39:37 +00:00
Fred Fish 4c07f28d77 * Makefile.in (VERSION): Bump to 4.5.5.
* symtab.c (decode_line_1):  Until C++ support stabilizes, when
	C++ lookups fail, print possibly helpful hint about completion.
	* cplus-dem.c (demangle_signature):  Fix ARM style demangling
	for static data members.
	* dbxread.c (dbx_psymtab_to_symtab_1):  Fix prototype.
	* config/ncr3000.mh (INSTALL):  Don't use /usr/ucb/install,
	it's broken on ncr3000's.
1992-06-15 19:25:13 +00:00
John Gilmore 93297ea028 * buildsym.h: Add processing_acc_compilation flag.
* buildsym.c (read_sun_builtin_type, read_sun_floating_type):  New.
(define_symbol):  Skip arg types in function entries.  Resolve
overloaded 'P' which acc uses for prototypes of functions called
by this file.
(read_type: 'b', 'r'):  Handle Solaris2 builtin types.

* minsyms.c (prim_record_minimal_symbol_and_info):  Hack to
save size of ELF symbols.  FIXME.
* tm-sun4os5.h:  Rename to tm-sun4sol2.h.  Update defines for Sol2.
* xm-sun4os5.h:  Rename to xm-sun4sol2.h.  Hack more defines.

* config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht]; new xm, tm.
1992-06-13 02:18:44 +00:00
John Gilmore bf2e5f6b82 * configure.in: Solaris config is sparc-sun-solaris2.
* config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht].
1992-06-13 01:56:41 +00:00
Fred Fish 36ce1b6469 * c-exp.y, m2-exp.y: Move remapping defines for malloc and
realloc.  Add remapping defines for {yyss, yyssp, yyvs, yyvsp}.
	* config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh,
	sun4os5.mh}:  Add definition for INSTALL using /usr/ucb/install.
1992-06-10 02:05:20 +00:00
John Gilmore d9915ebc47 * Makefile.in: Roll VERSION to 4.5.4.
* Makefile.in, config/*.mh, config/*.mt:  Rename TM_CFLAGS
to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
* config/sun4os5.mh:  Add MH_CFLAGS=-xs to save debug info.
1992-06-09 05:10:15 +00:00
Stu Grossman e8a3827836 See gdb/Changelog for details. 1992-06-08 21:35:27 +00:00
Stu Grossman cb635d8719 See gdb/Changelog for details 1992-06-08 21:16:44 +00:00
Steve Chamberlain 4025fb37c1 Changes to support GDB running on DOS using GO32 and H8 support
* defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
	allowing hosts with different text and binary file formats to
	work.
	* coffread.c (read_coff_symtab): changed calling convention and
	operation - now it opens its own file with FOPEN_RB rather than
	duping and fdopening the provided handle.
	* dbxread.c, cplus-dem.c: #include mangling.
	* exec.c: If O_BINARY isn't defined, set it to 0, call openp for
	binary files oring in the right bit.
	* utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
	* remote-hms.c: cleanup to use the new remote serial stuff
	* serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
	independent remote terminal I/O.
	* remote.c: if DONT_USE_REMOTE is defined, then don't use it.
	* source.c (openp): fix off by one problem removing / - can now
	open a source file in the root directory with DOS.
	* values.c (value_as_pointer): remove bogus address bits from
	long. (unpack_long): unpack into unsigned long/short if pointer.
sun4.mh: use the ser-termios stuff
go32.mh: use the ser-go32 stuff
1992-05-13 01:13:18 +00:00
Fred Fish a7a8c21eb4 * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore. 1992-05-10 01:43:37 +00:00
Fred Fish a74c9110c1 * config/ncr3000.mt: New target config file. 1992-05-03 23:05:45 +00:00
Fred Fish 952131da03 Replace MINUS_G with CFLAGS. 1992-04-22 21:44:58 +00:00
Stu Grossman d6c20dc563 Add config target for 29k/UDI. 1992-04-22 21:02:22 +00:00
Fred Fish 5435f92798 New configuration file for ncr 3000. 1992-04-11 05:40:44 +00:00
John Gilmore ede23f3b2f Sort the names, since the file renaming. 1992-04-03 04:46:38 +00:00
John Gilmore 29acf1753a Don't need to bring in mipsread.o specially any more. 1992-04-03 04:27:03 +00:00
John Gilmore 7e7ba5e2c4 Keep sun4os5 config files now that Sun says it's OK. 1992-04-01 01:08:06 +00:00
Stu Grossman 9d4c62df07 * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs. 1992-03-31 02:36:24 +00:00
John Gilmore 3414e4eb38 New host and target. 1992-03-29 23:22:35 +00:00
Per Bothner 1eeba68641 Merged in latest RS6000 diffs from Metin G. Ozisik. 1992-03-29 22:33:35 +00:00
K. Richard Pixley a00d0abd6f irix4 support 1992-03-25 07:27:36 +00:00
Per Bothner 5c8d3927e3 * config/rs6000.mh: Update (for Fred's new mmalloc)
flags to disable use of GNU malloc/mmalloc.
	* munch:  Change SYSV rule to allow .text before the label,
	as well as after, to work for AIX.
	* gdbtypes.h:  Minor clarifiction.
1992-03-24 22:54:21 +00:00
Fred Fish 3d42671fef Missed in last checkin. 1992-03-15 01:10:01 +00:00
Steve Chamberlain fe7ca71191 Reflect file name changes 1992-03-13 16:47:29 +00:00
John Gilmore d716b16c26 * ecoff.c: Move to ../bfd/coff-msym.c.
* config/mt-*mips:  Remove ecoff.o from the configuration.
1992-03-06 08:05:20 +00:00
Stu Grossman 407a8389b4 * config.sub configure.in config/.Sanitize config/mh-irix4
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c
gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h
gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3
gdb/config/mh-irix4 texinfo/configure.in:  Port to SGI Irix-4.x.
1992-03-05 20:20:27 +00:00
Per Bothner 2b5a8d9c47 More changes, mostly from IBM, for the rs6000. See ChangeLog. 1992-03-01 01:04:13 +00:00
John Gilmore 238025a44b * config/mt-bigmips, config/mt-littlemips: Add ecoff.o. 1992-02-27 19:56:52 +00:00
Sean Eric Fagan b745cf362d Added mh-apollo68v and mt-os68k as files-to-keep. 1992-02-11 00:16:18 +00:00
Sean Eric Fagan 93deef92f4 Added support for hosting on an Apollo Series 400 (under System V emulation),
and targeted towards an OS/68000 system.
1992-02-10 23:31:40 +00:00
Stu Grossman 88c52c297c Add xm-vaxbsd.h and xm-vaxult.h to .Sanitize. Add mh-vaxbsd and mh-vaxult,
remove mh-vax from config/.Sanitize.
1992-02-07 22:58:40 +00:00
Stu Grossman 9e8bf29afd * xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
config/mh-vaxbsd, configure.in:  Split up config stuff for Vaxen
into BSD and Ultrix.
1992-02-01 12:46:55 +00:00
John Gilmore 5dfd2a9bfb Avoid references to files that aren't assigned to FSF. 1992-02-01 02:40:06 +00:00
John Gilmore b8bb4a24e0 Use regex package on Vax BSD. 1992-01-31 08:52:21 +00:00
Stu Grossman 92732c2789 * bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in:
Fix SCO configuration stuff.
1992-01-31 00:24:21 +00:00
Steve Chamberlain 92abd4a713 Namechange, h8300-hds ->h8300-hms 1992-01-24 23:26:40 +00:00
Steve Chamberlain 974fb9e41c Initial revision 1992-01-24 23:26:01 +00:00
Fred Fish 3a07685179 Check in new config files for stratus. 1992-01-19 00:44:42 +00:00
Fred Fish 57486b9241 Initial revision 1992-01-19 00:44:40 +00:00
Steve Chamberlain 7c5622817d New stuff 1992-01-16 23:57:59 +00:00
Fred Fish 3e60a6b1d3 * config/mh-amix, config/mh-i386v4: Change to find alloca by
compiling and linking alloca.c, even when it is not strictly
  required.  Also arrange to link with -ltermlib rather than -ltermcap.
1991-12-23 03:44:49 +00:00
Fred Fish ca9b13c75c Set XM_CLIBS to "-lc /usr/ucblib/libucb.a" so native compilers can find
alloca, but only if it is not found in the std C library.  Also forces
libc to be search before libucb.a, which contains much broken stuff we
*don't* want.
1991-12-20 19:48:13 +00:00
Fred Fish db1eca19a5 Add solib.o to TDEPFILES for these SVR4 systems. 1991-12-16 21:05:22 +00:00
Fred Fish 8978401fd1 Add new files mh-i386v4 and mt-i386v4 to .Sanitize, check in the new
files.
1991-11-30 04:49:48 +00:00
Fred Fish 9336ad7aea Initial revision 1991-11-30 04:49:47 +00:00
Stu Grossman 605fe2b1b0 Add -lbsd to XM_CLIBS so that we get the right version of setpgrp. 1991-11-25 20:33:19 +00:00
John Gilmore 2fd5584884 Add warning and compiler override. 1991-11-22 22:48:20 +00:00
John Gilmore 2becda63fb Add rs/6000, merge xconfig and tconfig into config. 1991-11-21 03:12:25 +00:00
John Gilmore db715c48de Rename tm-88k.h to tm-m88k.h 1991-11-19 00:47:14 +00:00
John Gilmore 1c86f18f53 Remove tdescs. 1991-11-19 00:45:03 +00:00
Steve Chamberlain faa0da67ef Added delta88 1991-11-14 22:01:47 +00:00
Steve Chamberlain 29e103320f Added M_INSTALL magic 1991-11-14 03:57:30 +00:00
John Gilmore 57e69bb3c0 Handle alloca with fake routine. 1991-11-14 01:13:35 +00:00
John Gilmore 0724ed4f1f Post-tdesc working version, but with tdesc's not gone yet. 1991-11-14 01:12:24 +00:00
Steve Chamberlain 5d2d9ca629 Initial revision 1991-11-12 17:29:57 +00:00
John Gilmore 37b637f3b7 Initial revision 1991-11-12 15:27:52 +00:00
Fred Fish 285b1325d9 Remove coredep.o from XDEPFILES. The fetch_core_registers() function is
now found in procfs.c for hosts with /proc support.
1991-11-12 03:26:13 +00:00
Per Bothner 6a8687f3c7 * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.
1991-11-04 23:10:47 +00:00
Steve Chamberlain e92cc5b944 New files 1991-11-04 01:25:43 +00:00
Steve Chamberlain c02e12c0ec Initial revision 1991-11-04 01:25:42 +00:00
Fred Fish 811348f23b Add "amix". 1991-10-24 18:09:34 +00:00
Fred Fish d10861fdda Initial revision 1991-10-24 11:32:42 +00:00
John Gilmore e89b8910fc Add note about strstr botch on sunos4.0.3c and previous. 1991-10-23 18:12:20 +00:00
John Gilmore c5a475c86d * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe:  Add REGEX, which seems to be missing.
1991-10-17 05:57:02 +00:00
John Gilmore a13f8a2f23 Remove -Dgetpagesize()=4096 kludge. 1991-10-16 19:41:34 +00:00
John Gilmore 5d2cfefe93 * configure.in, tconfig/decstation, xconfig/decstation: Rename
dec3100 to decstation.
1991-10-16 01:06:01 +00:00
John Gilmore 634df4a653 Initial revision 1991-10-05 05:34:05 +00:00
Per Bothner 4cf73f0475 Define HAVE_STRSTR. 1991-09-20 00:15:19 +00:00
John Gilmore 50ee356a16 * i387-tdep.c: New file, consolidates most 80387 support,
and eliminates host dependency on double<->extended conversions.
* i386-xdep.c, symm-xdep.c:  Remove most 387 support.
* xconfig/i386{sco,v,v-g,v32,v32-g}:  Now need i387-tdep.o.
1991-09-18 23:16:45 +00:00
Stu Grossman 549d4382b7 Initial revision 1991-09-17 23:41:34 +00:00
Stu Grossman acd551ee63 sgi/irix config stuff. 1991-09-17 06:57:44 +00:00
John Gilmore f5c414cb70 New Ultracomputer/29000 stuff. 1991-09-13 03:54:45 +00:00
John Gilmore cdfb337309 Make Munch work. 1991-09-13 00:28:05 +00:00
John Gilmore 780bdcb936 Initial revision 1991-09-13 00:07:27 +00:00
John Gilmore 4efad21082 Add m68k-tdep.o. 1991-08-22 02:12:30 +00:00
John Gilmore b142fea5e8 Remove warnings about system assembler. 1991-08-20 23:01:06 +00:00
John Gilmore 4eda21f2f6 * Add dec3100 as equivalent to littlemips. Indicate in all host &
target config files that they are for the host.  When the lines
        get copied into the Makefile, this makes it more obvious what's
        up.
1991-07-04 21:56:20 +00:00
John Gilmore dfb12287fe Initial revision 1991-07-04 21:55:36 +00:00
John Gilmore 6617e3464b Add dec3100 as equivalent to littlemips.
Indicate in all host config files that they are for the host.  When the
lines get copied into the Makefile, this makes it more obvious what's up.
1991-07-04 21:51:41 +00:00
John Gilmore eb2022d7dd Move all the #msg's from the xconfig files into the tconfig files for Suns. 1991-06-04 08:59:39 +00:00
John Gilmore b775aef041 Remove copyrights from these tiny files rather than update them to the
GPL version 2.  It isn't worth copyrighting two lines of file names.
1991-06-04 08:58:38 +00:00
John Gilmore 7a6876d1dc Remove copyrights from these tiny files, rather than update them to
GPL version 2.  Two lines of file names aren't worth copyrighting.
1991-06-04 08:47:23 +00:00
K. Richard Pixley 2d797c084b Initial revision 1991-05-23 22:05:24 +00:00
John Gilmore b232294fd2 Update comment; these are for SVR3.2, not SVR2. 1991-05-19 17:13:32 +00:00
John Gilmore cacbbaa890 Add tahoe and i386sco targets; update comments in i386v32 targets. 1991-05-19 17:11:52 +00:00
John Gilmore 90c2206d37 Initial revision 1991-05-19 17:11:51 +00:00
John Gilmore 216f330fc1 Bothner 1991-05-17 19:49:37 +00:00
John Gilmore 591cd7a6f4 Jim Kingdon's port to m88k on his last day at Cygnus. 1991-05-04 04:41:34 +00:00
John Gilmore 74dcea7b24 Jim Kingdon's port of gdb to m88k on his last day. 1991-05-04 04:40:57 +00:00
Jim Kingdon 1dcabdbc6a * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096.
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.
1991-04-26 22:55:42 +00:00
John Gilmore 847fd51966 *** empty log message *** 1991-04-05 09:11:18 +00:00
K. Richard Pixley dd3b648e8b Johns release 1991-03-28 16:28:29 +00:00