Fred Fish [Wed, 1 Jan 1992 12:32:19 +0000 (12:32 +0000)]
Makefile.in: Change tm-svr4.h to tm-sysv4.h. Change xm-svr4.h
to xm-sysv4.h. Split OPCODE_DIR into OPCODE_DIR1 and OPCODE_DIR2
to reflect actual locations of opcode files, so TAGS target will
be buildable.
i386-tdep.c: Change an erroneous 'm68k' reference to 'i386'.
Fred Fish [Sat, 28 Dec 1991 06:27:24 +0000 (06:27 +0000)]
Many small changes to procfs.c to add base support for a new "info proc"
command that prints /proc specific information, changes to solib.c to
allow more flexible handling of finding the dynamic linker structures,
changes to utils.c and defs.h to add a new null_cleanup() function to
serve as an anchor point for cleanup chains with no obvious "first
cleanup".
Per Bothner [Fri, 27 Dec 1991 21:11:37 +0000 (21:11 +0000)]
More changes, mostly cleanups from the last set.
Made some more progress in removing duplicate assembly opcode files.
More improvements to how mipsread and to a lesser extent dbxread work.
See the ChangeLog for details.
Fred Fish [Mon, 23 Dec 1991 03:44:49 +0000 (03:44 +0000)]
* config/mh-amix, config/mh-i386v4: Change to find alloca by
compiling and linking alloca.c, even when it is not strictly
required. Also arrange to link with -ltermlib rather than -ltermcap.
Fred Fish [Mon, 23 Dec 1991 03:43:48 +0000 (03:43 +0000)]
* solib.c (locate_base): Fix uninitialized variable that was
causing return of random value to callee.
* config/mh-amix, config/mh-i386v4: Change to find alloca by
compiling and linking alloca.c, even when it is not strictly
required. Also arrange to link with -ltermlib rather than
-ltermcap.
* Makefile.in: Move TERMCAP definition to prior to inclusion
of host makefile fragments so it can be overridden.
Fred Fish [Fri, 20 Dec 1991 19:48:13 +0000 (19:48 +0000)]
Set XM_CLIBS to "-lc /usr/ucblib/libucb.a" so native compilers can find
alloca, but only if it is not found in the std C library. Also forces
libc to be search before libucb.a, which contains much broken stuff we
*don't* want.
* archive.c (normalize): created version for VMS which removes the
VMS directory crap from the front and end of a filename, eg turn
[-.foo]bar.obj;123 into bar.obj
(bfd_construct_extended_name_table): now writes index into an
extended name table in decimal - the same base used to read an
extended name table.
Fred Fish [Mon, 16 Dec 1991 20:57:28 +0000 (20:57 +0000)]
Numerous small changes and a complete reorganization of solib.c, to support
SVR4 shared libraries in a manner very close to the original SunOS support.
See the ChangeLog for details.
* remote-eb.c: Change timeout to 24 seconds (*10 fits in byte)
to account for slow loading from floppies.
(eb_create_inferior): New fn, from eb_start and
nindy_create_inferior.
(eb_close): Only use log_file if nonzero.
(eb_xfer_memory): If not writing, then read!
(eb_read_inferior_memory, eb_write_inferior_memory): Return length.
(eb_kill): A new no-op.
(eb_mourn_inferior): Remove breakpoints, then generically weep.
Fred Fish [Sat, 14 Dec 1991 00:13:05 +0000 (00:13 +0000)]
Fix miscellaneous comparisons of integer with NULL that elicit compiler
warnings about comparisons of integer with pointer when NULL is defined
as ((void *) 0) rather than just a bare 0.
Roland Pesch [Fri, 13 Dec 1991 21:26:18 +0000 (21:26 +0000)]
More improvements in handling make from remote objdirs:
- remove inappropriate use of unsubdir (worked only accidentally)
- make gdbVN.m4 generation work from remote objdir too;
- fix bug in handling of readline appendices for roff translations
- let GDB internals have the right val of TEXINPUTS for remote format, too
removed -ansi and -languages options from configure, added
configure.texi (a work in progress), configure.man (a terse first
cut), build configure.info and install man page.
* config/obj-coffbfd.c: lint, don't fixup relocs if H8300, use
tc_reloc_mangle to prepare relocation if one available
* config/tc-h8300.h: added tc_reloc_mangle routine
Added macros for the 'type' part of an fopen, freopen or fdopen.
<Read|Write>[Update]<Binary file>|<text file>
eg:
fopen("foo", FOPEN_WB) to open for writing binary. Usefull for vms,
dos and who knows what else.