Commit Graph

3579 Commits

Author SHA1 Message Date
Per Bothner 091a79f59a * ldver.c: Bump to version 0.98.
* TODO:  New file.
1992-09-03 06:02:56 +00:00
Per Bothner 947b85258d * Makefile.in: Bump to version 0.98.
* TODO, README:  Minor updates.
1992-09-03 06:01:09 +00:00
Per Bothner 546014f750 * utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" to
match "FOO".  This allows 'break Foo' to work when Foo is
	a mangled C++ function.  (See comment before function.)
1992-09-03 05:03:47 +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 6d7bfa9a44 Roll VERSION to 4.6.6. 1992-09-02 20:53:39 +00:00
John Gilmore 6131a42a8d * tm-vx68.h, tm-es1800.h: Use tm-68k.h rather than tm-sun3.h.
* tm-sun3.h:  Remove STACK_END_ADDR, no longer used.
* tm-sun3os4.h:  Update comments.
* xm-delta88.h:  Remove STACK_END_ADDR.
1992-09-02 20:50:31 +00:00
Per Bothner 2afc285dd5 Add copyright notice. 1992-09-02 20:45:02 +00:00
John Gilmore 9cd64d11be Tiny bugfix for makeinfo. 1992-09-02 09:32:27 +00:00
John Gilmore 30fd86193e Update .sanitize files 1992-09-02 09:24:34 +00:00
John Gilmore 370b66b639 Update sanity files. 1992-09-02 09:23:12 +00:00
John Gilmore 6aef3bdeb6 Roll VERSION to 4.6.5 for the P3 release. 1992-09-02 08:54:04 +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 b52373a2b1 * ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.
* serial.h (EXFUN):  Remove all uses, convert to PARAMS.
* config/sun4os4.mh:  Include ser-termios.o.  FIXME, all .mh files
should include a ser-XXX.o module.

* dbxread.c (elfstab_build_psymtabs):  Remove DEFUN crap.
* defs.h, i960-pinsn.c, remote-hms.c:  Replace CONST with simple const.

* 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:51:17 +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 ebb3a1e550 * configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3):  Remove host & target.  Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf):  Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}):  Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}):  Add targets, w/new config and tm files.

* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h:  New
target definitions for embedded with and without underlines on
identifiers.  FIXME -- this ought to be known by BFD instead.

* tm-sparc.h, tm-sun2.h, tm-sun3.h:  Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h:  Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
Per Bothner ef2810d07e * Makefile.in: Added mostlyclean/clean/distclean rules. 1992-09-02 07:27:31 +00:00
Per Bothner 8d5d0e117f * Makefile.in: Added mostlyclean, distclean rules,
and cleaned up clean, realclean.
1992-09-02 07:26:15 +00:00
Per Bothner c52bdfecfd * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
* ldlex.l: Moved comment() to end, since some compilers
	otherwise have problems with input() used before it is defined.
1992-09-02 06:45:13 +00:00
Roland Pesch 139741da17 Formatting improvements and other minor edits. 1992-09-02 04:08:28 +00:00
John Gilmore ea678717a4 * breakpoint.c (breakpoint_re_set): Avoid setting source symtab
(which involves reading in main's symtab) if we have no breakpoints.
1992-09-02 02:31:52 +00:00
David D. Zuhn 2df681368b new configure triple work, added solaris 2 & irix host support, fix FLEX definition 1992-09-02 00:49:47 +00:00
Per Bothner fc60e4f737 Removed cplus-dem.[ch]. (These are now in ../libiberty.) 1992-09-01 23:10:08 +00:00
Steve Chamberlain 319a021edf * Makefile.in: all-opcodes, cd into the right directory 1992-09-01 22:49:37 +00:00
Per Bothner e87c29c860 This seems to have been overlooked in my last check-in. 1992-09-01 22:32:28 +00:00
Per Bothner e4b9262014 Add scripts. 1992-09-01 22:14:49 +00:00
Per Bothner a2d5971d85 Add isc-sysv3.2.sc. 1992-09-01 22:14:24 +00:00
Per Bothner 8f5a6be62c Remove non-existant file hp300bsd.mh. 1992-09-01 22:07:32 +00:00
Per Bothner 66945e8a30 Note previous change (removing oasys from target_vector). 1992-09-01 20:42:42 +00:00
Per Bothner 81e064da64 * targets.c (target_vector): Take out oasys (unless that is
the default):  Because there is no magic number in archives,
	there can be annoying target mis-matches.
1992-09-01 20:42:11 +00:00
Ian Lance Taylor 0bb95ac84a Brought forward from p3:
Sun Aug 30 21:38:53 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "ld" through program_transform_name when
	installing.
1992-09-01 01:17:01 +00:00
Ian Lance Taylor b68b44fac8 Brought forward from p3:
Sun Aug 30 21:32:17 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "gdb" through program_transform_name when
	installing.
1992-09-01 01:16:25 +00:00
Ian Lance Taylor 7e10f53ccf Brought forward from p3:
Sun Aug 30 21:24:46 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "as" through program_transform_name when
	installing.
1992-09-01 01:14:04 +00:00
Ian Lance Taylor 3790af1d33 Brought forward from p3:
Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map program names through program_transform_name
	when installing.
1992-09-01 01:13:11 +00:00
Ian Lance Taylor d257b46f88 Sun Aug 30 21:12:11 1992 Ian Lance Taylor (ian@cygnus.com)
* configure: added -program_transform_name option, used as
	argument to sed when installing programs.
	configure.texi: added documentation for -program_prefix,
	-program_suffix and -program_transform_name.
1992-09-01 01:12:41 +00:00
Mike Werner fd9d7e4a76 Link libopcodes with objdump 1992-08-31 23:23:34 +00:00
Mike Werner 868ebe79a8 get the order of opcodes + binutils right so that everything builds 1992-08-31 23:19:34 +00:00
Steve Chamberlain cfb48ce52d #include file moved 1992-08-31 22:53:15 +00:00
Steve Chamberlain a4ef860176 Disassemble for z8k and build using opcode library 1992-08-31 22:28:08 +00:00
Steve Chamberlain aa06ff7e3c Support for opcodes directory 1992-08-31 22:26:18 +00:00
Steve Chamberlain add1fb05e5 * z8k-dis.c: knows how to disassemble z8k stuff 1992-08-31 21:54:31 +00:00
Fred Fish 95ff889ecd * dwarfread.c (cu_language): New local variable to record
language for current compilation unit being processed.
	* dwarfread.c (set_cu_language):  New local function to decode
	and record language for current compilation unit being processed.
	* dwarfread.c (synthesize_typedef):  Add local function to
	synthesize a typedef for C++ classes, structs, unions, and
	enumerations.
	* dwarfread.c (read_structure_scope):  Synthesize typedefs
	for C++ classes, structs and unions.
	* dwarfread.c (read_enumeration):  Synthesize typedefs for
	C++ enumerations.
	* dwarfread.c (read_file_scope):   Call set_cu_language to
	record language for current compilation unit.  After symtab
	is built, save this recorded language.
	* dwarfread.c (process_dies, add_partial_symbol, struct_type,
	scan_partial_symbols, new_symbol):  Recognize TAG_class_type.
	* dwarfread.c (add_partial_symbol):  Synthesize partial symbol
	typedefs for C++ classes, structs, unions, and enumerations.
	* dwarfread.c (scan_compilation_units):  Call set_cu_language
	to record language for current compilation unit.
	* dwarfread.c (scan_partial_symbols):  Call add_enum_psymbol here
	for TAG_enumeration_types, rather than in add_partial_symbol.
	* dwarfread.c (add_partial_symbol):  Combine TAG_enumeration_type
	case with class, struct, and union type cases, now that they are
	the same.  Remove tests for non-NULL name attributes, now done
	by callers.
	* gdbtypes.h (TYPE_CODE_CLASS):  Add type for C++ classes, but
	treat as alias for TYPE_CODE_STRUCT for now.
1992-08-31 20:50:45 +00:00
Steve Chamberlain a4ccc31032 * z8k-opc.h: new file full of z8000 opcodes 1992-08-31 20:48:44 +00:00
Jim Wilson 71703b0735 Update to SPARC Version 9 Draft 1.0.4. 1992-08-31 17:14:50 +00:00
Jim Wilson 93fd00fbbf Handle new v9 insn argument codes, and delete support for obsolete ones.
Otherwise not updated or tested, since v9 support is obviously incomplete,
and it can't possibly work right without some effort.
1992-08-31 17:03:47 +00:00
Steve Chamberlain 2768b3f763 * aoutx.h (aout<n>swap_ext_reloc_out), bout.c
(b_out_squirt_out_relocs): fix bug 1506 where abs symbols attached
	to the built-in abs_section were not written out correctly.
1992-08-31 15:10:34 +00:00
Fred Fish 3877a2192c * {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c}
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
	Use "regi" for local indexing through register numbers, reserving
	"regno" for the name of a specific register passed as an input
	parameter.  Fix bug propagated through all versions that sometimes
	used regno as an index when it should have been regi, thus using
	-1 as an index in some cases.
1992-08-31 04:22:46 +00:00
Per Bothner dc1d1ca5e8 * gprof.h, gprof.c, printfgprof.c: Add support for two
output styles:  The default is similar to the old FSF gprof,
	while -T sets the variable bsd_style_output, which causes
	output matching Berkeley's gprof.  The biggest differences
	are that with the FSF style output, the flat profile comes
	before the call graph; numbers come before explanations;
	and there is less gratuitous white space.
	* gprof.h, gprof.c, printfgprof.c:  New discard_underscores
	variable causes discarding of initial underscores when
	printing symbol names.  It is set unless there is a "main"
	symbol (without an underscore).
	* printfgprof.c:  New function printnameonly(), called
	by printname().  It handles stripping of initial '_',
	as well as C++ name-demangling.
	* gprof.callg, gprof.flat, make-c-prog.awk:  Removed.
	It is just as convenient to edit blurbs.c directly.
	* Makefile.in:  Removed rule for making blurbs.c.
	* blurbs.c:  This is now a true source file (as opposed
	to being generated from gprof.callg and gprof.flat).
	Change style to use one long string literal, instead of
	one literal per output line.  Add FSF-style blurb for call graph.
1992-08-31 03:34:15 +00:00
Per Bothner 3402b1cff2 * cplus-dem.c, demangle.h: Moved to ../libiberty and ../include,
respectively, so same demangler can be used by other programs.
	* Makefile.in:  Remove demangler stuff.
	* Makefile.in (depend):  Pass -I../readline (needed for main.c).
	* demangle.c (_initialize_demangler):  Tell demangler which
	CPLUS_MARKER to assume.
1992-08-31 01:23:24 +00:00
David D. Zuhn a5cdd8afd1 removed debugging code accidentally checked in 1992-08-31 01:21:57 +00:00
Per Bothner fe2b6209ff * cplus-dem.c: Removed. Use the version in libiberty now.
* ldmisc.c:  Use new libiberty version of cplus_demangle().
1992-08-31 01:14:44 +00:00