Commit Graph

445 Commits

Author SHA1 Message Date
Steve Chamberlain ae0ea72ee2 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.
1992-05-13 01:12:18 +00:00
Fred Fish 4db8e515c4 * Makefile.in (VERSION): Bump to 4.5.2.
* Makefile.in (DEMANGLE_OPTS):  Add, default to -Dnounderscore.
	* configure.in:  Simplify ncr3000 gdb_host logic, add gdb_target.
	* dwarfread.c (struct_type):  Apply fix from Peggy Fieland for
	proper handling of bit fields.
	* gdbtypes.h (struct type):  Clarify use of field.bitpos.
	* symtab.h:  Fix couple of misspellings in comments.
	* value.h (struct value):  Clarify use of bitpos.
	* value.h (unpack_field_as_long):  Change prototype, returns
	LONGEST.
	* values.c (unpack_field_as_long):  Change return type to LONGEST,
	sign extend unpacked fields that are signed, other rewriting.
	* config/ncr3000.mt:  New target config file.
1992-05-03 23:05:07 +00:00
Stu Grossman 0857b46a9c * Makefile.in: Add 29k/UDI support. Improve depend.
* .Sanitize, alldeps.mak, configure.in, depend:  Add 29k/UDI support.
1992-04-24 15:01:45 +00:00
Fred Fish 6e706950c3 Recognize new ncr3000 config. 1992-04-11 05:42:48 +00:00
John Gilmore f9e3b3ccc2 * target.c (nomemory): Now that higher levels examine errno, give EIO.
* tm-sparc.h:  Don't #include <sun4/reg.h>.
* sparc-tdep.c (sparc_frame_chain, frame_saved_pc):  Remove
dependency on <sun4/reg.h>.  Start to handle cross-byte-order.
* language.h:  Avoid forward enum declaration.
* configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh,
config/sun4os5.mt:  New host and target.
* defs.h (errno): #include <errno.h> rather than assuming int.
From Pierre Willard.
1992-03-29 23:14:34 +00:00
Stu Grossman 88f36033ee * configure.in: fix iris/iris3. 1992-03-25 23:22:47 +00:00
Steve Chamberlain fe7ca71191 Reflect file name changes 1992-03-13 16:47:29 +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
John Gilmore 069bc45432 * configure.in (mips-big-* target): Same as Sony News.
* config/mt-bigmips, config/mt-littlemips:  Add ecoff.o.
* ecoff.c:  New file for symbol swapping routines.
1992-02-27 19:56:28 +00:00
Sean Eric Fagan b159ce3f16 Makefile.in: Removed some '#''s that caused an extraneous include of
the host/site/target files.
configure.in:  Added support for hosting on an Apollo Series 400, and
	targeting on an OS/68k machine.
1992-02-10 23:58:50 +00:00
K. Richard Pixley bcdbe02f82 In configure{.in} {host|target}_makefile_frag should name a file
relative to srcdir.  I think it now does.  configure has been
corrected.  configure.texi has been clarified.
1992-02-08 08:57:08 +00:00
Michael Tiemann c556c4267b Add ${srcdir} for makefile_frags. 1992-02-07 07:52:08 +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
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 8174b2afcf Name change (It's hitacho micro systems, not hitachi data systems) 1992-01-24 02:35:15 +00:00
Fred Fish be9a236222 Add several new files for stratus (i860* and *-stratus.h). Also add
macro USER_CFLAGS to Makefile.  Add stratus config frags to configure.in.
1992-01-19 00:52:06 +00:00
Steve Chamberlain ce7730d674 Added h8300 target 1992-01-16 23:50:15 +00:00
Fred Fish ee1ad69ccd * configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
Change svr4 references to sysv4.

* source.c:  Move declaration of external function index to
front of file so it is in scope for all references.

* utils.c (error, fatal):  Make definitions consistent with
defs.h declarations (declared as "volatile void").
1991-12-20 19:44:16 +00:00
K. Richard Pixley f7fde1e046 add a couple missing ${srcdir}s 1991-12-08 00:58:43 +00:00
K. Richard Pixley bc02876616 Sat Dec 7 00:00:15 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA.
	  added clean-info.  added some standards.text support and made it
	  look like our other Makefiles.

	* configure.in: mark this directory target dependent.  configure
	  now runs entirely in objdir so make existence tests and
	  references against ${srcdir}.

Thu Dec  5 22:46:13 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 08:03:27 +00:00
Fred Fish 8c6e9f05f2 Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
file, recognize names beginning with '.' as compiler generated "fake" tags
for anonymous structures, unions and enums.  Add target dependent functions
for SVR4 /proc register interface (i386-tdep.c).
1991-11-30 04:46:50 +00:00
John Gilmore 2b61280ae6 Further cleanup for release. 1991-11-22 22:49:08 +00:00
John Gilmore 3978d0599b Makefile fragments for various hosts and targets now come from
gdb/config/mh-* and gdb/config/mt-*.  This is for consistency with
other config setups.
1991-11-21 03:04:36 +00:00
K. Richard Pixley 50d2bb5b4c now handle doc subdir, too 1991-11-14 00:28:11 +00:00
Steve Chamberlain c4a6d8f12a Remove spurious echo 1991-11-08 05:59:52 +00:00
Steve Chamberlain 8c7ae4a273 Added delta88 cases 1991-11-08 02:20:29 +00:00
Steve Chamberlain 4dbf824f02 Use new i386aout when i386-aout seen 1991-11-04 01:27:49 +00:00
John Gilmore b90c4f33cd * c-exp.y (yyerror): Pass error message if given.
* configure.in:  Add rs6000 host and target.
* inflow.c (new_tty):  O_NOCTTY kludge for RS/6000.
* symfile.h (entry_point):  Add.
1991-10-27 22:27:15 +00:00
Steve Chamberlain 44e4e473f8 * configure.in: added ebmon target. 1991-10-21 17:06:59 +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 afe4ca159b Changes from Fred Fish:
* tm-68k.h (FPI_REGNUM):  Add.
* infrun.c (child_create_inferior):  flush stdout and stderr
before forking.
* configure.in:  Handle amigados, amix hosts and targets.
* inflow.c:  Handle TIOCGLTC_BROKEN for Amiga.

From Andreas Schwab:
* values.c (show_convenience):  Use printf_filtered.
* main.c (define_command):  Check result of lookup_command for
exact match.
(echo_command):  Use printf_filtered, and force output out.

* dbxread.c (read_enum_type):  Avoid Modula-2 kludge that breaks C
programs.
* i387-tdep.c (double_to_i387):  Fix typo for double_to_ieee_extended.
* utils.c (_initialize_utils):  If !ISATTY, don't paginate.
1991-10-15 23:29:34 +00:00
John Gilmore 6617b94e06 Intel 386 Mach host port. 1991-10-05 05:35:06 +00:00
John Gilmore 0476df731c rtpc->romp 1991-09-21 03:29:09 +00:00
John Gilmore f74ff50fab Support aout and coff, as well as none, as "OS" settings for remote 29K GDB. 1991-09-13 06:38:44 +00:00
John Gilmore 473f33181c * configure.in: Add hosts rtpc-*-* and a29k-*-*.
Merge target arm case with other "easy" cases.  Add target
cases a29k-*-none (rehack of am29k), a29k-*-kern (remote to
Ultracomputer kernel), and a29k-*-sym1 (ultracomputer OS's user
process).
1991-09-13 00:13:16 +00:00
Stu Grossman 625453dcfd Merge in irix support. 1991-08-31 00:31:30 +00:00
K. Richard Pixley 69e87de278 Minor config polish. 1991-08-23 04:50:56 +00:00
K. Richard Pixley 6c815bbe31 Three part names, etc. 1991-08-22 07:07:58 +00:00
John Gilmore dc0c3f64b6 Tighten up for gdb-3.98 release. 1991-07-31 00:34:07 +00:00
John Gilmore 6988f5c0ae Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)
* configure.in, Makefile.in:  Avoid rebuilding "depend" as much.
        Avoid declaring Makefile dependencies, because GNU Make stupidly
        tries to update it if we do.

        * coffread.c:  Revise for minor changes to bfd internal coff
        indexes.

        * configure:  If -template= is given a relative path, make it
        absolute before recurring in subdirectories.
1991-07-05 00:04:59 +00:00
John Gilmore bdf3621b9e Make gdb work with configure. Only thing that doesn't work is the -list
option (as far as I know).
1991-07-04 15:59:47 +00:00
K. Richard Pixley beff312ea7 configure changes and -opcode.h movement. 1991-05-19 07:27:02 +00:00
K. Richard Pixley 912e0732be Configure for gdb. 1991-05-19 00:16:46 +00:00
K. Richard Pixley 0df06ca031 Now handles multiple hosts and targets. 1991-04-15 23:46:50 +00:00
K. Richard Pixley 5d98a5cd94 Initial revision 1991-04-11 03:07:16 +00:00