Commit Graph

5165 Commits

Author SHA1 Message Date
Rob Savoye
c3361cd3ca Changed "make check" target to use DejaGnu. 1993-04-08 05:12:06 +00:00
Rob Savoye
e57072116f Get rid of all the links. 1993-04-08 05:10:49 +00:00
Stu Grossman
b83bf6b370 * ser-go32.c: Make it use serial port name.
* go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.
1993-04-08 04:12:56 +00:00
Roland Pesch
0742a6fded Record abolition of last m4 conditional markup holdout manual. 1993-04-08 03:20:44 +00:00
Roland Pesch
730ad1a786 Converted to Texinfo conditionals; no longer need M4.
Checked makeinfo output for "all" config; other old M4 configs now sanitized
out, will be replaced by .texi configs as each config is tested.
1993-04-08 03:13:41 +00:00
Stu Grossman
40b56283bc * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
in a system call!
1993-04-08 01:45:35 +00:00
Stu Grossman
41faa7759d * configure.in: Only configure sparclite subdir when target_cpu
is sparclite.
1993-04-07 22:53:49 +00:00
Ian Lance Taylor
13998f7ee9 * configure: Handle an empty program-prefix, program-suffix or
program-transform-name correctly.
1993-04-07 22:49:03 +00:00
Jim Kingdon
2cf90c4499 * internal.h: Change n_sclass to unsigned char.
Change C_EFCN to 0xff, change RS/6000 dbx symbols
	to no longer be signed.
1993-04-07 22:47:48 +00:00
Jim Kingdon
ef5b809c7c * xcoffread.c (struct coff_symbol): Change c_sclass to unsigned char.
Remove FIXME comment regarding this.
1993-04-07 22:45:34 +00:00
Per Bothner
8a177da658 * ch-exp.y: Remove ambiguities. Fix or add support for
UNOP_IND, UNOP_CAST, UNOP_ADDR, STRUCOP_STRUCT, OP_TYPE.
	* ch-typeprint.c (chill_print_type):  Move support
	for TYPE_CODE_ARRAY and TYPE_CODE_STRING from here ...
	* ch-typeprint.c (chill_type_print_base): ... here.
	* ch-typeprint.c (chill_type_print_base):  Improve
	support for PTR, REF, and FUNC types.
	* ch-valprint.c:  Prefer H'%x format to 0x%s.
	* ch-valprint.c (chill_val_print):  Add support for printing
	TYPE_CODE_REF (return for LOC parameters and variables).
	Use c_val_print to print random types (including ENUM).
	* ch-valprint,c (chill_print_value_fields):  Make
	output look more like Chill tuples.
	* stabsread.c (read_struct_type):  Factor common code.
1993-04-07 22:15:48 +00:00
Fred Fish
bee218aaac * gdb.t21/demangle.exp: Only count real fails (not xfails) for
failure count used to force early termination.  Add some more
	expected failures for gnu style demangling.
1993-04-07 21:14:57 +00:00
Fred Fish
9d7775db53 * gdbint.texinfo: Update for new config directory structure.
Add info about internal type data structures.
1993-04-07 21:13:13 +00:00
Ian Lance Taylor
a6235cbbc2 * coff-mips.c (PAGESIZE): Correct value.
With the wrong PAGESIZE everything worked just fine, with one
exception: emacs couldn't dump itself.
1993-04-07 18:34:25 +00:00
Fred Fish
8cb3cab94f * sparclite/Makefile.in: Add dummy mostlyclean, clean,
distclean, and realclean targets.
1993-04-07 18:27:16 +00:00
Jim Kingdon
47045b3617 Change NULL->'\0' in comment (that wasn't a typo). 1993-04-07 17:46:19 +00:00
Jim Kingdon
f635bd474c use E_SYMNMLEN 1993-04-07 17:40:55 +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
07861607f5 * ser-go32.c: Format. (go32_open): Use proper return value.
* configure.in:  Undo conditional configdirs hack for sparclite.
1993-04-07 04:43:48 +00:00
Jim Wilson
118ec55a7b Fix for PR 124: make 'rb' correctly handle case where we have multiple
functions with the same name in different files.
1993-04-07 00:09:11 +00:00
Fred Fish
60c632b126 Update with latest build dependencies. 1993-04-06 23:54:16 +00:00
Stu Grossman
e8a5f0ed39 *** empty log message *** 1993-04-06 23:48:29 +00:00
Fred Fish
8521640391 Couple of more minor tweaks to gdb.tar.Z target. 1993-04-06 23:32:16 +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
Jim Kingdon
9925b92861 * values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1. 1993-04-06 21:20:30 +00:00
Ian Lance Taylor
6755c51e93 * build-all.mk: -G 8 no longer required for MIPS targets.
* test-build.mk: Don't pass host argument to configure; make it
	guess.
1993-04-06 20:49:55 +00:00
Jim Kingdon
786757a9a4 * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
exactly 8 characters.
1993-04-06 20:08:50 +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
Fred Fish
8d3ca59424 Forgot changelog... 1993-04-06 17:39:03 +00:00
Stu Grossman
5d2b030a03 * ser-go32.c: First cut at adapting to new serial interface. 1993-04-06 10:13:03 +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
Fred Fish
b4b0321b10 am29k* -> a29k* 1993-04-06 02:25:51 +00:00
Ian Lance Taylor
84e4920fc1 * config/tc-mips.c (gp_reference): Certain magic symbols can never
be referenced off the GP register.
1993-04-06 00:56:53 +00:00
Ian Lance Taylor
46bc1bf6ba These changes make shared library support work again on 386 COFF
systems.

	* coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a
	STYP_NOLOAD | STYP_BSS section.  Don't set SEC_NEVER_LOAD for a
	STYP_INFO section.
	(coff_compute_section_file_positions): Force vma and lma of _LIB
	section to be zero.
	(coff_set_section_contents): Count number of entries in new lma
	field, not in vma.
	* coffgen.c (make_a_section_from_file): Force lineno_count of
	SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the
	SCO 3.2v4 shared library.
	* seclet.c (rel): Copy over any section with contents, not just
	loadable sections.

	* coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated
	symbol.
1993-04-06 00:53:41 +00:00
John Gilmore
d802b9481b Make "ta" the default trap instruction, "t" the alias. 1993-04-06 00:38:25 +00:00
Ian Lance Taylor
3cb4caa6b5 This makes ld -r work for i386-coff targets.
* coff-i386.c (coff_i386_reloc): New function, to generate
	relocateable output correctly.
	(howto_table): Use coff_i386_reloc for all reloc types.
	(CALC_ADDEND): Use a more efficient hack to get the correct addend
	for a common symbol.
	(i386comm_value): Removed; no longer needed.
1993-04-05 20:09:58 +00:00
Ian Lance Taylor
367fc8358a * app.c (do_scrub_next_char): Handle states 9 and 10 correctly
when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
	LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.
1993-04-05 19:02:20 +00:00
Ken Raeburn
cbcf557273 include string.h 1993-04-05 18:00:40 +00:00
Ken Raeburn
c0991e3eda New script. Simply evaluates and exec's its arguments. Needed until I
can figure out how to handle redirection easily in tcl/expect.
1993-04-05 17:32:38 +00:00
Ken Raeburn
96b4e5bb5e add some new tests, and new testing procs 1993-04-05 17:26:51 +00:00
Ken Raeburn
acf11ed1aa from gas/testscripts -- may be useful someday 1993-04-05 17:25:37 +00:00
Ian Lance Taylor
d5bc321563 * config/te-irix.h: New file; irix needs a different LOCAL_LABEL
definition from other MIPS targets.
	* configure.in (mips-*-irix): Use emulation irix.
1993-04-05 16:44:21 +00:00
Ian Lance Taylor
f930354afe * Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in
$(srcdir).
	(gdb-config.texi): Depend on file in $(srcdir).
1993-04-05 16:07:40 +00:00
Steve Chamberlain
3adb6ca918 * config/tc-h8500.c: Get relax size of branch instructions right,
(get_operand): Parse @sp+ correctly.
1993-04-04 22:23:24 +00:00
Steve Chamberlain
dd4227d392 *** empty log message *** 1993-04-04 22:23:12 +00:00
Steve Chamberlain
77f31b05cc *** empty log message *** 1993-04-04 22:12:22 +00:00
Steve Chamberlain
55c95b041a * coffcode.h (coff_set_section_contents): Don't write out
> >> 	* coffcode.h (coff_set_section_contents): Don't write out sections without a filepos.
1993-04-04 22:12:06 +00:00
Jim Kingdon
1d7e34e1ef * xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets. 1993-04-03 01:19:16 +00:00