Commit Graph

2478 Commits

Author SHA1 Message Date
Per Bothner
73afbe2809 * PORTING: New (preliminary) porting guide. 1992-02-21 05:56:57 +00:00
John Gilmore
7919c3ed86 * tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
into solib.h.
* sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
value.h: Prototypes for static functions; lint.
* gdbtypes.h:  Empty file to ease transition.
1992-02-21 03:35:37 +00:00
Per Bothner
573da2f371 * Makefile.in: Change mkscript rule into one for ./mkscript
(for the sake of makes that don't realize they're the same).
	* PORTING:  Add more details.
	* genscripts.sh:  Add more tailorability of DATA_ALIGNMENT.
1992-02-21 01:59:57 +00:00
John Gilmore
5b0267410c * xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
complaints about volatile functions.
* xm-sysv4.h (HAVE_MMAP):  Define.
1992-02-21 01:40:57 +00:00
John Gilmore
ee0613d186 * core.c, exec.c, solib.c: Rename target_ops sections =>
to_sections, etc.
* infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
target.h:  target_kill takes no args.
1992-02-21 01:35:32 +00:00
John Gilmore
e17960fb42 * core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
Remove to_call_function and target_call_function, since it
always calls the same thing (call_function_by_hand).
1992-02-21 01:34:46 +00:00
John Gilmore
7ed0f002ed * core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
signame.c, sparc-xdep.c: Prototypes for all static functions.  Lint.
1992-02-21 01:33:14 +00:00
John Gilmore
75af490bd2 * environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
inferior.h, language.h, signame.h, target.h, terminal.h,
tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
Lint.
1992-02-21 01:31:56 +00:00
John Gilmore
088c3a0b74 * defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
to make prototypes for all functions declared here.
* cplus-dem.c:  Avoid declaring xmalloc and xrealloc.
* c-exp.y:  Rename SIGNED, OR, and AND to avoid conflict.
* environ.c:  Include <stdio.h> before defs.h.  Minor cleanup.
* ieee-float.h:  Use PARAMS for prototypes; make some params const.
* ieee-float.c, valarith.c:  Include <stdio.h>.  Lint.  b*=>mem*.
* m2-exp.y:  Remove unused CONST; Rename OR and AND.
* utils.c:  Avoid declaring malloc and realloc.  Lint.
(request_quit):  Accept signal-number parameter.
1992-02-20 19:23:42 +00:00
John Gilmore
8b87cbae28 * bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
(howto_hvrt16):  lint.
1992-02-20 16:31:21 +00:00
John Gilmore
be8303da55 * coffread.c (decode_base_type): Pass long, not union.
Fix by Eric Valette, ev@chorus.fr.
1992-02-20 05:25:34 +00:00
John Gilmore
bccfae1670 Mention the "dir" commands in the .gdbinit file, too. 1992-02-19 23:59:37 +00:00
John Gilmore
442b8598ad * configure.texi: Explain better about .gdbinit and about
the environment that configure.in sections run in.
1992-02-19 23:42:09 +00:00
K. Richard Pixley
90d85bc42b pulled in from hack's unfinished work 1992-02-18 11:27:34 +00:00
K. Richard Pixley
131292695f prepping for configure 1992-02-18 11:25:11 +00:00
K. Richard Pixley
aa3782d24e white space and comments only 1992-02-18 10:24:13 +00:00
K. Richard Pixley
c6cfc5b52c add note about i860 relocation types 1992-02-18 10:23:18 +00:00
K. Richard Pixley
f816adbc60 use the new atof-ns32.c for ns32k. 1992-02-18 10:22:46 +00:00
K. Richard Pixley
eb9eacd3a5 comment change only 1992-02-18 10:21:45 +00:00
K. Richard Pixley
4b83ef1cfd tc-i860.[hc]: blew off the dust. Something must still be done about
conflicting relocation types.
1992-02-18 10:20:20 +00:00
K. Richard Pixley
fbd5ddff37 keep ChangeLog 1992-02-18 10:18:32 +00:00
K. Richard Pixley
e6a125b1f4 Replaced previous tc_aout_fix_to_chars stub with the real thing. 1992-02-18 10:18:05 +00:00
K. Richard Pixley
e219aa78dc keep the new file 1992-02-18 10:13:57 +00:00
K. Richard Pixley
574e55f10f delete duplicate macro definition 1992-02-18 10:13:09 +00:00
K. Richard Pixley
c82711bd5c copied from hack's last unreleased gas 1992-02-18 10:11:07 +00:00
Fred Fish
5bb14552fd * readline.c (readline_default_bindings): Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined.  On SVR4
	<termio.h> includes <termios.h>, so VLNEXT is always defined.

	* sysdep-norm.h (_POSIX_VERSION):  Define this for all SVR4
	systems so that <termios.h> gets used, instead of <termio.h>.
1992-02-18 01:20:46 +00:00
Fred Fish
9e4c1921e5 Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
that are produced by the i486/SVR4 MetaWare compiler, but not by the
AT&T or GCC compilers.
1992-02-17 23:26:54 +00:00
Per Bothner
1584d0697d New hp300bsd port. 1992-02-17 20:08:20 +00:00
Per Bothner
9832e16cc3 * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
a full configuration (with possible cross-development),
	instead of using host-aout.c.
1992-02-17 20:04:21 +00:00
K. Richard Pixley
9a051b43a6 record that files were removed 1992-02-17 16:02:58 +00:00
K. Richard Pixley
542e1629fd fighting bitrot in a major way 1992-02-17 15:54:49 +00:00
Fred Fish
af21362450 When creating user defined types for subroutine and array types, check
first to see if a partial type already exists due to a forward reference,
and if so, bash it to fit.
1992-02-17 15:23:05 +00:00
Per Bothner
d17c317cfe Hack so it Sanitizes cleanly. 1992-02-16 22:42:44 +00:00
Per Bothner
adf441b919 * aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
	* gen-aout.c:  Change to emit a .c files, not a .h file.
1992-02-16 21:05:54 +00:00
Per Bothner
6f34472d93 * Makefile.in: Bump version to 1.96, and remove -beta
suffix from distribution name.
	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
	the signed value of a character (even if chars are unsigned).
	* sparc-pinsn.c:  Add new operand types.
1992-02-16 20:58:45 +00:00
Per Bothner
c3d97ef66b *** empty log message *** 1992-02-16 20:49:26 +00:00
Roland Pesch
e62b9411b5 Two typos fixed, spotted by Jim Irwin of WRS 1992-02-16 01:46:59 +00:00
Roland Pesch
195758fa2a Fix missing user-font lines in introductory example (spotted by J Irwin,
WRS).
1992-02-16 01:39:35 +00:00
Per Bothner
7e5c1057bb * Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
	by genscripts.sh and the *.sc-sh scipt generators.
	* config.h:  Remove a bunch of macros defining emulations
	and targets.  This becomes one less file to edit when
	adding emulations or targets.
	* ldemul.h (struct ld_emulation_xfer_struct):  Add
	emulation_name and target_name fields.
	* ldemul.c, ldemul.h:  Define some default functions used
	by most emulations (and remove from the *.em scripts).
	* ldemul.c (ldemul_choose_target):  Search the new
	ld_emulations array using a loop (instead of a hardwired
	nested if statement).
	Define the ld_emulation from the automatically-geenrated
	ldemul-list.h.  This means you no longer have to edit ldemul.c
	to add a new emulation.
	* ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
	their expansions, since the former no longer exist.
	* PORTING:  A very rough first draft of a porting guide.
1992-02-15 23:13:00 +00:00
Per Bothner
15c5ec2e27 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
	* config/mh-foo:  Rename LDEMULATION names as appropriate
	(usually 'gldfoo' -> plain 'foo').
1992-02-15 22:21:43 +00:00
Per Bothner
de566389ca Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* Each emulation is defined by a short shell script with
	extension *.sh that specifies the emulation-specific
	parameters (such as the name of the *.sh-sc and *.em
	files to use).
	* genscript.sh is the master shell script used to generate
	an emulation.  It is passed various argument, including
	the name a the emulation-speciic *.sh file that it
	"sources" to set variables to emulation-specifc parameters.
1992-02-15 22:13:53 +00:00
Per Bothner
6ecb2b74ee Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* generic.em replaces ldtemplate.
	* Other *.em files replace various *.c files.
	A *.em file is a shell script that generates the corresponding
	ld__*.c file that implements an emulation.  This is usually
	a straight 'cat' of a here-document, possibly with substitutions.
	* Script files (*.sc) are places by *.sc-sh scripts.
	Again, these are simple shell scripts that 'cat'
	here-documents, usually with some substitutions.
	The output a *.sc-sh is a script file.
1992-02-15 22:07:15 +00:00
K. Richard Pixley
3340f7e5fd White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1.  Get the declarations right in listing.[hc].
1992-02-15 21:13:03 +00:00
K. Richard Pixley
a87b326934 White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
1992-02-15 21:09:34 +00:00
Fred Fish
5b3fb53040 Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref. 1992-02-14 04:13:53 +00:00
Steve Chamberlain
d5cd3c0e3d pointer lint and tandem target. 1992-02-14 02:29:39 +00:00
Steve Chamberlain
a213432461 Fix typeo which crept in between compiling and checking in 1992-02-14 01:48:00 +00:00
Steve Chamberlain
a0f3f080c1 * coffcode.h (get_normalized_symtab): fixed bug where symbols
with more than one auxent can cause nasty core dumps.
1992-02-14 01:37:56 +00:00
Fred Fish
d35bf52d93 Fix code in elf_symtab_read which attempts to read the standard ELF
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).

Note to anyone doing any SVR4/gdb work.  This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library.  This
fix, along with one about to go into bfd's elf.c should fix that
problem.
1992-02-14 01:22:12 +00:00
Roland Pesch
0c5e345c0f Might as well keep the contents of the gas/doc subdir, as well as the
dir itself.
1992-02-14 00:28:22 +00:00