Mon Nov 11 20:50:29 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: Use the MINUS_G no-debug convention
* readline.c: (many_places) move all the declarations of rindex to
only one place, to reduce the number of warnings it makes.
Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: standardize on MINUS_G to disable debugging
* coff-m88k.c: create coff armaps instead of bsd ones.
* opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
when calling chmod.
Fred Fish [Tue, 12 Nov 1991 03:23:32 +0000 (03:23 +0000)]
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).
Per Bothner [Tue, 12 Nov 1991 03:03:42 +0000 (03:03 +0000)]
* 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().
Per Bothner [Tue, 12 Nov 1991 02:46:26 +0000 (02:46 +0000)]
* 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.
Fred Fish [Sat, 9 Nov 1991 21:43:47 +0000 (21:43 +0000)]
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.
John Gilmore [Sat, 9 Nov 1991 11:24:36 +0000 (11:24 +0000)]
* 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.
John Gilmore [Sat, 9 Nov 1991 11:13:02 +0000 (11:13 +0000)]
* 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.
John Gilmore [Sat, 9 Nov 1991 10:50:07 +0000 (10:50 +0000)]
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.
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
Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
manipulation of lnno fields in lineno structs in a coff-<f>.h
independent way. Override it in coff-<f>.h to your favourite
number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
(coff_swap_lineno_out): modified to use the new macros.
John Gilmore [Thu, 7 Nov 1991 13:14:59 +0000 (13:14 +0000)]
* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD. Still
remaining is COFF_NO_LONG_FILE_NAMES.
* tm-sun3.h, tm-altos.h: Remove detritus accidentally left from
function calling code moved to m68k-tdep.c.
John Gilmore [Thu, 7 Nov 1991 01:27:46 +0000 (01:27 +0000)]
* coffread.c: Eliminate c_nsyms in favor of c_naux.
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos): Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.