Commit Graph

1380 Commits

Author SHA1 Message Date
John Gilmore
30ff2d72e0 Remove malloc/free decls covered in stdlib.h. From David Taylor. 1991-10-22 00:49:54 +00:00
Steve Chamberlain
33a782f1d2 * coffcode.h (coff_compute_section_file_positions): make it pad
section size out if there are alignment restrictions so that the
	image will be ok on a system where section positions are worked
	out by accumulating sizes rather than from the section headers.
1991-10-21 23:58:49 +00:00
Steve Chamberlain
065114de7b Make sure that 29k relocs are done right. 1991-10-21 22:57:31 +00:00
Steve Chamberlain
14dd454bea Changed minimum section alignment 1991-10-21 22:55:06 +00:00
John Gilmore
16871f331b Check for any remaining mentions of "sanitize" in files at this level,
after completing a Sanitize run.
1991-10-21 22:15:19 +00:00
John Gilmore
320e1b8638 Handle "life" sanity, which Tiemann half-implemented in config.sub. 1991-10-21 22:10:13 +00:00
Steve Chamberlain
6d984a0c18 *** empty log message *** 1991-10-21 19:56:47 +00:00
Steve Chamberlain
605cd2a3fd ebmon stuff 1991-10-21 19:53:31 +00:00
Steve Chamberlain
44e4e473f8 * configure.in: added ebmon target. 1991-10-21 17:06:59 +00:00
Steve Chamberlain
7e3091046d * nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
1991-10-21 16:48:10 +00:00
Steve Chamberlain
a0788ae38f *** empty log message *** 1991-10-21 16:46:41 +00:00
Steve Chamberlain
f58809fd41 * targets.c (proto write_armap). Changed orl_count to unsigned.
* opncls.c (bfd_close_all_done). Added so that generative
	programs like gas can close a bfd without causing bfd confusion.
	* libbfd.h (changed becuase of protos)
	* amdcoff.c: messed with the way that jmp displacements are
	calcualated. This may not yet be totally correct.
	* archive.c (coff_write_armap): rewrote the way that ranlibs are
	written out.
	* coffcode.h (fixup_symbol_value): now doesn't core dump if a non
	abs symbol has no section (like a register symbol).
	(coff_write_symbol) now zeros auxent before filling it up to help
	with sensitive applications.
	* libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-21 16:42:54 +00:00
Steve Chamberlain
7955ad1c4d * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now
1991-10-21 16:32:10 +00:00
Steve Chamberlain
5757497917 * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now.
1991-10-21 16:31:47 +00:00
Steve Chamberlain
6352cb8fbd Initial revision 1991-10-21 16:31:43 +00:00
Steve Chamberlain
8a24a37c7e * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* config/tc-a29k: added the reloc types we support now
1991-10-21 16:29:54 +00:00
Per Bothner
35c90743a0 Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
1991-10-17 22:31:26 +00:00
John Gilmore
b1dcd6ac3f Final touchups for release 1991-10-17 06:51:00 +00:00
John Gilmore
b271fff21f * hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.
* hosts/h-i386v.h:  Use <utime.h>, not <sys/utime.h>, unlike POSIX.
1991-10-17 06:04:35 +00:00
John Gilmore
785ce19c33 More last minute gdb-4.2 changes. 1991-10-17 05:58:34 +00:00
John Gilmore
b53d3945ed * coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab):  Avoid coredump on malformed file.
* printcmd.c (print_formatted):  Flush output before disassembly.
* xm-mips.h:  Update KERNEL_U_ADDR for new scheme.  Cleanup a bit.
1991-10-17 05:57:51 +00:00
John Gilmore
c5a475c86d * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe:  Add REGEX, which seems to be missing.
1991-10-17 05:57:02 +00:00
Roland Pesch
9e0906a6b2 *** empty log message *** 1991-10-16 22:11:28 +00:00
Roland Pesch
092678655c More updates due to Picard refcard comments. 1991-10-16 22:08:33 +00:00
John Gilmore
a3ae208f8a sparc-64 to sparc-ll 1991-10-16 21:41:27 +00:00
John Gilmore
a1b8c5d69d GDB-4.2 release!
* Makefile.in:  Roll VERSION to 4.2.

* tm-i386v.h:  #endif guck.
* xconfig/i386*:  Remove -Dgetpagesize()=4096 kludge.
1991-10-16 21:02:31 +00:00
John Gilmore
1c0678213e * aout64.h: Remove PAGE_SIZE defines; they are target-dependent.
Add N_FN_SEQ for N_FN symbol type used on Sequent machines.
* stab.def:  Include N_FN_SEQ in table.
* bout.h:  External formats of structures use unsigned chars.
1991-10-16 20:35:06 +00:00
Roland Pesch
e0dacfd17a Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
1991-10-16 20:00:20 +00:00
Per Bothner
314f3eeda3 * archive.c (bsd_write_argmap): The size of the ranlib structures
should not include teh size field itself.
	* aoutx.h, libaout.h (NAME(aout, sizeof_headers)):  Use
	adata(abfd)->exec_bytes_size field instead of constant macro,
	because aoutx.h compiles to a simple .o file shared by
	all 32-bits a.out targets.
1991-10-16 19:50:08 +00:00
John Gilmore
45e6027024 * core.c (core_open): Improve error message for bad file.
Pass .reg virtual memory address to fetch_core_registers to help
it find the registers in the core-file header.
* coredep.c (fetch_core_registers):  Take new argument, use it,
and pass it to register_addr to locate the block of registers.
1991-10-16 19:42:05 +00:00
John Gilmore
a13f8a2f23 Remove -Dgetpagesize()=4096 kludge. 1991-10-16 19:41:34 +00:00
Per Bothner
3410447c4a Add copright notice to mkscript.c as well. 1991-10-16 19:41:33 +00:00
Per Bothner
2d1a2445ff Add or update copyright notices. 1991-10-16 19:39:40 +00:00
John Gilmore
6150cc735f * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
1991-10-16 19:38:56 +00:00
John Gilmore
282effc79f Allow i386-sco-sysv.
Updates from my internet testing for gdb-4.2.
1991-10-16 18:59:59 +00:00
John Gilmore
0fa4f690d6 * host-aout.c: New strategy. We use common code, include files,
and data structures to handle the file, but set a few parameters
from the host's config file (page size, text start addr, etc).
* libaout.h:  Define HP BSD machine types.
1991-10-16 18:57:16 +00:00
Per Bothner
d8474a9bc1 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
	* strip.c: Add or update Copyright notice.
	* TODO:  Add note on 'nm -a'.
	* version.c: Update version number to 1.90.
	* Makefile.in: Fix making of documentation for dist.
1991-10-16 18:57:08 +00:00
John Gilmore
637942e4db * trad-core.c: Pass the u.u_ar0 value as the negative of the
virtual-memory-address of the .reg section.  We can't just make a
section for "all the regs and nothing else" because only GDB knows
exactly where the regs are (scattered around the upage and stack).
Clean up memory allocation.  Remove big- and little-endian
vectors, replace with single vector; this only runs on the host,
in host byte order.  Replace byteswap routines with aborts in case
anyone calls them.
* targets.c:  There's only one trad_core_vec now.
* aoutf1.h (sunos_core_file_p):  VMA of .reg* now needs to be 0.
1991-10-16 18:56:07 +00:00
K. Richard Pixley
492e557236 bumped to 1.90.1 1991-10-16 09:15:29 +00:00
K. Richard Pixley
d93912533e Shift positions on memory.h. Seems gcc has changed. 1991-10-16 08:56:25 +00:00
Roland Pesch
5dfddc7fc6 * doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca)
1991-10-16 06:35:14 +00:00
Roland Pesch
d9800dbbf3 Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
instances of *name* in "Working Files" s.b. *file*.
1991-10-16 06:32:57 +00:00
Roland Pesch
e251e76736 Another revision of "Installing" appendix, for GDB 4.2. Table of config
name segments now updated.
1991-10-16 06:27:06 +00:00
K. Richard Pixley
7c15cbe814 typo in a comment. 1991-10-16 04:19:14 +00:00
Roland Pesch
93ae2e889a * doc/gdb.texinfo (appendix "Installing GDB"): changes in configure. 1991-10-16 03:13:36 +00:00
Roland Pesch
c7637ea643 Update appendix "Installing GDB". (not yet updated: list of host-vendor-os). 1991-10-16 03:11:28 +00:00
John Gilmore
3dfb315ebd Further evolution. Remove hp-include pending real HP support. 1991-10-16 02:14:39 +00:00
John Gilmore
7ff46684f8 Configure isn't here any more. 1991-10-16 01:54:31 +00:00
John Gilmore
52bcb9e3ca sparc-64 to sparc-ll 1991-10-16 01:45:32 +00:00
John Gilmore
7534367a51 Remove configure and config.sub to ../ 1991-10-16 01:42:56 +00:00