Commit Graph

1613 Commits

Author SHA1 Message Date
Steve Chamberlain
b773e0e582 uses __inline for now for gcc 1991-11-12 04:26:12 +00:00
Fred Fish
285b1325d9 Remove coredep.o from XDEPFILES. The fetch_core_registers() function is
now found in procfs.c for hosts with /proc support.
1991-11-12 03:26:13 +00:00
Fred Fish
fb18285098 Minor rewording of message containing name of program that generated a
core file (core.c), permanently remove the register_addr() stub (elfread.c),
move a misplaced #endif (procfs.c), and add fetch_core_registers func for
core file support (procfs.c).
1991-11-12 03:23:32 +00:00
Fred Fish
4807bcf9a3 Additions to support ELF formatted core files. 1991-11-12 03:12:26 +00:00
Fred Fish
d6fee23897 Add support for ELF note sections, which are used in ELF core files to
hold copies of various /proc structures at the time of the core dump.
1991-11-12 03:06:05 +00:00
Per Bothner
1c9e4b1512 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
parameter, a format, and an arg pointer, and rename it to
	vfinfo().  Write info() in terms of new vfinfo().
	New einfo() is the same as info(), except it writes to stderr.
	* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
	ldmisc.c:  Replace "error" calls to info() by new einfo().
1991-11-12 03:03:42 +00:00
Per Bothner
ff7ce1700b * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
of two N_SO stabs, one for directory, and one for filename.

	* bfd-in.h (print_vma):  Factor out duplicate definition.

	Exit a little more gracefully when malloc returns NULL.
	* libbfd.c: New function bfd_xmalloc (malloc wrapper).
	* opncls.c, syms.c, bout.c, aoutx.h:  Replace malloc by bfd_xmalloc.
	* libbfd.h: Rre-generated due to libbfd.c update.
1991-11-12 02:46:26 +00:00
Steve Chamberlain
6690d8299d Added tc-sparc.c 1991-11-11 23:36:39 +00:00
Steve Chamberlain
35350222a8 Added MINUS_G flag, now debugging can be turned off 1991-11-11 19:23:24 +00:00
Steve Chamberlain
550e87b54d * ldlex.l ldgram.y: made -V option do same as -v
* Makefile.in: Added $(MINUS_G) flag so debugging can be
turned off
1991-11-11 17:59:52 +00:00
Steve Chamberlain
f79edb02ab Added the $(MINUS_G) flag so that debugging can be turned off 1991-11-11 17:51:21 +00:00
K. Richard Pixley
fb6604097b add GCCVERBOSE flag for debugging 1991-11-11 10:17:11 +00:00
Fred Fish
b662efeddc Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.
1991-11-09 21:57:55 +00:00
Fred Fish
f135f137a9 Document use of elf_big_vec as DEFAULT_VECTOR. 1991-11-09 21:51:52 +00:00
Fred Fish
a6c1d73165 Don't try to create a bfd section for the first ELF section header table
entry, since it is just a placeholder with no name.
1991-11-09 21:48:15 +00:00
Fred Fish
8aca810c2a Re-enable compilation of register_addr() stub whenever it is not supplied
by coredep.c, since it is referenced by fetch_core_registers().  This is
still a temporary kludge.
1991-11-09 21:43:47 +00:00
K. Richard Pixley
3bb089aa0c correct a comment 1991-11-09 11:34:52 +00:00
K. Richard Pixley
0cc03f79a8 thin out directories actually created 1991-11-09 11:34:34 +00:00
John Gilmore
cd8fc40013 Modernize, add sysdep-*.h files 1991-11-09 11:32:52 +00:00
John Gilmore
5f4a039a21 * configure.in: Make a link for sysdep.h. Specify commontargets.
* sysdep-norm.h:  The usual alloca declarations.
* sysdep-aix.h:  What AIX 3.1 on RS/6000 needs for alloca.
* history.c, readline.c:  Use sysdep.h.
1991-11-09 11:24:36 +00:00
John Gilmore
51493cdb63 Initial revision 1991-11-09 11:24:32 +00:00
John Gilmore
19405dda98 Remove Rs/6000 changes (patch_block_stabs) so it will link without. 1991-11-09 11:16:47 +00:00
John Gilmore
285dbe1917 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h:  Define FASCIST_FDOPEN for bfd_fdopenr.
1991-11-09 11:13:02 +00:00
John Gilmore
00a76e06c9 Define FASCIST_FDOPEN. 1991-11-09 11:11:09 +00:00
John Gilmore
1d82d3dcad More changes for objfiles. 1991-11-09 11:01:08 +00:00
John Gilmore
a048c8f537 Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.  See ChangeLog.
1991-11-09 10:50:07 +00:00
John Gilmore
c466820795 Lint and some rs/6000 port. 1991-11-09 07:45:36 +00:00
Steve Chamberlain
bb5ae298fc Now runs write_armap, even when listing contents. 1991-11-09 01:07:40 +00:00
Steve Chamberlain
66f3e59427 Fixed bug printing 29050 instructions. 1991-11-09 00:13:31 +00:00
Roland Pesch
203eea5d62 Format improvements, mostly for @smallbook (including reformatted table
of config options).
1991-11-08 20:57:43 +00:00
Steve Chamberlain
c4a6d8f12a Remove spurious echo 1991-11-08 05:59:52 +00:00
Steve Chamberlain
e31bed36c6 Put .comments into .data section, otherwise 88k can't exec the image. 1991-11-08 05:55:19 +00:00
Steve Chamberlain
b715d5b4aa * Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.
1991-11-08 02:58:01 +00:00
Steve Chamberlain
0c5e9c7582 Only has -DSYSV now 1991-11-08 02:51:27 +00:00
Steve Chamberlain
b92c774e39 * m88k-xdep.c: Fixed the register offsets in the ptrace_user
struct for BCS 88k machines.
	* xm-m88k.h: don't define USIZE if already defined.
	* configure.in: Added delta88 target.
1991-11-08 02:28:35 +00:00
Steve Chamberlain
12f2fd9f1f Fixed S?IP_OFFSETs for the Motorola Delta 88. 1991-11-08 02:22:46 +00:00
Steve Chamberlain
8c7ae4a273 Added delta88 cases 1991-11-08 02:20:29 +00:00
Steve Chamberlain
de94d3dadc #ifndef USIZE
around #define USIZE
1991-11-08 02:18:49 +00:00
Steve Chamberlain
557f4de774 Include coff-m88k.h rather than m88kbcs.h 1991-11-08 02:17:43 +00:00
Steve Chamberlain
887b336397 Install ld into ddestdir/bin. 1991-11-08 02:16:19 +00:00
John Gilmore
1bf068b8a0 Fix decoding of mtacc, dmac, fmac. These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.
1991-11-08 01:50:51 +00:00
Roland Pesch
c8072296ee Smallbook format fixes. 1991-11-08 01:46:38 +00:00
Sean Eric Fagan
5b15f3ad7a Initial revision 1991-11-08 01:17:18 +00:00
K. Richard Pixley
02f25e46a6 fixed for objdir/subdirs 1991-11-08 00:54:27 +00:00
Roland Pesch
ec34e28bb4 Fix missing brackets, parens, discovered during man-page conversion. 1991-11-08 00:31:44 +00:00
K. Richard Pixley
84396dcf34 install man pages too 1991-11-08 00:14:07 +00:00
K. Richard Pixley
51e2358ba9 get version from the right place 1991-11-08 00:13:45 +00:00
K. Richard Pixley
4c27527f1c rework install-dirs, add install-no-fixinclude 1991-11-08 00:08:14 +00:00
Steve Chamberlain
9c5a678a42 Initial revision 1991-11-07 23:37:54 +00:00
Steve Chamberlain
6255589afd Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
* internalcoff.h: took out the M88 dependency in the lineno
	struct.
	* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
	32bit linno entries.
	* a29k-opcode.h: fixed encoding of mtacc
1991-11-07 19:08:56 +00:00