John Gilmore [Wed, 16 Oct 1991 18:57:16 +0000 (18:57 +0000)]
* 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.
Per Bothner [Wed, 16 Oct 1991 18:57:08 +0000 (18:57 +0000)]
* 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.
John Gilmore [Wed, 16 Oct 1991 18:56:07 +0000 (18:56 +0000)]
* 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.
K. Richard Pixley [Wed, 16 Oct 1991 09:15:29 +0000 (09:15 +0000)]
bumped to 1.90.1
K. Richard Pixley [Wed, 16 Oct 1991 08:56:25 +0000 (08:56 +0000)]
Shift positions on memory.h. Seems gcc has changed.
Roland Pesch [Wed, 16 Oct 1991 06:35:14 +0000 (06:35 +0000)]
* doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca)
Roland Pesch [Wed, 16 Oct 1991 06:32:57 +0000 (06:32 +0000)]
Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
instances of *name* in "Working Files" s.b. *file*.
Roland Pesch [Wed, 16 Oct 1991 06:27:06 +0000 (06:27 +0000)]
Another revision of "Installing" appendix, for GDB 4.2. Table of config
name segments now updated.
K. Richard Pixley [Wed, 16 Oct 1991 04:19:14 +0000 (04:19 +0000)]
typo in a comment.
Roland Pesch [Wed, 16 Oct 1991 03:13:36 +0000 (03:13 +0000)]
* doc/gdb.texinfo (appendix "Installing GDB"): changes in configure.
Roland Pesch [Wed, 16 Oct 1991 03:11:28 +0000 (03:11 +0000)]
Update appendix "Installing GDB". (not yet updated: list of host-vendor-os).
John Gilmore [Wed, 16 Oct 1991 02:14:39 +0000 (02:14 +0000)]
Further evolution. Remove hp-include pending real HP support.
John Gilmore [Wed, 16 Oct 1991 01:54:31 +0000 (01:54 +0000)]
Configure isn't here any more.
John Gilmore [Wed, 16 Oct 1991 01:45:32 +0000 (01:45 +0000)]
sparc-64 to sparc-ll
John Gilmore [Wed, 16 Oct 1991 01:42:56 +0000 (01:42 +0000)]
Remove configure and config.sub to ../
John Gilmore [Wed, 16 Oct 1991 01:10:42 +0000 (01:10 +0000)]
Convert dec3100 to decstation.
John Gilmore [Wed, 16 Oct 1991 01:08:08 +0000 (01:08 +0000)]
Remove include files to bfd/hosts.
John Gilmore [Wed, 16 Oct 1991 01:06:01 +0000 (01:06 +0000)]
* configure.in, tconfig/decstation, xconfig/decstation: Rename
dec3100 to decstation.
John Gilmore [Tue, 15 Oct 1991 23:41:17 +0000 (23:41 +0000)]
* hosts/h-amix.h (free): Fix prototype.
* aoutx.h: Don't use NULL as an integer, for braindead systems
that declare it as (void *)0. (From Peter Schauer.)
John Gilmore [Tue, 15 Oct 1991 23:29:34 +0000 (23:29 +0000)]
Changes from Fred Fish:
* tm-68k.h (FPI_REGNUM): Add.
* infrun.c (child_create_inferior): flush stdout and stderr
before forking.
* configure.in: Handle amigados, amix hosts and targets.
* inflow.c: Handle TIOCGLTC_BROKEN for Amiga.
From Andreas Schwab:
* values.c (show_convenience): Use printf_filtered.
* main.c (define_command): Check result of lookup_command for
exact match.
(echo_command): Use printf_filtered, and force output out.
* dbxread.c (read_enum_type): Avoid Modula-2 kludge that breaks C
programs.
* i387-tdep.c (double_to_i387): Fix typo for double_to_ieee_extended.
* utils.c (_initialize_utils): If !ISATTY, don't paginate.
John Gilmore [Tue, 15 Oct 1991 21:52:18 +0000 (21:52 +0000)]
* hosts/h-amix.h (free): Fix prototype.
Per Bothner [Tue, 15 Oct 1991 07:29:13 +0000 (07:29 +0000)]
Add hosts directory.
Per Bothner [Tue, 15 Oct 1991 06:57:32 +0000 (06:57 +0000)]
Initial revision
Roland Pesch [Tue, 15 Oct 1991 00:46:39 +0000 (00:46 +0000)]
* doc/gdb.texinfo
(nodes Continuing and Stepping; Memory; Targets) clarifications
due to Larry Breed
Roland Pesch [Tue, 15 Oct 1991 00:43:31 +0000 (00:43 +0000)]
Clarifications to "stepping", "Displaying Memory", and "Targets" due largely
to Larry Breed
Roland Pesch [Tue, 15 Oct 1991 00:38:11 +0000 (00:38 +0000)]
New targets as.mm, as.me
Roland Pesch [Tue, 15 Oct 1991 00:35:13 +0000 (00:35 +0000)]
New targets binutils.mm, binutils.me
Roland Pesch [Tue, 15 Oct 1991 00:31:56 +0000 (00:31 +0000)]
* Makefile.in: new targets ld.mm, ld.me
(more roff forms of doc)
Per Bothner [Tue, 15 Oct 1991 00:28:43 +0000 (00:28 +0000)]
* Makefile.in, ldtemplate: Need to use separate scripts
for -n and -N options. Yet more complication.
Per Bothner [Tue, 15 Oct 1991 00:24:03 +0000 (00:24 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): Try to handle the
various kinds of alignments for the various kinds of
magic numbers.
John Gilmore [Mon, 14 Oct 1991 21:56:44 +0000 (21:56 +0000)]
Revise to match config renaming.
John Gilmore [Mon, 14 Oct 1991 21:23:05 +0000 (21:23 +0000)]
Don't assume . is on the path.
Roland Pesch [Mon, 14 Oct 1991 20:36:50 +0000 (20:36 +0000)]
Catch up to changes recorded in GDB ChangeLog, to wit:
1) "show copying" and "show warranty" in sample output (instead of obs. "info")
2) new command "printpsyms"
3) Complaint "const/volatile indicator missing" re-enabled
4) Complaint "C++ type mismatch..." now "info mismatch..."
Roland Pesch [Mon, 14 Oct 1991 18:44:58 +0000 (18:44 +0000)]
Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile (as.ms): one more sed workaround for texi2roff
Roland Pesch [Mon, 14 Oct 1991 18:43:52 +0000 (18:43 +0000)]
as.ms (roff form of documentation) target in Makefile: add one more
sed editing pass, to preprocess the more elaborate form of xref now
used in this manual into the simpler form that texi2roff can deal
with.
John Gilmore [Sat, 12 Oct 1991 07:38:07 +0000 (07:38 +0000)]
Update for new bfd/hosts.
John Gilmore [Sat, 12 Oct 1991 07:19:13 +0000 (07:19 +0000)]
Assorted patches from Fred Fish, Peter Schauer.
John Gilmore [Sat, 12 Oct 1991 07:11:48 +0000 (07:11 +0000)]
* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file. Sugg. by Peter Schauer.
Per Bothner [Sat, 12 Oct 1991 06:43:01 +0000 (06:43 +0000)]
Fixed typo.
John Gilmore [Sat, 12 Oct 1991 06:28:15 +0000 (06:28 +0000)]
* copying.awk: Filter formfeeds out of copying & warrantee.
Make them available as `show copying' and `show warrantee' also.
John Gilmore [Sat, 12 Oct 1991 05:45:57 +0000 (05:45 +0000)]
* Makefile.in: Avoid Sun Make VPATH bugs.
* targets.c: Declare trad_core vectors extern.
John Gilmore [Sat, 12 Oct 1991 05:44:58 +0000 (05:44 +0000)]
Avoid Sun Make VPATH bugs by adding dependencies.
John Gilmore [Sat, 12 Oct 1991 05:42:05 +0000 (05:42 +0000)]
* Makefile.in: Avoid using $< in explicit Make rules (it doesn't
work). Add some lines to avoid Sun Make VPATH bugs.
Roland Pesch [Sat, 12 Oct 1991 01:20:38 +0000 (01:20 +0000)]
doc/as.texinfo: minor changes for texi2roff-2
Makefile.in: revise 'doc' target.
Roland Pesch [Sat, 12 Oct 1991 01:18:13 +0000 (01:18 +0000)]
*** empty log message ***
Roland Pesch [Sat, 12 Oct 1991 00:49:50 +0000 (00:49 +0000)]
Makefile: (1) include TEXINPUTS defn to point to texinfo.tex when calling tex
(2) new target as.ms (roff)
as.texinfo: sed-markers to make roff output pick up less-fancy form of
tables and illustrations (otherwise used by info, not TeX);
slight text chgs as workarounds for texi2roff bugs
Per Bothner [Fri, 11 Oct 1991 23:47:05 +0000 (23:47 +0000)]
* news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N
options. (These need different alignment than ZMAGIC files.)
* Makefile.in: Add stuff for new foo.xn scripts.
These are generated by replacing "ALIGN(0x...00)" by ".".
Roland Pesch [Fri, 11 Oct 1991 23:11:17 +0000 (23:11 +0000)]
* Makefile.in: add target "binutils.ms"
Roland Pesch [Fri, 11 Oct 1991 22:51:31 +0000 (22:51 +0000)]
Slightly better comments (re doc targets).
Roland Pesch [Fri, 11 Oct 1991 22:44:11 +0000 (22:44 +0000)]
* Makefile.in: new targets ld.ms, ld-index.ms
ld.texinfo: remove tabs, other cleanups for texi2roff
Roland Pesch [Fri, 11 Oct 1991 22:42:57 +0000 (22:42 +0000)]
Support for "ld.ms", "ld-index.ms" ROFF-style doc targets.
Per Bothner [Fri, 11 Oct 1991 21:02:22 +0000 (21:02 +0000)]
* ldmain.c (main): Make config.magic_demand_paged be true
by default. Don't the WP_TEXT and D_PAGED flags of
output_bfd here; it's too late, so set it when output_bfd
is created (in ldlang.c). Also fix setting of EXEC_P flag
* ldlang.c (ldlang_open_output): Set output_bfd->flags here.
* ldlang.c: Remove some duplicate extern declarations.
* ldgram.y: Fixes to -N and -n options.
* Makefile.in: Recognize upper case letters in sed script
to remove assignments from script files.
* ldtemplate: Don't assukme that -N or -n options
imply use of -r script.
* mkscript.c: Tweaking to correctly handle \n and \\ in input.
Per Bothner [Fri, 11 Oct 1991 20:45:29 +0000 (20:45 +0000)]
* coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.
* libbfd.h: Moved ALIGN macro here.
* bout.c (b_out_callback): Replace i960_align by align_power.
* libaout.h (struct aoutdata): Added fields page_size,
segment_size and exec_bytes_size. These help generic code
(in aoutx.h and libaout.h) to figure out where to align
the various segments in a demand paged file.
* libaout.h (WRITE_HEADER): Use new (struct aoutdata) fields
to decide if the exec header counts in a_text (text segment size).
Also, assume D_PAGED flag is set; don't set it here.
* bout.c (b_out_callback): Add initialization of
adata fields page_size, segment_size, and exec_bytes_size.
* host-aout.c (NAME(host_aout, callback) and
NAME(host_aout,mkobject): Ditto.
* i386aout.c (aout386_callback) and new aout386_mkobject): Ditto.
* newos3.c (newsos3_callback) and new newsos_mkobject): Ditto.
* aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto.
* aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract
EXEC_BYTES_SIZE from the a_test size; this is only appropriate
for some systems (mainly sunos), so do it in the callback instead.
Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment.
* aoutx.h (NAME(aout,set_section_contents): Change the way
filepos and size of sections are carried out to support
older styles of demand paged executables.
Roland Pesch [Fri, 11 Oct 1991 19:52:56 +0000 (19:52 +0000)]
* binutils.texinfo: minor restructuring for texi2roff comfort.
(said "makeinfo" rather than "texi2roff" by mistake in CVS log for binutils.
This one's right. Good thing, since this one's the distributed log...
Roland Pesch [Fri, 11 Oct 1991 19:50:14 +0000 (19:50 +0000)]
More literal adherence to "standard" texinfo usage of @tex, @title, @author,
etc., for makeinfo's comfort.
Steve Chamberlain [Fri, 11 Oct 1991 19:44:01 +0000 (19:44 +0000)]
* bfd.h:upgrade from bfd.c
* internalcoff.h: add n_name, n_zeroes and n_offset macros
* amdcoff.h: Define OMAGIC and AOUTHDRSZ.
Steve Chamberlain [Fri, 11 Oct 1991 19:39:29 +0000 (19:39 +0000)]
* bfd-in.h: Added more macros to COFF_SWAP_TABLE.
* bfd.c: Added macros to enable gas to swap coff records.
* coffcode.h: Make the coff_swap_*_out routines return the number
of bytes swapped, and cleaned up their prototypes.
* configure.in: Added ebmon/coff support
* ecoff.c: Changed null definitions of coff_swap_*_out to conform
to new prototypes
* targets.c: Added new entry points for coff swapping
Steve Chamberlain [Fri, 11 Oct 1991 19:32:25 +0000 (19:32 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 11 Oct 1991 19:32:24 +0000 (19:32 +0000)]
Initial revision
Steve Chamberlain [Fri, 11 Oct 1991 19:31:15 +0000 (19:31 +0000)]
* Makefile.in, config.h, configure.in, ldemul.c: added ebmon29k
stuff
Per Bothner [Fri, 11 Oct 1991 18:01:05 +0000 (18:01 +0000)]
* a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony.
* bfd.h (align_power): Add (actually move) comment.
Steve Chamberlain [Fri, 11 Oct 1991 17:30:20 +0000 (17:30 +0000)]
* ldtemplate: include bfd.h before sysdep.h.
Steve Chamberlain [Fri, 11 Oct 1991 16:50:53 +0000 (16:50 +0000)]
Added ebmon to os list
John Gilmore [Fri, 11 Oct 1991 12:48:25 +0000 (12:48 +0000)]
Remove refs to ../include/sysdep.h.
John Gilmore [Fri, 11 Oct 1991 11:54:33 +0000 (11:54 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
John Gilmore [Fri, 11 Oct 1991 11:47:48 +0000 (11:47 +0000)]
Add dgux as a valid OS. Add msdos as an invalid, but accepted, os.
John Gilmore [Fri, 11 Oct 1991 11:38:10 +0000 (11:38 +0000)]
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
John Gilmore [Fri, 11 Oct 1991 11:35:07 +0000 (11:35 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
* config/: Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
John Gilmore [Fri, 11 Oct 1991 11:30:12 +0000 (11:30 +0000)]
Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
John Gilmore [Fri, 11 Oct 1991 11:28:27 +0000 (11:28 +0000)]
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
John Gilmore [Fri, 11 Oct 1991 11:24:04 +0000 (11:24 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h: Move to bfd/hosts/h-*.h.
* configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in: Use -I. to get sysdep.h.
John Gilmore [Fri, 11 Oct 1991 11:22:25 +0000 (11:22 +0000)]
Use -I. to get sysdep.h.
John Gilmore [Fri, 11 Oct 1991 11:22:05 +0000 (11:22 +0000)]
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
John Gilmore [Fri, 11 Oct 1991 11:11:46 +0000 (11:11 +0000)]
Roll in some changes. Unlikely to compile yet.
John Gilmore [Fri, 11 Oct 1991 10:45:56 +0000 (10:45 +0000)]
Initial revision
John Gilmore [Fri, 11 Oct 1991 10:43:34 +0000 (10:43 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h: Move to bfd/hosts/h-*.h.
* configure.in: Revise to symlink sysdep.h to hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in: Use -I. to get sysdep.h.
* trad-core.c: Don't disable the whole file if SUN4_SYS.
* config/: Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h: Remove USG comment.
* hosts/h-rs6000.h: Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h: New config files that had
previously been kludged in the <sysdep.h> file.
John Gilmore [Fri, 11 Oct 1991 10:41:22 +0000 (10:41 +0000)]
* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h: Remove USG comment.
* hosts/h-rs6000.h: Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h: New config files that had
previously been kludged in the <sysdep.h> file.
John Gilmore [Fri, 11 Oct 1991 10:29:54 +0000 (10:29 +0000)]
Restructure configuration scheme for bfd, binutils, ld.
Use -I. to get sysdep.h.
John Gilmore [Fri, 11 Oct 1991 10:11:37 +0000 (10:11 +0000)]
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
John Gilmore [Fri, 11 Oct 1991 10:09:28 +0000 (10:09 +0000)]
Remove dead N_TXTOFF override.
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
John Gilmore [Fri, 11 Oct 1991 10:08:58 +0000 (10:08 +0000)]
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
Don't ever call trad_unix_core_file_p from here.
John Gilmore [Fri, 11 Oct 1991 04:51:42 +0000 (04:51 +0000)]
* Makefile.in: Rename XDEPFILES.
* trad-core.c: Document how to use it nowadays.
* i386aout.c, newsos3.c: Clean up.
* i386coff.c: Allow 386 coff files to be used as core files too
(for reading core files from embedded systems).
John Gilmore [Fri, 11 Oct 1991 00:27:41 +0000 (00:27 +0000)]
Read cross-core files on Mach 386.
K. Richard Pixley [Thu, 10 Oct 1991 11:59:25 +0000 (11:59 +0000)]
updating
K. Richard Pixley [Thu, 10 Oct 1991 10:43:30 +0000 (10:43 +0000)]
Decstation now croaks on multi-line assertions. eliminate them.
K. Richard Pixley [Thu, 10 Oct 1991 08:17:32 +0000 (08:17 +0000)]
new binary layout and cp/mv instead of INSTALL
K. Richard Pixley [Thu, 10 Oct 1991 07:10:42 +0000 (07:10 +0000)]
Initial revision
K. Richard Pixley [Thu, 10 Oct 1991 06:36:30 +0000 (06:36 +0000)]
New installed binary layout.
Per Bothner [Thu, 10 Oct 1991 05:44:37 +0000 (05:44 +0000)]
* nm.c (print_symbols): Handle NULL name field of symbol.
* Makefile.in: Removed spurious comment.
K. Richard Pixley [Thu, 10 Oct 1991 04:57:23 +0000 (04:57 +0000)]
* Die when sub-configure's do.
* get the makefile building message line correct.
* set -e
K. Richard Pixley [Thu, 10 Oct 1991 04:56:18 +0000 (04:56 +0000)]
Creating Makefile stubs in preparation for mips three-stage.
K. Richard Pixley [Thu, 10 Oct 1991 04:55:23 +0000 (04:55 +0000)]
Initial revision
K. Richard Pixley [Thu, 10 Oct 1991 01:08:04 +0000 (01:08 +0000)]
copy the old file to the new before cleaning it. This should
propogate mode bits like execute.
K. Richard Pixley [Thu, 10 Oct 1991 01:04:42 +0000 (01:04 +0000)]
Backed out the "/bin/sh config.sub" change. Fails when config.sub was
on PATH.
Roland Pesch [Thu, 10 Oct 1991 00:56:38 +0000 (00:56 +0000)]
Oops... forgot 1.9 -> 1.90 last time around...
Roland Pesch [Thu, 10 Oct 1991 00:48:05 +0000 (00:48 +0000)]
Warn 'ar q' doesn't update archive ST index.
K. Richard Pixley [Thu, 10 Oct 1991 00:38:08 +0000 (00:38 +0000)]
Call config.sub as "/bin/sh config.sub" instead of directly. This
protects us from the case where config.sub isn't executable.
John Gilmore [Thu, 10 Oct 1991 00:05:52 +0000 (00:05 +0000)]
* mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'. From Peter Schauer.
Per Bothner [Wed, 9 Oct 1991 20:40:37 +0000 (20:40 +0000)]
Added h8300hds.{c,sc}.
K. Richard Pixley [Wed, 9 Oct 1991 00:48:26 +0000 (00:48 +0000)]
Another patch from jim.