Commit Graph

3006 Commits

Author SHA1 Message Date
Fred Fish 08109fdb47 * config/{mh-ncr3000, mh-sysv4}: Add INSTALL. 1992-06-10 02:20:25 +00:00
Fred Fish df03b780f4 * config/{i386v4.mh, ncr3000.mh}: Update RANLIB, add INSTALL. 1992-06-10 02:17:08 +00:00
Fred Fish 84d6c527c1 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL using
/usr/ucb/install.
1992-06-10 02:10:02 +00:00
Fred Fish 2d54a9e513 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
/usr/ucb/install.
1992-06-10 02:06:30 +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
Stu Grossman cc0d9de867 Oops, forgot depend! 1992-06-09 23:33:27 +00:00
Stu Grossman 55488e9ea6 * depend: rebuild to account for remote-st2000.c.
* remote-st2000.c:  Almost works now.
* tm-st2000.h:  Need to turn on HAVE_68881, else things won't compile.
1992-06-09 23:31:53 +00:00
Steve Chamberlain 65bfcf2e61 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
as data0_frchainP

	* write.c (write_object_file): various changes to handle data in
	the BSS segment in much the same was as stuff in the DATA segment.

	* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
1992-06-09 19:36:49 +00:00
Steve Chamberlain a1765cf0fe * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
* tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
	pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
	68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
	the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
	it into SEG_BSS
1992-06-09 14:57:42 +00:00
Steve Chamberlain 90d4945716 * subsegs.c (subseg_change): allow and handle a change into SEG_BSS. 1992-06-09 14:57:23 +00:00
Fred Fish dd823a49ca * readline.h (rl_completer_quote_characters): Add declaration.
* readline.c (rl_completer_quote_characters):  Add global var.
	* readline.c (strpbrk):  Add prototype and function.
	* readline.c (rl_complete_internal):  Add code to handle
	expansion of quoted strings.
1992-06-09 06:10:54 +00:00
Fred Fish d630b6150e * c-exp.y (yylex): Recognize single-quoted strings that specify
tokens with embedded whitespace, such as C++ demangled names.
	* defs.h (demangle_and_match, strcmp_iw, skip_quoted):  Prototypes.
	* main.c (gdb_completer_quote_characters):  Add global variable.
	* main.c (symbol_completion_function):  Total rewrite for C++
	demangled name handling.
	* main.c (skip_quoted):  New function.
	* main.c (main):  Set rl_completer_quote_characters.
	* symmisc.c (dump_symtab):  Print source language for symtab.
	* symtab.c (expensive_mangler):  Add prototype and function.
	* symtab.c (completion_list_add_symbol):  Total rewrite for new
	C++ demangled name handling.
	* symtab.c (lookup_symbol): Check for demangled C++ symbol first,
	other changes for demangled C++ symbol handling.
	* symtab.c (lookup_demangled_block_symbol):  Use demangle_and_match.
	* symtab.c (lookup_demangled_partial_symbol):  Use demangle_and_match.
	* symtab.c (decode_line_1):  Recognize C++ demangled names on input.
	* symtab.c (completion_list_add_symbol):  Total rewrite for new
	C++ demangled name handling.
	* symtab.c (expensive_mangler):  New function.
	* utils.c (strcmp_iw, demangle_and_match):  New functions.
	* xcoffread.c (aixcoff_symfile_read):  Fix prototype.
1992-06-09 06:09:33 +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
John Gilmore 6b6cc3fd08 Use unsigned chars for fields in object files. 1992-06-09 03:14:50 +00:00
John Gilmore 717b47f482 Typo 1992-06-09 02:38:11 +00:00
Stu Grossman e8a3827836 See gdb/Changelog for details. 1992-06-08 21:35:27 +00:00
Stu Grossman 0eafa897a9 * alldeps.mak: Rebuild to account for new files.
* config/st2000.mt:  Use tm-st2000.h, not tm-68k.h.
* tm-st2000.h:  New file.
1992-06-08 21:35:05 +00:00
Stu Grossman 88cc9a3621 * configure.in: Tandem debug monitor (st2000) support.
* remote-st2000.c, config/st2000.mt:  ditto.
1992-06-08 21:21:59 +00:00
Stu Grossman cb635d8719 See gdb/Changelog for details 1992-06-08 21:16:44 +00:00
Steve Chamberlain e47bfa6305 *** empty log message *** 1992-06-08 17:14:18 +00:00
Steve Chamberlain 075d735996 lint 1992-06-08 17:14:10 +00:00
Steve Chamberlain b257477fa0 *** empty log message *** 1992-06-08 17:09:57 +00:00
Steve Chamberlain ee4af9e839 don't crash when provided empty symbol table 1992-06-08 17:09:40 +00:00
David D. Zuhn 6ba70f641e new file from bothner, fixes sparc cross-disassembly core dumps 1992-06-08 07:46:10 +00:00
John Gilmore ab37d4f663 * configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5. 1992-06-07 00:03:50 +00:00
John Gilmore 6f8db23aef * blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func):  Return 0 if no symbols; avoid crashing.
1992-06-05 18:52:27 +00:00
Mark Eichin 6442bb7727 change pathnames from /usr/share/misc to /usr/local/lib. They should *really*
get built by configure, someday.
1992-06-04 19:36:37 +00:00
Steve Chamberlain f8701a3ff8 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* expr.c(expr): allow SEG_REGISTER in expressions.
	* read.c(pseudo_set): register expressions can be the source of a
	set.
	* subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
	goto SEG_TEXT (if a.out)
	* write.c (write_object_file): If a.out don't use the old way for
	-R.
	* config/obj-a.out (s_sect): complain if the user tries to use a
	subsegment with a value which might interfere with out -R hackery.
	* config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
	rather than use ugly if tree. (init_regtable): insert register
	names into symbol table.
1992-06-04 19:21:58 +00:00
Mark Eichin f4a0f42d8a add real install, and some more normal paths. 1992-06-04 19:10:49 +00:00
Mark Eichin 9752f9fdcd use byacc instead of bison. 1992-06-04 19:10:06 +00:00
Mark Eichin ba79f5fa08 Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
	help in debugging the problem (with -DDEBUG)
	* gprof.c: symbol values are now real values, don't add the vma
	anymore. (done for solaris; should verify this on other platforms)
	* ChangeLog: created.
1992-06-04 18:36:56 +00:00
Per Bothner f0e9ba1e63 * config.sub: Add support for Linux.
* Makefile.in:  Use $(FLAGS_TO_PASS) more consistently (at least for libg++).
1992-06-04 07:38:43 +00:00
Mark Eichin 1221d638c1 added srcdir=. so that configure puts in a value
added explicit foo.o:foo.c lines since Solaris has the same VPATH bug that
	SunOs 4.1.1 does...
1992-06-04 07:34:23 +00:00
John Gilmore 2795260c9e * xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass
without masking, since it is signed and will later be compared
against signed quantities.  The right fix is probably to make
it all unsigned, but this is a small, safe fix for this release.
FIXME -- make the real change sometime soon.

(Imported from progressive.)
1992-06-04 05:23:08 +00:00
David D. Zuhn 72754842fc fix -nfp documentation 1992-06-03 03:06:02 +00:00
Michael Tiemann 2198e4ba24 Makefile.in (all-binutils): ar needs flex, so depend on all-flex. 1992-06-03 00:21:33 +00:00
Michael Tiemann ebfb416750 Fix -R problem from Adobe 1992-06-02 23:49:59 +00:00
Mark Eichin 9138a2e2f6 Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Makefile: it shouldn't be under cvs; given that it is, fix it too
arcs.c: fprintf used where printf should have been.
lookup.c: misdeclared calloc; use a cast instead.
1992-06-02 17:22:47 +00:00
Roland Pesch 50a39795e2 Fix from net: when predigesting doc for texi2roff, search for "@c " at
the beginning of a line, rather than just "@C" at the beginning of a
line, to identify (and remove) comments.
1992-06-02 00:50:41 +00:00
Roland Pesch 45c53080cc Tracking changes from Lucid: option formerly known as either
"-cadillac" or "-energize" is called "-context" now.
1992-06-02 00:48:46 +00:00
Michael Tiemann fb44a8f557 Pass the correct number of parameters to `symbol_file_add'. 1992-06-01 23:19:09 +00:00
Michael Tiemann a748555bbb Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h> 1992-06-01 23:17:21 +00:00
Mark Eichin bbc7590aad change mh-solaris2 to mh-solaris. 1992-06-01 00:29:44 +00:00
Mark Eichin ef8aa56d10 Added solaris configuration support. 1992-05-31 22:13:34 +00:00
Michael Tiemann 4feb00bef1 Handle -m680[01234]0-wrs as specific vxworks68 targets. With -nfp,
this offers full control over the CPU parameters of vxworks systems we
are likely to encounter (not to mention other 68k embedded targets
that run a.out as their debugging format).
1992-05-31 13:45:08 +00:00
David D. Zuhn 9dec541731 16 May version from prep 1992-05-31 08:16:00 +00:00
David D. Zuhn a5992d117e recognize m680[1234] as separate processors now 1992-05-31 08:12:16 +00:00
David D. Zuhn 07f1d175cf better error testing on perverse cases (eg, ./config.sub -sun3) 1992-05-31 04:04:03 +00:00
Michael Tiemann 48079d66da Fix lint found by GCC. 1992-05-30 05:19:54 +00:00
Michael Tiemann 49df230880 Add flex to the list of keepers. flex is needed to build GNU ld. 1992-05-29 02:49:34 +00:00