Commit graph

2900 commits

Author SHA1 Message Date
Fred Fish
7fd31a8480 * cplus-dem.c (demangle_signature): Recognize misplaced '_' to
avoid infinite loops while demangling bogus mangled names.
	* valprint.c (type_print_base):  Minor fix for GNU style guide
	conformance.
1992-05-11 20:32:03 +00:00
Fred Fish
a7a8c21eb4 * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore. 1992-05-10 01:43:37 +00:00
Fred Fish
f9b5584c8e * Makefile.in (VERSION): Bump to 4.5.3
* Makefile.in (DEMANGLE_OPTS):  Remove obsolete -Dnounderscore
	* Makefile.in (demangle):  New target to create standalone
	demangler with same code and options as internal demangler.
	* cplus-dem.c:  Massive restructuring, rewriting, cleanups, etc
	to support ARM style and Lucid style demangling, improve
	maintainability, fix several demangling bugs.  More changes
	to follow.
	* defs.h (strstr):  Add ANSI compatible prototype.
	* valprint.c (type_print_1):  Demangle using ansi option.
	* config/ncr3000.mt (DEMANGLE_OPTS):  Remove -Dnounderscore.
1992-05-10 01:43:04 +00:00
Stu Grossman
1e939db157 * xcoffexec.c (vmap_exec): Don't assume .text and .data are the
first two sections.
1992-05-09 21:49:28 +00:00
Steve Chamberlain
cb467682ed Compile with acc 1992-05-08 21:07:40 +00:00
K. Richard Pixley
9dba22c625 do not bury pwd into config.status, thus do fewer pwds 1992-05-08 20:29:39 +00:00
K. Richard Pixley
3b6f914fb4 print Building message only when subdir != . AND verbose 1992-05-08 19:34:32 +00:00
Per Bothner
d5e885834b * mipsread.c (parse_procedure): Return rather than using
uninitialized variable 'b'.
1992-05-08 18:43:50 +00:00
K. Richard Pixley
a98e98d368 remove -s, rework -v to better accomodate guested configures 1992-05-08 18:29:38 +00:00
Stu Grossman
aa94235541 * Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c,
29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c:
Remove -I29k-share, -Ivx-share from Makefile.in.  Make #includes
relative to each source file.
1992-05-08 15:49:48 +00:00
K. Richard Pixley
a60ff51268 updated to 3 may 1992-05-08 15:32:25 +00:00
Steve Chamberlain
a1fb7cd400 Keep sa29200.mt 1992-05-08 15:14:38 +00:00
K. Richard Pixley
9b98dea2e7 propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on recursions 1992-05-08 14:49:44 +00:00
Roland Pesch
27e94bd53c Correct reference to linker manual title (title was "GLD, the GNU linker";
now is "Using LD, the GNU linker").
1992-05-08 00:10:29 +00:00
Roland Pesch
82d1666a7c Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
* ld.texinfo: references to linker now say "ld" not "gld".
1992-05-08 00:05:32 +00:00
Roland Pesch
7b0155478d @{ ... @} --> @code{ ... } 1992-05-07 19:54:26 +00:00
Roland Pesch
ea55afdefe *** empty log message *** 1992-05-07 19:35:26 +00:00
Roland Pesch
765a273ff9 Doc for (MRI-compatible) ar command language. 1992-05-07 19:33:40 +00:00
Stu Grossman
d0b04c6a38 * am29k-pinsn.c: Use new opcode table in "opcode/a29k.h".
* am29k-tdep.c:  Update to latest code from AMD.
(get_saved_register) don't crap out if no frame.
* remote-udi.c:  Set/clear inferior_pid as appropriate.
(udi_open) call target_preopen, don't close fd 0!!!, clean up
error handling.  Fixup end-of-debugging messages.
(udi_fetch_registers) clean up big time, mainly don't multiply
register_valid indices by 4, and use proper Offset when reading
gr96-gr127.  (udi_store_registers) general cleanup.
(fetch_register) cleanup, simplify.  (regnum_to_srnum)
INT_REGNUM->INTE_REGNUM.
* tm-29k.h:  Upgrade to latest code from AMD.
* 29k-share/udi/udip2soc.c:  Get rid of useless errmsg_m macro.
(UDIConnect) Clean up error processing (like, don't do exit() if
execlp fails), make code restartable, make more attractive.
(UDIStop) Use SIGINT instead of SIGUSR1, as isstip won't stop
otherwise.
1992-05-07 17:47:36 +00:00
Steve Chamberlain
d24fbb206e * arparse.y: make END call ar_end
* arsup.c (ar_end): added, deletes temp file if archive session
	aborted.
1992-05-07 01:06:34 +00:00
Steve Chamberlain
a7f90969ec Keep the 29k config file 1992-05-07 00:24:39 +00:00
Per Bothner
ba2c9027ca * tm-irix3.h: Re-define CPLUS_MARKER to '.'.
* xm-rs6000.h, tm-rs6000.h:  Move re-definition of CPLUS_MARKER
	from former to latter.
1992-05-06 21:37:51 +00:00
Fred Fish
55b3ef9a57 * cplus-dem.c (do_args): Handle void args the same as others.
* objfiles.c (free_objfile):  Only try to unmap files when
	reusable objfiles are supported.
	* valprint.c (type_print_varspec_suffix):  Add parameter that
	specifies if C++ demangling included function arguments.  Use
	it to suppress printing extra pair of ()'s.
	* valprint.c (type_print_1):  Fix problem with printing demangled
	C++ function types where demangled type includes the function
	args.
1992-05-06 21:16:11 +00:00
Steve Chamberlain
32846f9c3e changed calling convention for Q_enter_global_ref
* ldexp.c, ldlang.c, ldmain.c: reflect this
	* ldver.c: bump version to 1.97.1
	* ldindr.c (add_indirect): when an edict declaring an indirect
	symbol is found, make sure that any ideas about the symbol being
	common are changed if it now known to be defined.
	* ldmain.c (linear_library): complain once if archive isn't
	ranlibbed.
	* ldlang.h, ldlang.c: make room for and initialize the complain
	once field.
1992-05-06 20:31:01 +00:00
K. Richard Pixley
5a9b659196 fix cc compile failure 1992-05-06 18:11:49 +00:00
K. Richard Pixley
58137c4d79 FLEX -> LEX. use bison & flex from ../ if they exist 1992-05-06 18:11:09 +00:00
K. Richard Pixley
146a41ab3d remove temporary directory when finished 1992-05-06 18:10:11 +00:00
K. Richard Pixley
bf3acf4485 use flex & bison from ../ if they exist 1992-05-06 18:08:10 +00:00
Roland Pesch
38962738d6 formatting improvements (already in progressive) 1992-05-06 04:49:50 +00:00
Steve Chamberlain
7153b2ff71 *** empty log message *** 1992-05-06 01:08:02 +00:00
Steve Chamberlain
a72f4e5f84 * ldfile.c: merge in VMS filename support
* ldmain.c (main): take out ./ from library path, and close file
	before unlinking. Make multiple defs of a symbol create an
	unexecable file.
	* ldmisc.c: fatal errosrs delete output file
1992-05-06 01:07:05 +00:00
Steve Chamberlain
9c99a57eca * relax.c (build_it): don't allocate space in the output file for
stuff if -R flag applys to it.
1992-05-06 00:49:18 +00:00
David D. Zuhn
2dbd15d2fb added ispell 1992-05-05 23:59:05 +00:00
Roland Pesch
b76626238c Fix typo in M4 macro name (prevented TeX formatting). 1992-05-05 22:51:53 +00:00
Roland Pesch
bf85ce3ec6 as.texinfo, as-all.texinfo: fix typo found by zoo
(don't call H8/300 an AMD 29K in info menus)

as.1: catch up to "-k" spelling change (now "-K")
1992-05-05 22:00:25 +00:00
Steve Chamberlain
7969cb57d0 Renamed dup other_dup to stop conflict on iris 1992-05-05 21:34:14 +00:00
Per Bothner
c72b7dca4f Bump to version 1.97. 1992-05-05 21:25:27 +00:00
Per Bothner
641b6d2b30 * bfd-in.h: Increase version number to 1.97, for consistency with ../binutils.
* Makefile.in:  docdir is ./doc, not ${srcdir}/doc.
1992-05-05 21:21:59 +00:00
Per Bothner
98377f31b7 * ldver.c: Increase version number to 1.97, for consistency with ../binutils. 1992-05-05 21:07:32 +00:00
Per Bothner
892205bc4b Get rid of bogus comment in compiler command rule. 1992-05-05 20:54:18 +00:00
K. Richard Pixley
813da1a517 FLEX -> LEX 1992-05-05 19:13:58 +00:00
K. Richard Pixley
3f350edad0 {} -> @{@} 1992-05-05 19:13:06 +00:00
K. Richard Pixley
1f0e6a9919 gm4 -> m4 1992-05-05 19:12:05 +00:00
Per Bothner
5b07d69372 * Makefile.in: Bump to version 1.97.
* ar.c:  Declare errno for machines that need it.
1992-05-05 19:02:24 +00:00
Per Bothner
2501643aea Change OS of next from sysv to mach. 1992-05-05 18:27:12 +00:00
Fred Fish
8f793aa541 * Makefile.in (DEMANGLER): Define and default to cplus-dem.
Allows selection of C++ demangler to be a configuration option
	until multiple demanglers are supported.
	* demangle.h:  New include file for extended demangler support.
	* breakpoint.c, gdbtypes.c, printcmd.c, stack.c, symtab.c,
	utils.c, valprint.c:  Include "demangle.h" and change all calls
	to cplus_demangle() or fputs_demangled() to use individual
	demangling options.
	* valprint.c (type_print_1):  Change options to cplus_demangle
	to print demangled function args.  Still broken, but now less so.
	* cplus-dem.c:  Include demangle.h, reorganize and update some
	comments to reflect reality.
	* cplus-dem.c (cplus_demangle, cplus_mangle_opname):  Change
	second arg from fixed integer to bit based multiple options.
	* cplus-dem.c (optable):  Reformat and replace ansi members with
	bit based options.
	* cplus-dem.c (do_type):  Fix bug with parsing missing return type.
1992-05-05 18:16:23 +00:00
Steve Chamberlain
939a343342 Yet more 29k configury 1992-05-05 14:23:33 +00:00
John Gilmore
22923083bf * objdump.c (display_info): Handle error cases without coredump.
Close the dummy temporary file we open in the loop.
* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
1992-05-05 06:31:59 +00:00
John Gilmore
6fab5bef69 * values.c (set_internalvar): Force evaluation of lazy values.
Bug reported by RMS.
1992-05-05 05:31:21 +00:00
Steve Chamberlain
e727f8ea91 Keep m68kmri.h 1992-05-05 03:12:59 +00:00