* 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.
* makefile.dos, configdj.bat: New files from DJ
* cache.c: fopen with "b" is needed for DOS.
* ieee.c: environ renamed to envi to stop an include file
conflict.
* opncls.c: more fopens with "b"
Roland Pesch [Tue, 10 Dec 1991 02:42:26 +0000 (02:42 +0000)]
Massage new readline appendix so texi2roff can understand markup
(text uses new @ftable command which texi2roff-2 doesn't grok)
for gdb.mm, gdb.me, gdb.ms targets
Michael Tiemann [Mon, 9 Dec 1991 05:20:14 +0000 (05:20 +0000)]
Integrated quick fixes to C++ handling of static member functions and
stub methods. These changes are not complete in that a better
implementation will be more maintainable, but they make it possible to
debug groff with GDB.
Fred Fish [Sun, 8 Dec 1991 02:24:21 +0000 (02:24 +0000)]
Fix a problem on i386 systems where buffered code stream access was failing
to take into account the minimum size granularity of the code section. For
now, the buffering is simply disabled until it can be done right.
There is still a similar problem in the i386 disassembly code for locations
within 20 bytes of the end of the code segment.
* ldindr.h: added to contain prototypes of ldindr.c
* ldfile.c: include ctype.h
* ldmain.c: include the requried prototype headers
* ldwrite.c: get_reloc_upper_bound has been renamed
bfd_get_reloc_upper_bound
* bucomm.h: created to hold prototypes of bucomm.c
* objdump.h: created to hold prototyes of objdump.c
* am29k-pinsn.c: include objdump.h
* ar.c: include bucomm.h, get ar.h from the right place and
include libbfd.h
* bucomm.c: defunize bfd_fatal
* copy.c: include bucomm.h, lint.
* i960-pinsn.h: include bucomm.h
* m68k-pinsn.h: lint
* nm.c: include bucomm.h, lint
* objdump.c: lint
* sparc-pinsn.c: include objdump.h