Commit Graph

4899 Commits

Author SHA1 Message Date
Fred Fish
1a0edbc7d7 * 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.
	* 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.
	* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
	Native, host, and target files that are common across more than
	one cpu architecture and included by one of the configured
	native, host, or target files, get moved to config directory.
	* Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
	pick up native, host, or target include files moved to one of
	the config subdirectories, and that are included by other files.
	* Makefile.in (alldeps.mak):  Modify to account for new config
	directory structure.
	* alldeps.mak, depend:  Update for new config directory structure.
	* config/*/[ntx]m-*.h:  Modify all files that include other
	[ntx]m-*.h files to use path relative to gdb/config.  I.E.
	"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
	"tm-29k.h".
	* remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
	* mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
	* i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
	* configure.in:  Default gdb_host_cpu to host_cpu, and remap
	the ones where the default is not unique or different than the
	config subdirectory name.  Similarly, handle gdb_target_cpu.
	Modify configure.in as appropriate to make use of gdb_host_cpu
	and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
Jim Wilson
e0fd5860a1 Update to Draft D1.2.1: add membar mask names and ASI names. 1993-03-23 00:27:59 +00:00
David D. Zuhn
70d3fab7ec configure has embedded tabs, which I accidentially nuked 1993-03-22 23:28:43 +00:00
David D. Zuhn
3ff094aa19 fix whitespace 1993-03-22 23:25:27 +00:00
Ian Lance Taylor
182b4c978d * coff-mips.c (ecoff_set_symbol_info): Relocate encapsulated stabs
if the type is not stNil.
1993-03-22 22:59:29 +00:00
Ian Lance Taylor
1369949e5e * config/tc-mips.c (macro): Use $AT for any floating point load.
Also get the debugging information right in obj-ecoff.c.
1993-03-22 22:18:43 +00:00
Ian Lance Taylor
5f5341a71f * mipsread.c (compare_blocks): Sort blocks with the same start
address by decreasing ending address.
1993-03-22 20:41:20 +00:00
Peter Schauer
1a3579dfb1 * mipsread.c (parse_procedure, parse_partial_symbols): bug fixes. 1993-03-22 20:25:25 +00:00
Peter Schauer
6c2e7392b7 * mipsread.c (parse_procedure): Save cur_fdr accross call to
lookup_symbol as it might get clobbered by the call.

        * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
        The previous code did not initialize the language field for the psymtab
        entry.
1993-03-22 20:22:54 +00:00
Rob Savoye
1ee369e85c Solve all config problems, make a local site.exp file. 1993-03-22 05:51:13 +00:00
David D. Zuhn
e5c6be8f3f * configure: add support for package_makefile_fragment, handle the
case where a directory has a configure.in file but no Makefile.in
	more gracefully (with an actual understandable error message, even);
	add support for --without (and add this to the usage message); also
	explicitly add a --host=${host_alias} to the command line when
	config.guess is used
1993-03-22 05:09:22 +00:00
Rob Savoye
a309ee82f3 Fixed a bunch of missing return codes, misc bugs. 1993-03-22 04:30:50 +00:00
Rob Savoye
3d0bd7d39a * gdb.t03/ptype.exp: tests for return code from gdb_test.
* gdb.t00/teststrategy.exp: Uses which proc rather than spawning
       which in a shell. Deletes xgdb when done.
       * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
       Tests the return from the "set height" or "set width" commands.
       Added a few return codes where needed.
1993-03-22 04:26:28 +00:00
David D. Zuhn
73f1f5ba7a handle lack of Makefile.in in a more graceful manner 1993-03-22 01:47:59 +00:00
David D. Zuhn
34bdab1698 added package_makefile_frag support 1993-03-22 00:47:26 +00:00
Jim Wilson
82aabe603d We must use both --host and --target options for recursion, because Cygnus and
FSF configure disagree about whether an unadorned machine is target or host.
1993-03-21 20:14:04 +00:00
Ken Raeburn
63cdddadd7 fix an m68k 0r0... bug 1993-03-20 20:54:00 +00:00
John Gilmore
f24c159f1b Lint: * c-exp.y (parse_number): Avoid shift warning.
* serial.h (struct ttystate):  Declare empty one on DOS.
1993-03-20 08:44:42 +00:00
John Gilmore
6aa83a798d * gdbint.texinfo: Doc NO_MMALLOC and NO_MMALLOC_CHECK as host conditionals.
* stabs.texinfo:  More array fixes inspired by Jim's.
1993-03-20 06:07:16 +00:00
Jim Wilson
69498fa243 Make targ-cpu.o depend on config.h so gas will build from scratch. 1993-03-20 05:03:31 +00:00
David D. Zuhn
301c3fef11 better support for configuration with gcc 1993-03-20 04:51:42 +00:00
Steve Chamberlain
8c100ad074 New file 1993-03-19 23:26:13 +00:00
Steve Chamberlain
195e46ea0b Checkpoint for Stu 1993-03-19 23:05:34 +00:00
Steve Chamberlain
9d19b85b6a add h8500 1993-03-19 22:41:15 +00:00
Steve Chamberlain
337110eab7 New file 1993-03-19 22:39:35 +00:00
Steve Chamberlain
45798e50ad Opcode file for the h8/500 1993-03-19 22:20:43 +00:00
Stu Grossman
733a9015f7 * xm-sun4os4.h: Return type of free() should be void, not int. 1993-03-19 22:13:38 +00:00
Stu Grossman
bc0d4cb9fe Yes John, I haven't heard from Mark Fox yet.
* vx-share/vxWorks.h:  Remove #def of NULL.
1993-03-19 21:03:05 +00:00
Jim Kingdon
deb3f296bc nuke no-op STAB_REG_TO_REGNUM 1993-03-19 19:35:39 +00:00
Jim Kingdon
452b40b631 mention long options in usage message 1993-03-19 18:58:10 +00:00
Jim Kingdon
b6963343f6 fixes re arrays and continuations 1993-03-19 18:48:45 +00:00
Jim Kingdon
9729ef2206 add XCOFF node 1993-03-19 18:25:16 +00:00
Steve Chamberlain
52f8e6a0ab (print_insn): Include the new dis-asm header file. 1993-03-19 15:41:31 +00:00
Per Bothner
229c82cb94 * nm.c: Modify behavior of -o flag for archives to match
BSD4.4 and Sunos 4:  Prefix archive name before each line.
1993-03-19 01:56:10 +00:00
Per Bothner
00cea52f92 * ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
	* Makefile.in:  Update accordingly.
	* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
	Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
	* m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
	it is now in ../opcodes/m68881-ext.c.
	* mips-tdep.c (mips_skip_prologue):  Try to skip more of the
	prologue (some callers _do_ care).
	* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
	new interface of ../opcodes/*-dis.c.
	* ch-exp.y:  Add #include <ctype.h>.
1993-03-19 00:18:55 +00:00
Per Bothner
2e8adbd7f4 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
	* Makefile.in:  Adjust accordingly.
	* objdump.c:  Support new-style disassemblers (ones that use
	the interface of ../include/dis-asm.h).
1993-03-19 00:12:50 +00:00
Per Bothner
c840244e23 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
../include/dis-asm.h.
	* m68k-dis.c:  New file (merge of ../binutils/m68k-pinsn.c
	and ../gdb/m68k-pinsn.c).
	* i386-dis.c:  New file (merge of ../binutils/i386-pinsn.c
	and ../gdb/i386-pinsn.c).
	* m68881-ext.c:  New file.  Moved definition of
	ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
	* Makefile.in:  Adjust for new files.
	* i386-dis.c:  Patches from John Hassey (hassey@dg-rtp.dg.com).
	* m68k-dis.c:  Recognize '9' placement code, so (say) pflush
	can be dis-assembled.
1993-03-19 00:11:02 +00:00
Per Bothner
d7e1be4659 * ieee-float.h: Moved from ../gdb.
* dis-asm.h:  New file.  Interface to dis-assembler.
1993-03-18 22:00:09 +00:00
Ian Lance Taylor
caba7dbe7f * Makefile.in: Change deja-gnu to dejagnu. 1993-03-18 20:32:16 +00:00
Jim Kingdon
c161de74a5 * xcoffexec.c (exec_close): Don't close exec_bfd twice. 1993-03-18 20:12:08 +00:00
Jim Kingdon
b60b2e3ec6 * xcoffread.c (enter_line_range): endaddr is exclusive, not inclusive. 1993-03-18 20:02:10 +00:00
Ian Lance Taylor
1fa66e3660 A new ARG_MAX hack: explicitly unexport some CHILL variables to keep
them out of the environment.
1993-03-18 01:15:43 +00:00
Ian Lance Taylor
34b3298baa A new ARG_MAX hack. Use unexport to keep GNU make from dumping the
CHILL variables in the environment, with a : variable to keep older
makes happy.
1993-03-18 01:08:58 +00:00
Ian Lance Taylor
f6a91cc0f7 * app.c (do_scrub_next_char): Added new state, 9, to avoid
dropping a space immediately following an identifier.
	* expr.c, write.c: Rewrote assert expressions to not use multiple
	lines; I don't think that can be done portably.
	* config/tc-mips.c (macro): Use $AT if target register is zero in
	load instruction, which it can be for a floating point load.

Also a bunch more changes to config/obj-ecoff.c, still in flux.
1993-03-18 00:52:37 +00:00
Stu Grossman
b17e0267c9 Remove test checkin. 1993-03-18 00:43:10 +00:00
Stu Grossman
c6a4d166a7 Just testing checkins. 1993-03-18 00:42:26 +00:00
Jim Kingdon
ecfd2b6091 * xcoffread.c (arrange_linetable): Use x{m,re}alloc not {m,re}alloc. 1993-03-17 20:38:38 +00:00
John Gilmore
3021c40d20 (show_user): Avoid fprintf_filtered botch (AGAIN!). 1993-03-17 20:21:55 +00:00
Fred Fish
04fb224c92 Forgot to include changes to Makefile.in and configure.in. 1993-03-17 19:35:18 +00:00
Fred Fish
bc80300747 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
files to test gdb's calling of functions in the inferior with
	the correct arguments and gdb's ability to retrieve any
	result returned.
1993-03-17 19:33:19 +00:00