Commit graph

168 commits

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